consider the following case:
I have a RadGrid in an ascx page, lets call it "Outer Grid".
I set EditMode="EditForms" for this RadGrid, and in the EditFormSetting tag I set EditFormType="WebUserControl".
also I set UserControlName to point to another ascx page that holds 3 RadComboBox's, a TextBox and a Button, lets call it "The Form".
when I click on a row of the "Outer Grid", it is changed to Edit Mode and expands so that "The Form" is shown with values from the DB.
The bound data of 2 of the RadComboBoxe's in "The Form" are dependent on the selected value of the third one, so I set an "onSelectedIndexChanged" handler to that RadComboBox, and changes the bound data to the other 2.
now for my problem:
the thing is that on every indexChanged of the 3rd RadComboBox, "The Form" is loaded with values from the DB, and when it gets to the handler, I cant tell what is the new selected item.
any super easy solution for me?
thanks,
gili.
I have a RadGrid in an ascx page, lets call it "Outer Grid".
I set EditMode="EditForms" for this RadGrid, and in the EditFormSetting tag I set EditFormType="WebUserControl".
also I set UserControlName to point to another ascx page that holds 3 RadComboBox's, a TextBox and a Button, lets call it "The Form".
when I click on a row of the "Outer Grid", it is changed to Edit Mode and expands so that "The Form" is shown with values from the DB.
The bound data of 2 of the RadComboBoxe's in "The Form" are dependent on the selected value of the third one, so I set an "onSelectedIndexChanged" handler to that RadComboBox, and changes the bound data to the other 2.
now for my problem:
the thing is that on every indexChanged of the 3rd RadComboBox, "The Form" is loaded with values from the DB, and when it gets to the handler, I cant tell what is the new selected item.
any super easy solution for me?
thanks,
gili.