This is a migrated thread and some comments may be shown as answers.

Can I load ASPX Content from a XML File?

4 Answers 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Luiz
Top achievements
Rank 1
Luiz asked on 06 Dec 2010, 10:46 AM
Hi,

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

Tks

Luiz

4 Answers, 1 is accepted

Sort by
0
Prangadj
Top achievements
Rank 1
answered on 06 Dec 2010, 10:51 AM
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

0
Luiz
Top achievements
Rank 1
answered on 06 Dec 2010, 10:57 AM
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
0
Prangadj
Top achievements
Rank 1
answered on 06 Dec 2010, 12:02 PM
why not? parse the controls from xml one after the other with same method and it should be done.

0
Luiz
Top achievements
Rank 1
answered on 06 Dec 2010, 12:17 PM
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
Tags
General Discussions
Asked by
Luiz
Top achievements
Rank 1
Answers by
Prangadj
Top achievements
Rank 1
Luiz
Top achievements
Rank 1
Share this question
or