I have a grid with a formtemplate. Inside the formtemplate I have a DropDownList that has set AutopostBack="true" and OnSelectedIndexChanged="something". The DropDownList is inside an updatepanel. In the code behind, in RadGrid1_UpdateCommand, I check if the dropdownlist's SelectedIndex > 0. If not, The UpdateCommand should be terminated (I am using editedItem.Edit = true).
When I play around with the DropDownList several times, set the SelectedIndex to 0, click on the UpdateCommand button, and then again selects for instance index 1 in the DropDownList, a full postback on the page is done, without clicking the UpdateCommand button.
Any ideas?
When I play around with the DropDownList several times, set the SelectedIndex to 0, click on the UpdateCommand button, and then again selects for instance index 1 in the DropDownList, a full postback on the page is done, without clicking the UpdateCommand button.
Any ideas?