Click here to Skip to main content
15,897,273 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionplease do help me ....its about gridview + validating it Pin
vickycruise19-Jul-07 11:02
vickycruise19-Jul-07 11:02 
AnswerHOW MANY VIOLATIONS?!? Pin
leckey19-Jul-07 11:32
leckey19-Jul-07 11:32 
QuestionWeb user controls and urls in asp.net 1.1 Pin
jojoStoneHead19-Jul-07 9:47
jojoStoneHead19-Jul-07 9:47 
AnswerRe: Web user controls and urls in asp.net 1.1 Pin
doWhileSomething19-Jul-07 10:52
doWhileSomething19-Jul-07 10:52 
GeneralRe: Web user controls and urls in asp.net 1.1 [modified] Pin
jojoStoneHead19-Jul-07 11:08
jojoStoneHead19-Jul-07 11:08 
GeneralRe: Web user controls and urls in asp.net 1.1 Pin
jojoStoneHead19-Jul-07 11:13
jojoStoneHead19-Jul-07 11:13 
GeneralRe: Web user controls and urls in asp.net 1.1 Pin
doWhileSomething19-Jul-07 12:31
doWhileSomething19-Jul-07 12:31 
GeneralRe: Web user controls and urls in asp.net 1.1 Pin
jojoStoneHead19-Jul-07 13:31
jojoStoneHead19-Jul-07 13:31 
In the designer I set the NavigateUrl for the HyperLink to "UsrControl/NetworkUI/UC_CategoriesList.aspx" (the .aspx extention is just so it looks as page when user hovers over link in browser).

This is the rawurl which I get in Application_BeginRequest when I click the hyperlink for the first time. "UsrControl/NetworkUI/UC_CategoriesList.aspx" which is fine.

When I click the second time I hit the Case Else part:
Context.RewritePath(sVirtualDirectory & "/" + sDefaultPageName + ".aspx" & "?page=" & sPage2 & "&" & sQS)

at this point the url is now "UsrControl/NetworkUI/UsrControl/NetworkUI/UC_CategoriesList.aspx".

and with subsequent clicks it keeps appending "UsrControl/NetworkUI" to the url.
and all links on the user control have their url changed as well

In the user control Page_load the NavigateUrl for the hyperlink is still set the one I set in Designer

This can be reproduced by creating an asp.net project and add a page. Add a folder and add a user control in the folder,drop a hyperlink on the user control and set the NavigateUrl to something.

rewrite the path (context.rewritepath) to the page in Application_BeginRequest (so you can be able to click more than once)
and check the rawurl every time you click.


Thanks
Questionasp:Calendar Pin
Brendan Vogt19-Jul-07 8:15
Brendan Vogt19-Jul-07 8:15 
AnswerRe: asp:Calendar Pin
kubben19-Jul-07 8:20
kubben19-Jul-07 8:20 
QuestionFormView ASP.Net 2.0 Pin
Amit Kumar G19-Jul-07 8:12
Amit Kumar G19-Jul-07 8:12 
AnswerRe: FormView ASP.Net 2.0 Pin
Amit Kumar G19-Jul-07 8:22
Amit Kumar G19-Jul-07 8:22 
QuestionSharepoint WebPart Button Click Pin
Daaron19-Jul-07 8:09
Daaron19-Jul-07 8:09 
QuestionParse error message [modified] Pin
ASPnoob19-Jul-07 6:27
ASPnoob19-Jul-07 6:27 
AnswerRe: Parse error message Pin
SHatchard19-Jul-07 6:37
SHatchard19-Jul-07 6:37 
GeneralRe: Parse error message Pin
ASPnoob19-Jul-07 8:39
ASPnoob19-Jul-07 8:39 
Questionsessions again Pin
boyindie19-Jul-07 6:26
boyindie19-Jul-07 6:26 
AnswerRe: sessions again Pin
sathesh pandian19-Jul-07 6:49
sathesh pandian19-Jul-07 6:49 
AnswerRe: sessions again Pin
Manas Bhardwaj19-Jul-07 7:11
professionalManas Bhardwaj19-Jul-07 7:11 
GeneralRe: sessions again Pin
boyindie19-Jul-07 7:50
boyindie19-Jul-07 7:50 
AnswerRe: sessions again Pin
doWhileSomething19-Jul-07 8:19
doWhileSomething19-Jul-07 8:19 
GeneralRe: sessions again Pin
boyindie19-Jul-07 11:15
boyindie19-Jul-07 11:15 
GeneralRe: sessions again Pin
doWhileSomething19-Jul-07 12:44
doWhileSomething19-Jul-07 12:44 
GeneralRe: sessions again Pin
boyindie20-Jul-07 0:29
boyindie20-Jul-07 0:29 
AnswerRe: sessions again Pin
Deepak Gedia19-Jul-07 20:42
Deepak Gedia19-Jul-07 20:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.