Hi,
We use related combos similar to the way it has been shown at the following link.
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx
We also have RadAjaxManager present on each page.
Now, I initiate javascript call "myCombo.requestItems(text, null)" . This performs perfectly and provide me updated combo.
But part from above process , my other requirement is setting up a hidden field on server side inside myCombo_ItemsRequested(object o , eventargs e) {}. For this I have tried,
1) setting hidden field directly , but when I check its value in javascript function OnClientsideItemsRequested() of same myCombo, then the value is not updated with server change. I also have this hidden field as updated control items of myCombo in
Rad ajax manager.
2) Thinking that this request will only update myCombo and not any other fields / controls. Instead of updating hidden field , I added an attribute to mycombo on server side and then check that attribute on client side. But I was also not able to fetch that attribute too on client side.
Function initiated from : myCombo.requestItems(text, null);
Server side function : myCombo_ItemsRequested(...)
Client side function: myComboOnItemsRequested(...)
Please suggest a way by which I can process any field or same combo in server side and use the updated value on client side.
Let me know if any other info is required.,
Thanks
We use related combos similar to the way it has been shown at the following link.
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx
We also have RadAjaxManager present on each page.
Now, I initiate javascript call "myCombo.requestItems(text, null)" . This performs perfectly and provide me updated combo.
But part from above process , my other requirement is setting up a hidden field on server side inside myCombo_ItemsRequested(object o , eventargs e) {}. For this I have tried,
1) setting hidden field directly , but when I check its value in javascript function OnClientsideItemsRequested() of same myCombo, then the value is not updated with server change. I also have this hidden field as updated control items of myCombo in
Rad ajax manager.
2) Thinking that this request will only update myCombo and not any other fields / controls. Instead of updating hidden field , I added an attribute to mycombo on server side and then check that attribute on client side. But I was also not able to fetch that attribute too on client side.
Function initiated from : myCombo.requestItems(text, null);
Server side function : myCombo_ItemsRequested(...)
Client side function: myComboOnItemsRequested(...)
Please suggest a way by which I can process any field or same combo in server side and use the updated value on client side.
Let me know if any other info is required.,
Thanks