Hello
i'm using Infragistics 2007 in my application the hierarchy of the page is as follows.
Firstly i'm using masterpage, then in Infragistic's Web Asynchronous Panel i've placed WebTextEdit control. when the form loads all the WebTextEdit controls are disabled then after clicking a button all the controls get enabled. now at that point i wish to set focus to a particular WebTextEdit control.
kindly help me in doing so.
an immediate respose will be highly appreciated.
Regards
Hammad
Handle the client-side click event of your button, and use JavaScript similar to the following for each WebTextEdit control:
var ed = igedit_getById("WebTextEdit1"); // Substitute the ClientID of your editor hereed.setEnabled(true);
Additionally, for the one editor you want to have focus, after you've enabled it, use the following line of code to put focus to it:
ed.focus();