Click here to Skip to main content
16,004,927 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: what is ajax Pin
Fred_Smith19-Jul-07 12:37
Fred_Smith19-Jul-07 12:37 
AnswerRe: what is ajax Pin
RepliCrux19-Jul-07 12:50
RepliCrux19-Jul-07 12:50 
AnswerIt's called GOOGLE Pin
leckey19-Jul-07 13:03
leckey19-Jul-07 13:03 
AnswerRe: what is ajax Pin
Vasudevan Deepak Kumar19-Jul-07 18:35
Vasudevan Deepak Kumar19-Jul-07 18:35 
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 
1. I want to use one .asx page for all my UI and load user controls depending on what is clicked by user (as a master page would do in .net 2.0)

This is a bit of a misconception, as master pages in 2.0 still use multiple pages, albeit content pages. The content pages are not controls, they are actually pages that basically include the master page.

3. In Application_BeginRequest method I get the virtual path part from the request and use context.rewritepath to my .aspx page with the virtual path as a querystring.

Can you show how your doing this? I would use an http module for this, there are many examples of this on the web.

A snippet would look something like this:

Private Sub Application_BeginRequest( _
ByVal source As Object, _
ByVal e As EventArgs)
Dim application As HttpApplication = CType(source, HttpApplication)
Dim context As HttpContext = application.Context
Dim addressbar As String = context.Request.RawUrl.ToString()
'Do something with the url, db lookup, etc..
context.Response.Redirect("http://www.HERE.com/", True)
End If




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 
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 

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.