Hello Sir, I am using Infragistic Netadvantage for .NET 2007 Vol 3 CLR 2.0 In Ultrawebgrid i m using template column for dropdownlist I find the control but not able to get selected value for that dropdownlist
If i use ultrawebgrid column(not templated column) including type Dropdownlist that control is not visible at run time
Can u suggest me any solution for that Thanks in advanceSonal
Hello Sonal,
Once you get the instance of the dropdownlist, you just need to cast it back to DropDownList object and then inspect the SelectedValue / SelectedIndex property.
If this does not match the selected value / index, then most probably this is a page life-cycle issue. Typically problems like this mean that you are rebinding the grid prior to checking its value. Rebinding the grid clears all its state, including the state of nested controls. Please, make sure that you are not rebinding the grid prior to checking the values of the dropdownlists. Also, please take into account the rebinding might occur implicitly if you are using the InitializeDataSource event.