Need to click comboboxcolumn twice in a dynamic grid scenario

3 posts, 1 answers
  1. HDC
    HDC avatar
    214 posts
    Member since:
    Dec 2010

    Posted 11 Jun 2012 Link to this post

    Hi,
     
    I have a problem with the use of the comboboxcolumn, i need to click it twice for the combo to popup, can it be done in one step?

    I read following thread:
    http://www.telerik.com/community/forums/silverlight/gridview/gridviewcomboboxcolumn-requires-two-clicks.aspx

    But i don't quite get what dide means with setting OpenDropDownOnFocus.

    I have a dynamic grid using the MyDataRow approach that i got from Telerik and i generate the combobox columns within the AutoGeneratingColumn event. So i define my GridViewComboBoxColumn within code... i can set EditTriggers, but how can i get to the combobox inside that column to set the OpenDropDownOnFocus to true?


    Best Regards,

    Peter
  2. Answer
    Maya
    Admin
    Maya avatar
    4062 posts

    Posted 11 Jun 2012 Link to this post

    Hi Peter,

    Please refer to this article for further reference. Since you create your columns in code-behind, you can just create an implicit style targeting RadComboBox:

    <Style TargetType="telerik:RadComboBox">
                          <Setter Property="OpenDropDownOnFocus" Value="True"/>
                      </Style>
     

    All the best,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. HDC
    HDC avatar
    214 posts
    Member since:
    Dec 2010

    Posted 11 Jun 2012 Link to this post

    Always a life saver... thanks a lot Maya.... I could have thought of this one myself ;o((

Back to Top