Best practice for outputing XML Data from server
- From: "NickP" <a@xxxxx>
- Date: Tue, 27 Nov 2007 16:36:21 -0000
Hey there,
I have a web service that returns a load of XML data which I wish to layout
on a web page. I am not 100% certain of the best practice for doing this.
One way I presumed that I could do this was by handling the Page_Load event
of the web form, but unfortunately I do not seem to be able to do this as I
just recieve a compile error,
"Warning 156 sub 'Page_Load' shadows an overloadable member declared in the
base class 'History'. If you want to overload the base method, this method
must be declared 'Overloads'. ...\history.aspx 21 19 ..."
If I overload the function it simply does not get called. I would like the
data to be fetched each time the page is initiated, so I also tried
overriding the LoadViewState method but this does not seem to get called
either.
I think I may layout my XML data using XSLT but am not compeltely decided
yet. Any advice would be most appreciative.
TIA.
Nick.
.
- Follow-Ups:
- Prev by Date: Re: Login control and restricted member pages
- Next by Date: Re: Best practice for outputing XML Data from server
- Previous by thread: Re: Encrypt connection string - Access denied
- Next by thread: Re: Best practice for outputing XML Data from server
- Index(es):