Hello,
I have created an ultrawebgrid with 2 dropdowns inside 2 of its columns.
i want to relate the first dropdown with the second that is, when i press one element of the 1st dropdown the second must be updated and show the values corresponding to the element selected in the 1st dropdown.
This means i have to catch somehow the event of the first and post it to the second. Can someone help me doing that in C#?
Thanks in advance....
I've seen this question before, but it may have been in the old version of the forums. Assuming you've already searched this forum, try searching:
[EDITED] http://forums.archive.infragistics.com/
Hello WanbatEd,
I have also the same requirement wat the gstak want, but in VB, i tried by setting the dropdownlist property autopostback= "true", but it doesnt postback.
The link which u given is not working.
Thxs in advance.
--
Pradeep
You could try with the UpdateCell event.. then see if the updated cell belongs to the first column and then get it's value to send it as a parameter for the function that handles whatever you want.
grid1_UpdateCell(object sender, CellEventArgs e)
{
UpdateValueOnSecondColumn(e.Cell.Value);
}
Yes, UpdateCell event is the only way to load your second dropdownlist. Use the above metioned code for load second dropdown.
/Mamun