Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 9th, 2006, 10:56 AM
Banned
 
Join Date: Jul 2005
Posts: 317
Thanks: 0
Thanked 0 Times in 0 Posts
Default Load external script within Page_Load Event

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
please help, how to load external application hard boiled Beginning VB 6 3 June 11th, 2007 03:47 PM
Flash to load external Programme ells228 Flash (all versions) 1 January 5th, 2007 12:14 AM
Call right frame Page_Load event from left frame. ochanarachel Classic ASP Basics 0 January 28th, 2005 05:13 AM
Page_Load method not executed on initial load lphiedrag ASP.NET 1.0 and 1.1 Professional 7 October 25th, 2004 03:41 PM
PhilePage.cs Page_Load event betulus BOOK: ASP.NET Website Programming Problem-Design-Solution 2 June 10th, 2003 02:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.