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.
While I haven't tested this myself, I would expect the client-side Focus() method do accomplish this task. Putting this in the InitializeCombo event handler is where I would try first; if this didn't work, I'd use the onload event of the page's body element.
Can you post what you've done so far?
I am a bit lost on where this issue stands...I also have the same problem. In the Page_Load event of my VB code behind file for the web page that has a WebCombo control, I call the following method:
WebCombo1.Focus()
This does not work for WebCombo controls, but works fine for all other controls. Is there a different way to do this in the server-side code that I am missing or do I have to use client-side code? I am trying to avoid as much client-side code as possible (which is why I purchased the Infragistics NetAdvantage suite in the first place). Thanks, Chuck