Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
295
How to set focus on the First editable field
posted

Hi,

I have a xamdockmanager inside i have a content pane, inside a content pane  i have a usercontrol which is rendered through c#, this usercontrol contains editable and noneditable controls. The requirement here is whenever the  contenpane gets populated under that the first editable field should get the focus. Thanks in advance!

 

Parents
  • 54937
    Verified Answer
    Offline posted

    I'm not sure what you mean by when the contentpane gets populated but with regards to activation, i.e. clicking on the pane header, using the pane navigator, explicitly calling its Activate method, etc.), by default when a ContentPane is activated, it moves focus to the first focusable control within the pane.

Reply Children
No Data