I would like to do an autopostback when an item is selected from the combobox, but if text is entered without making a selection then I don't want it to post back. A solution would be greatly appreciated.
1 Answer, 1 is accepted
0
Accepted
Rosi
Telerik team
answered on 09 Oct 2008, 05:30 AM
Hi ,
To do this you can do the following steps:
1.Set the AutoPostBack property to true. 2.Hook on the OnClientTextChange event of RadComboBox and execute the following code in its event handler: function OnClientTextChange(sender,e)
{
e.set_cancel(true);
}
Regards,
Rosi
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.