Telerik controls layout

11 posts, 0 answers
  1. Amit Kothari
    Amit Kothari avatar
    5 posts
    Member since:
    Aug 2009

    Posted 11 Nov 2011 Link to this post

    Hi,

    I am creating a website, which needs to have the controls formatting and other stuff get loaded dynamically.Do the telerik control support this feature, out of the box.
    Or alternatively do it have the options of creating some XML/XSL files from the controls layout, and loading from the same files to build the UI.

    I have find the same utility in Dev-Ex controls for windows application, and was curious if the same is with telerik then it will encourage me to have your product on-board with us.


    Thanks

  2. Nikhil
    Nikhil avatar
    9 posts
    Member since:
    Oct 2011

    Posted 13 Nov 2011 Link to this post

    Hi,


    I am looking for the same feature in telerik controls which give me inner xml of the layout control and i can use that xml for creating same UI dynamically again and again.


    Thanks.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ashish
    Ashish avatar
    2 posts
    Member since:
    Oct 2011

    Posted 13 Nov 2011 Link to this post

    Hi
    I  saw this feature in devEx controls but i think it is missing in telerik controls.
    so if you want to competite with them you must provide this feature, if it is already available then plz let me know.



    Thanks
  5. Prangadj
    Prangadj avatar
    174 posts
    Member since:
    Jan 2008

    Posted 14 Nov 2011 Link to this post

    Folks, all telerik controls can instantiate programmatically in code behind as other .NET server controls. If you want to use XML and recreate from there, use page.parsecontrol method of the framework with xsl transform. I know this demo of the grid which does it, should be same with other Telerik controls.

    -Prangadj
  6. Amit Kothari
    Amit Kothari avatar
    5 posts
    Member since:
    Aug 2009

    Posted 14 Nov 2011 Link to this post

    Prangadj, Thanks for the information, however I have already seen that and my requirement is little bit different.
    I need to have a mechanism in which the Layout of any control in my page gets created automatically [By some generic code] and I can be able to save the xml and can use the same by loading controls as and when required.
    I will be having one page, which could have many different fields and the layout of the same will differ as per the conditions.
    So this will not be the needful

    Ashish, Yes this feature is readily available in DevEx for Win-forms.
    But im not sure on Web control.
    Can you please specify on this??


    Thanks


  7. Amit Kothari
    Amit Kothari avatar
    5 posts
    Member since:
    Aug 2009

    Posted 14 Nov 2011 Link to this post

    Prangadj, Thanks for the information, however I have already seen that and my requirement is little bit different.
    I need to have a mechanism in which the Layout of any control in my page gets created automatically [By some generic code] and I can be able to save the xml and can use the same by loading controls as and when required.
    I will be having one page, which could have many different fields and the layout of the same will differ as per the conditions.
    So this will not be the needful

    Ashish, Yes this feature is readily available in DevEx for Win-forms.
    But im not sure on Web control.
    Can you please specify on this??


    Thanks


  8. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 15 Nov 2011 Link to this post

    Guys,

    This is very doable.

    In my last position I wrote a suite that took the XML output from a 3rd-party COM application and generated forms, some of them multi-page forms, on the fly.

    This was a couple of years back and the client requirement meant that I only needed to use RadInput, RadCalendar and RadGrid, but as @Prangadj has already said, there is no reason you can't do this for any of the controls.

    My suite, which unfortunately is proprietary code of my ex-employer, allowed for the inclusion of multiple grids on a page with pre-selected column ordering and sorting and also for user-specific grid defaults (visible columns, grouping and sorting).

    OK. That was the long answer.

    The short answer is yes.

    -- 
    Stuart
  9. Ashish
    Ashish avatar
    2 posts
    Member since:
    Oct 2011

    Posted 15 Nov 2011 Link to this post

    Hi stuart,

    As you said , i also agreed with you that it is doable but i want to know is there any feature of telerik controls through which i could generate the inner xml for layout of telerik controls because it would not be possible for me to write any suite to generate xml for more than of hundres of pages.

    I appretiate your reply.

    Thanks
  10. Nikhil
    Nikhil avatar
    9 posts
    Member since:
    Oct 2011

    Posted 15 Nov 2011 Link to this post

    Hi Prangadj


    Thanks for the link but that is not what i want. I will like to explain what i exactly want. Currently we have DevExpress controls which allow me to get the inner xml of layout controls and we use the same(xml) for recreation of layout dynamically.
    I want the same feature in telerik controls, if this feature will be there in telerik controls then i can urge my company's seniors to buy telerik controls. Personally, i like telerik controls.

    Waiting for your reply.

    Thanks in Advance.
  11. Prangadj
    Prangadj avatar
    174 posts
    Member since:
    Jan 2008

    Posted 15 Nov 2011 Link to this post

    Some of telerik controls have direct xml import feature, as ribbon and org chart. For others you can use what I said before, page.parsecontrol + xsl transform. Try it.

    -Prangadj

  12. Amit Kothari
    Amit Kothari avatar
    5 posts
    Member since:
    Aug 2009

    Posted 22 Nov 2011 Link to this post

    Ok, the term is Data Driven site...
    We need to create few screens dynamically.
    Hope this clarify further!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017