Hello Telerik
I try to cancel the postback from combo box onselectedindexchange, because for some value I need post back and some not.
What I m doing is :
in ajax OnInitializeRequest event I do:
I try to cancel the postback from combo box onselectedindexchange, because for some value I need post back and some not.
What I m doing is :
in ajax OnInitializeRequest event I do:
args.set_cancel(true);
This does stop the post back but the problem is it also stops all combo boxes in the page! the drop down of the combo box can not dispay.
Any idea on this?
Regards,
Elton
5 Answers, 1 is accepted
0
Hi Elton,
What about hooking on the OnClientSelectedIndexChanging event of the combobox and canceling the event there by calling the event arguments' set_cancel(true) method? This will stop the postback.
Hope this helps.
Regards,
Nick
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
What about hooking on the OnClientSelectedIndexChanging event of the combobox and canceling the event there by calling the event arguments' set_cancel(true) method? This will stop the postback.
Hope this helps.
Regards,
Nick
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Maxim
Top achievements
Rank 1
answered on 02 May 2008, 04:52 PM
I have similar problem. Once post back start the drop down box can no longer be accessed. The auto complete feature works but drop down list no where to be found. This only happens on certain system not sure why.
0
Rory
Top achievements
Rank 1
answered on 04 May 2008, 05:47 AM
I have the same issue with a RadComboBox inside a WebUsercontrol that is inside an ajaxified Gid. When I click Submit on the usercontrol and validators fire as false the ComboBoxes stop working. I can still pick items by using the arrows or customtext but the drop down is gone. I can only get it back by throwing a postback which i don't want to do. I think this is a bug I have tried almost everything to get the dropdown to open but its like its gone.
0
John S.
Top achievements
Rank 1
answered on 19 Jun 2008, 03:07 PM
Hello,
Did you find a solution to this? I am having the same problem.
Thanks,
John
Did you find a solution to this? I am having the same problem.
Thanks,
John
0
Hello John Stewart,
We have just released Service Pack 2 of RadControls for ASP.NET AJAX and the fix for this problem is included there. Please download it from your Client.Net account and give it a try.
The SP2 Release Notes.
Kind regards,
Veskoni
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We have just released Service Pack 2 of RadControls for ASP.NET AJAX and the fix for this problem is included there. Please download it from your Client.Net account and give it a try.
The SP2 Release Notes.
Kind regards,
Veskoni
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
