Linking to asp.net page from html page

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Feb 2007
Posts: 13
Reputation: Aswathy is an unknown quantity at this point 
Solved Threads: 0
Aswathy Aswathy is offline Offline
Newbie Poster

Linking to asp.net page from html page

 
0
  #1
Feb 13th, 2007
Hi ,

I have an application in which html and asp.net is to be linked.
In the html page I have a link to the asp.net page.

<a href="WebForm1.aspx">Link to Asp.net page </a>

But, when I click on that link I get the code underlying the asp.net page displayed instead of the web page to be displayed.

Could any one tell me what could have gone wrong and how can I correct it?

Thanks,
Aswathy
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 79
Reputation: nikkiH is an unknown quantity at this point 
Solved Threads: 4
nikkiH's Avatar
nikkiH nikkiH is offline Offline
Junior Poster in Training

Re: Linking to asp.net page from html page

 
0
  #2
Feb 13th, 2007
IIS needs to be set up for .NET.
Is it?
Google is your friend. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit http://www.kaelisspace.com/
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 13
Reputation: Aswathy is an unknown quantity at this point 
Solved Threads: 0
Aswathy Aswathy is offline Offline
Newbie Poster

Re: Linking to asp.net page from html page

 
0
  #3
Feb 13th, 2007
But all other .NET applications are all working fine.
In this case I was trying to access a .net page from html.
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 79
Reputation: nikkiH is an unknown quantity at this point 
Solved Threads: 4
nikkiH's Avatar
nikkiH nikkiH is offline Offline
Junior Poster in Training

Re: Linking to asp.net page from html page

 
0
  #4
Feb 14th, 2007
That's just a link, right?
Therefore, the linked page should work fine. If you just plug that link into your browser, does it work?
Google is your friend. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit http://www.kaelisspace.com/
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,134
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 529
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Linking to asp.net page from html page

 
0
  #5
Feb 14th, 2007
You need to be running an ASP.NET web server to see the page properlyy. Either IIS (noy in xp home) or Abyss Web Server X1(free)
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 13
Reputation: Aswathy is an unknown quantity at this point 
Solved Threads: 0
Aswathy Aswathy is offline Offline
Newbie Poster

Solved :Linking to asp.net page from html page

 
0
  #6
Feb 14th, 2007
<a href="http://localhost/OnLineTest/WebForm1.aspx" >Link to Asp.net page </a>

This is working fine........

Thanks one and all..........
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC