--- In [email protected], "achio_84" <[EMAIL PROTECTED]> wrote:
> var allShape=printNode(drawing);//all the drawing done by user
> postURL("webForm1.aspx",allShape,null);//post to server to process
> In ASP.Net, how can I get the value of "allShape" sent by postURL?
It is the body of the HTTP request your webForm.aspx processes. You
could for instance do
XmlDocument xml = new XmlDocument();
xml.Load(Request.InputStream);
to load the POSTed XML into an XmlDocument for DOM and XPath navigation.
Or you could use an XmlTextReader e.g.
XmlTextReader reader = new XmlTextReader(Request.InputStream);
// now use reader e.g
while (reader.Read()) {
// process nodes here
}
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~->
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/