RadGrid - Restore Down

4 posts, 0 answers
  1. Vijendra
    Vijendra avatar
    13 posts
    Member since:
    Jul 2014

    Posted 25 Nov 2014 Link to this post

    I am using a telerik grid using nested view template and edit form templates. When i shrink the browser window, the filelds in the form templates are not getting aligned properly. But again when i maximize the window, filelds  are getting aligned. Can you please help us in finding a solution for this.

    Please find attached the screenshots before and after shrinking the window.




    Regards,
    Vijendra
  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1803 posts

    Posted 28 Nov 2014 Link to this post

    Hi Vijendra,

    When using template for your edit form, setting the structure within that template should be handled entirely by the developer. Please note that this is a HTML/CSS query and it is not directly related to RadGrid itself. 

    Looking at the screenshots I can only suggest that you ensure you are using percentage values for the width of your controls in the template. You could also enable the elements to move down when the width of the container is smaller.


    Best Regards,
    Konstantin Dikov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. Vijendra
    Vijendra avatar
    13 posts
    Member since:
    Jul 2014

    Posted 02 Dec 2014 in reply to Konstantin Dikov Link to this post

    Hi Konstantin,

    I am using percentage values for all the controls. But I found out that in the browser its converting it into pixels. I have not used any css to apply this property..

    The version of Telerik I am using is 2012.2.815.40. Is this because of the version I am using ?
  4. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1803 posts

    Posted 04 Dec 2014 Link to this post

    Hi Vijendra,

    The behavior that you are describing is rather strange and should not be observed.

    Can you please provide a simple example with control with specified Width in percentage, where that width is converted in pixels? 

    I am looking forward to your reply.


    Regards,
    Konstantin Dikov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top