ASP.NET, XML and JavaScript

S

Shimon Sim

I have project that have some pages with a lot of functionality on them.
Some functionality on these pages require post backs. For example depending
on what user selects on drop down page gets some information from the
server. The problem is that some features require few post backs and with
big pages it is slow even on DSL.
So I thought to download all the required information in one time and put it
in XML islands and try to handle client events of the combo with JavaScript.
I really don't know were to start with my idea. I didn't find any build in
way to create XML islands in ASP.NET Xml control seems to do something else.
And I don't know how to work with JavaScript with XML.
Does anybody have any references to the material that may help me?
Thank,
Shimon.
 
S

Steven Cheng[MSFT]

Hi Shimon,

Thanks for posting in the community!
As for the Xml manipulating in clientside scripting such as javascript.
Based on my research, I think the MSXML component is a COM based XML
manipulation components provided by Microsoft. Since we can create and use
ActiveX in javascript, we can also use the MSXML components in javascript.
Here are some certain web references on using MSXML in web page via
scripting:

#XML and JavaScript
http://www.codeproject.com/jscript/xmljs.asp

#Microsoft Xml Core Service(MSXML)
http://www.perfectxml.com/msxmlHTTP.asp

#Scripting mot MSXML
http://www.ia.hiof.no/~borres/ml/dommsxml/p-msxmlscript.html

In addition, as for the "Xml island", it is a old technique which provide
the ability to embed xml in IE in earlier time. Also, such technique are
common web page design techs which are not ASP.NET specified, you may refer
some other web design references on this if you'd like to use it.


Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top