Aspxgridview rowupdating combobox

posted by | Leave a comment

I couldn't find anything in Dev Express forums about this problem.

Now i do it in a function: Example: Row Validating / Row Inserting / Row Updatingselected Text Valuefrom Grid View Data Combo Box Column(sender,"My Field",e.

Here is a specific example: I have a master grid which shows companies.

This grid has a detail grid which shows departments belonging to these companies.

ASPx Grid View Edit Form Event Args e) protected void gv Card Station Operator_Row Deleting(object sender, Dev Express.

ASPx Data Updating Event Args e) protected void cb Station_Callback(object sender, Dev Express.

这该死的ASPx Drop Down Edit,老是不能很好的解决问题,花了一天都没有解决。刚才重游了一次 dev Expree的官网,找到了传说中的解决方案:原来官方不提创使用ASPx Drop Down Edit,而是极力推荐 Combo Box。 解决方案如下: 1,html前台代码 注意:关键在于 sql Data Source, Field Name, Text Field, Value Field, Key Field Name // form_load中的 if(! Is Post Back) // 省略号的部分包括以下内容 s SQL = "select [App ID],[App Name] from [sys App]"; sql Data Src App.

Create the actual function the event will call as shown below - and here is the tricky part; do not use Get Focused Row Index() to get the index because it is the FOCUSED index.

One is the master grid, the other ones are detail grid connected with primary/foreign key.

Leave a Reply

dating for people with depression