Setting Control Widths in Custom Popup Editor

3 posts, 1 answers
  1. Reid
    Reid avatar
    448 posts
    Member since:
    Oct 2008

    Posted 16 May 2016 Link to this post

    I have not been successful in setting the control widths in a custom Grid popup editor template. 

    Can someone suggest how that is done?  I have added custom .css and it is not changing anything.

     

    Thanks,

    Reid

  2. Answer
    Patrick
    Admin
    Patrick avatar
    232 posts

    Posted 16 May 2016 Link to this post

    Hello Reid,

    We have a great demo in our documentation on how to set the width of a custom popup edit form and the textbox inside it.  

    I also created a demo in this Telerik Dojo which illustrates how to increase the width of a Kendo DropDownList in a popup editor.

    In my dojo, I used the following CSS to change the width:
    .k-popup-edit-form .k-edit-field > .k-dropdown{
      width: 225px;
    }

    I hope this helps steer you in the right direction.

    Regards,
    Patrick
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Reid
    Reid avatar
    448 posts
    Member since:
    Oct 2008

    Posted 16 May 2016 in reply to Patrick Link to this post

    Thank you Patrick.  That worked fine.
Back to Top