Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 November 16th, 2003, 08:45 PM
Registered User
 
Join Date: Oct 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default pass value from asp.net

Hi

Iam creting a web page in Vb.net. for header and footer iam using seprate file written in Coldfusion.
I want to set the title of web page by passing value from asp.net to header file.
<TITLE>Cotton CRC - #Title#</TITLE>
#title is a variable should get its value from asp.net
I dont know how to do that
Please help me.

Thanks

 
Old November 17th, 2003, 08:12 AM
Authorized User
 
Join Date: Jun 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sempf
Default


The file cannot be parsed by both the Cold Fusion and the ASP.NET processes. If you name the file .aspx, it will run in ASP.NET and will not ever pasre the Cold Fusion file. In fact, you can't even use an ASP Classic header file so far as I know. Sorry ...



Bill Sempf
Effective Visual Studio .NET
 
Old November 17th, 2003, 05:37 PM
Registered User
 
Join Date: Oct 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by rtha3
 Hi

Iam creting a web page in Vb.net. for header and footer iam using seprate file written in Coldfusion.
I want to set the title of web page by passing value from asp.net to header file.
<TITLE>Cotton CRC - #Title#</TITLE>
#title is a variable should get its value from asp.net
I dont know how to do that
Please help me.

Thanks

Actually i can include this header file in my asp.net page...and it display the header section ..but i am thinking to set the title of the page through passing the value by asp.net ..as if i set it in header file ...i have to create seprate file for other pages...
and if i set it in asp page..it did not work...as it look for the title from header file.






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Pass Parameter to Sub Report in asp.net 2.0 jawad Ahmed Crystal Reports 2 March 1st, 2008 02:17 AM
Pass XSL variable back to asp.net page ayamas XSLT 8 September 14th, 2006 06:07 AM
Pass parameter from XSLT to ASP.NET kwilliams XSLT 3 August 17th, 2005 11:56 AM
how to pass data between asp.net forms hemanshubhojak ASP.NET 1.0 and 1.1 Professional 1 August 14th, 2005 12:27 AM





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