D
Dan Bass
In short, I'm looking for a way to take in an XML file, which tells me the
controls on a page, then generate this page for the client who requested it.
I'm using ASP.Net 2.0 beta 2, or 1.1 (c#), which ever is more appropriate...
Is there an existing model for doing this?
I was thinking, that a user would click on a link, something like
"MyPage.aspx?xml=TimeReport.xml", whcih would then use the query string to
get the xml file to build the page from. A StringBuilder object with the
relevant HTML declarations and inline C# scripting, would then be generated
from the XML that was parsed, and then using Response.Write to dump this
back up to the client.
The one problem with this is I'm not sure how to hook up events. A button
press would be used to refresh the page, and rebind a grid control, for
example.
Any thoughts on this would be appreciated.
Thanks.
Dan.
controls on a page, then generate this page for the client who requested it.
I'm using ASP.Net 2.0 beta 2, or 1.1 (c#), which ever is more appropriate...
Is there an existing model for doing this?
I was thinking, that a user would click on a link, something like
"MyPage.aspx?xml=TimeReport.xml", whcih would then use the query string to
get the xml file to build the page from. A StringBuilder object with the
relevant HTML declarations and inline C# scripting, would then be generated
from the XML that was parsed, and then using Response.Write to dump this
back up to the client.
The one problem with this is I'm not sure how to hook up events. A button
press would be used to refresh the page, and rebind a grid control, for
example.
Any thoughts on this would be appreciated.
Thanks.
Dan.