|
Subject:
|
Load external script within Page_Load Event
|
|
Posted By:
|
kwilliams
|
Post Date:
|
10/9/2006 10:56:47 AM
|
Languages Used: ASP.NET 2.0, VB.NET, XML, XSLT Development Software: Visual Web Developer 2005 Express Edition, XMLSpy 2006
I'm a complete newbie to ASP.NET and VB.NET, and I've created a dynamic website contains one central page (index.aspx) that loads XML, XSLT, and sometimes VB.NET data into an ASP.NET page using a querystring value (i.e. http://www.mysite.com/index.aspx?page=home). This value is added to the end of a static path to load the page-specific files, like this: http://www.mysite.com/docs/xml/home.xml http://www.mysite.com/docs/xslt/home.xsl http://www.mysite.com/bgscripts/vb/home.vb
But now I need to know how to load an external VB.NET script within a Page_Load Event. I've looked into the "RegisterClientScriptInclude" method, but I've run into issues with adding a reference to this method. I don't know which reference to choose from the list of references, and I continue to receive this error message: Type 'ClientScriptManager' is not defined.
So if anyone can give me some suggestions on how to do this, whether it would include this or another method, that would be great. Thanks for any help.
KWilliams
|
|