I want to Hide url.
-
If i click A button, user go to homepage.com/B.aspx But i want to homepage.com insetead of homepage.com/B.aspx. Is there any way?
hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~
-
If i click A button, user go to homepage.com/B.aspx But i want to homepage.com insetead of homepage.com/B.aspx. Is there any way?
hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~
-
If i click A button, user go to homepage.com/B.aspx But i want to homepage.com insetead of homepage.com/B.aspx. Is there any way?
hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~
-
If i click A button, user go to homepage.com/B.aspx But i want to homepage.com insetead of homepage.com/B.aspx. Is there any way?
hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~
If B.aspx is always the page you want to display for http://homepage.com then google for "Set Default Pages in IIS", you can also set this in your web.config. You could also rename "b.aspx" to one of the existing defaults such as "default.aspx" See http://stackoverflow.com/questions/1913058/set-default-page-in-asp-net[^] If you are worried about neater URLs generally you could consider ASP.NET MVC3, but there is a learning curve. Another answer would be to write an HttpHandler to map a clean URL to the actual page, but this will get unweildy and might be a little technically complicated, so MVC3 might be a better option.
Sort of a cross between Lawrence of Arabia and Dilbert.[^]
-Or-
A Dead ringer for Kate Winslett[^] -
Learn HTML. /troll You could at least post the code with the link in it or the relevant page request.
This is a perfectly reasonable newbie question. Posting the code won't help either: it just isn't relevant here.
Sort of a cross between Lawrence of Arabia and Dilbert.[^]
-Or-
A Dead ringer for Kate Winslett[^] -
If B.aspx is always the page you want to display for http://homepage.com then google for "Set Default Pages in IIS", you can also set this in your web.config. You could also rename "b.aspx" to one of the existing defaults such as "default.aspx" See http://stackoverflow.com/questions/1913058/set-default-page-in-asp-net[^] If you are worried about neater URLs generally you could consider ASP.NET MVC3, but there is a learning curve. Another answer would be to write an HttpHandler to map a clean URL to the actual page, but this will get unweildy and might be a little technically complicated, so MVC3 might be a better option.
Sort of a cross between Lawrence of Arabia and Dilbert.[^]
-Or-
A Dead ringer for Kate Winslett[^]do the url re-write to hide anything.
tbhattacharjee
-
If i click A button, user go to homepage.com/B.aspx But i want to homepage.com insetead of homepage.com/B.aspx. Is there any way?
hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~
If you can, I recommend using a MultiView instead of multiple pages. Depends on what exactly you are trying to accomplish though (e.g., you didn't say whether or not the button will also reside on homepage.com).
-
If i click A button, user go to homepage.com/B.aspx But i want to homepage.com insetead of homepage.com/B.aspx. Is there any way?
hi My english is a little. anyway, nice to meet you~~ and give me your advice anytime~
You can use Url rewriting ... http://msdn.microsoft.com/en-us/library/ms972974.aspx[^] URL Rewriting with ASP.NET[^]