Set focus of RadDatepicker

2 posts, 0 answers
  1. sankar kanna
    sankar kanna avatar
    4 posts
    Member since:
    Aug 2009

    Posted 24 Aug 2009 Link to this post

        I have an issue in set the focus in raddatepicker when the screen loads. this is the first control in that screen. the cursor is not focused on that particular control even though I am given the focus property also.

        I am also having issues in set the focus in rad gridview control. The tab property is working after selecting any columns in the gridview.

    Code snippet:


    Thanks in advance.
    Sankar Kanna.S

  2. Kaloyan
    Kaloyan avatar
    920 posts

    Posted 26 Aug 2009 Link to this post

    Hello sankar kanna,

    It appears that this is a bug in the Silverlight 3 runtime as in Silverlight 2 is working as expected. To overcome this limitation you can do the following code implementation.
    public SomeClass() 
                Dispatcher.BeginInvoke(() => 
                    var isFocused = radDatePicker.Focus(); 

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top