After binding the source data to the Webcombo, I am unable to set the input cursor in the text portion of the control. The control's editable property is set to 'True.' The contol's Focus() method has no effect. I will assume that one should use the client side InitializeCombo event to do this. My intent is to have the input cursor immediately available so the user does not have to tab into or mouse click into the text field in order to edit. If the solution is to use javascript in the InitializeCombo event, please provide an example of the script. Thank you.
Hello,
In Java Script: any of these two methods should work:
webCombo.focus();webCombo.inputBox.focus();
I use the 'onload' event of the web page for this purpose: <body onload="OnLoadPage()">
function OnLoadPage(){ webCombo = igcmbo_getComboById("<% =wcCustomers.ClientID %>"); webCombo.focus();}
I recommend you to have a look in three places:
a) Infragistics knowledge base
http://devcenter.infragistics.com/Support/KnowledgeBaseResults.aspx?type=Full&query=webcombo&articletypes=0&age=0&sort=LastModifiedDate&samplesonly=0
b) The old Infragistics forum
http://forums.archive.infragistics.com/?heirarchy=infragistics.products.netadvantage.aspnet
c) Have a look in the help documentation file installed on your computer. Look at the ASP.NET client-side object model (CSOM) reference guide.
With much sincerity I thank you for your help.