944,149 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 3524
  • ASP.NET RSS
Feb 13th, 2007
0

Linking to asp.net page from html page

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Aswathy is offline Offline
13 posts
since Feb 2007
Feb 13th, 2007
0

Re: Linking to asp.net page from html page

IIS needs to be set up for .NET.
Is it?
Reputation Points: 13
Solved Threads: 4
Junior Poster in Training
nikkiH is offline Offline
79 posts
since Dec 2006
Feb 13th, 2007
0

Re: Linking to asp.net page from html page

But all other .NET applications are all working fine.
In this case I was trying to access a .net page from html.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Aswathy is offline Offline
13 posts
since Feb 2007
Feb 14th, 2007
0

Re: Linking to asp.net page from html page

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?
Reputation Points: 13
Solved Threads: 4
Junior Poster in Training
nikkiH is offline Offline
79 posts
since Dec 2006
Feb 14th, 2007
0

Re: Linking to asp.net page from html page

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)
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,534 posts
since Apr 2005
Feb 14th, 2007
0

Solved :Linking to asp.net page from html page

<a href="http://localhost/OnLineTest/WebForm1.aspx" >Link to Asp.net page </a>

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

Thanks one and all..........
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Aswathy is offline Offline
13 posts
since Feb 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Managing sessions
Next Thread in ASP.NET Forum Timeline: how can I copy asp.net project from one system and work on it in a different system





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC