RadDropDownButton auto opening on focus

3 posts, 0 answers
  1. Federico
    Federico avatar
    3 posts
    Member since:
    Oct 2014

    Posted 10 Jan Link to this post


    I'm using a RadDropDownButton as Editor inside a RadGridView cell. I have to display the DropDownContent when the cell enters in edit mode.

    I've tryied to set the RadDropDownButton IsOpen property to "True" on the RadDropDownButton GotFocus event, but the RadDropDownButton immediatly closes its DropDownContent.

    Any suggestion?

    Thanks in advance.

  2. Dilyan Traykov
    Dilyan Traykov avatar
    931 posts

    Posted 15 Jan Link to this post

    Hello Federico,

    Could you please clarify how exactly you've defined your column - are you using the CellEditTemplate property or have defined a custom column as demonstrated in this article?

    I tried defining the following CellEditTemplate for the column which seems to provide the desired result at my end:

    <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}">
                <telerik:RadDropDownButton IsOpen="True" KeepOpen="True" Content="{Binding Name}">
                        <TextBlock Text="Some Text" />

    Could you please give this a try and let me know if this would work for you? I look forward to your reply.

    Dilyan Traykov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Federico
    Federico avatar
    3 posts
    Member since:
    Oct 2014

    Posted 16 Jan in reply to Dilyan Traykov Link to this post

    Hello Dilyan,

    I was missing the "KeepOpen" property. Having set that property, it works fine.

    Thank you.

Back to Top