Grid auto code generation

2 posts, 0 answers
  1. Mohammad
    Mohammad avatar
    1 posts
    Member since:
    Dec 2016

    Posted 24 Dec 2016 Link to this post

    I need to create a custom user control which contains a grid and some other components, the grid is a public property of the panel.
    When i drop the panel on the form and use the grid property to create columns everything is fine, but suddenly i realized the form is not generating added column's code in designer.cs, and after build there is no column left in my grid.
    So, my question is how can i force form to generate the columns code?
  2. Dimitar
    Dimitar avatar
    2951 posts

    Posted 26 Dec 2016 Link to this post

    Hi Mohammad,

    Thank you for writing.

    The visual inheritance is not supported by our controls and you cannot build the controls in such way. In this case, you should either set up the grid in the user control or add it directly to the form. 

    This is valid for the standard controls as well. You can test this with the standard grid.

    Please do not hesitate to contact us with any other questions or concerns. 

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top