Can I load ASPX Content from a XML File?

5 posts, 0 answers
  1. Luiz
    Luiz avatar
    15 posts
    Member since:
    Nov 2010

    Posted 06 Dec 2010 Link to this post

    Hi,

    Can I load all RADControls (ASPX Content) from a XML File like ASCX?

    Tks

    Luiz
  2. Prangadj
    Prangadj avatar
    174 posts
    Member since:
    Jan 2008

    Posted 06 Dec 2010 Link to this post

    ASCX is user control to my knowledge, not related to XML file. If wanting to load telerik controls from xml, use Page.ParseControl, friend, as in this sample:

    http://demos.telerik.com/aspnet-ajax/grid/examples/programming/gridfromxml/defaultcs.aspx

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Luiz
    Luiz avatar
    15 posts
    Member since:
    Nov 2010

    Posted 06 Dec 2010 Link to this post

    Hi

    I´ve seen this example before but I´d like to load the whole page, this example is focused on Grid.
    I´m creating a XML File with all page definitions, can I load it and show the page?

    Tks

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

    Posted 06 Dec 2010 Link to this post

    why not? parse the controls from xml one after the other with same method and it should be done.

  6. Luiz
    Luiz avatar
    15 posts
    Member since:
    Nov 2010

    Posted 06 Dec 2010 Link to this post

    Hi

    Actually I´d like to build the page on demand and show it to user because my process is completelly dynamic.

    Is that possible?

    Tks

    Luiz
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017