Click here to Skip to main content
15,886,258 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to use Query strig in this situation ???? Pin
rhtbhegade5-Nov-09 19:50
rhtbhegade5-Nov-09 19:50 
AnswerRe: How to use Query strig in this situation ???? Pin
sashidhar5-Nov-09 20:10
sashidhar5-Nov-09 20:10 
AnswerRe: How to use Query strig in this situation ???? Pin
Christian Graus5-Nov-09 20:12
protectorChristian Graus5-Nov-09 20:12 
Questionis there some way i can give the RowIndex as the data key in a gridview Pin
Flavia A5-Nov-09 19:50
Flavia A5-Nov-09 19:50 
AnswerRe: is there some way i can give the RowIndex as the data key in a gridview Pin
sashidhar5-Nov-09 20:11
sashidhar5-Nov-09 20:11 
GeneralRe: is there some way i can give the RowIndex as the data key in a gridview Pin
Flavia A5-Nov-09 20:20
Flavia A5-Nov-09 20:20 
GeneralRe: is there some way i can give the RowIndex as the data key in a gridview Pin
sashidhar5-Nov-09 20:41
sashidhar5-Nov-09 20:41 
QuestionHow to implement re-login in asp.net windows authentication Pin
dharam_hbtik5-Nov-09 19:41
dharam_hbtik5-Nov-09 19:41 
I want to implement login as different user in my intranet application i have done the following
I think I'm half way to finally do it!

I noticed that the response code it overriden by 200 ok after setting it to 401!

So, After I set the status code to 401, I used Response.flush() to immediately send that.



protected void lnk_logoff_Click(object sender, EventArgs e)

{

Response.StatusCode = 401;

Response.Flush();

Response.Close();

}

After I put it in event handler of a link button, when I click that linkbutton & voila... the windows logon popup appears to switch Users, However, I noticed that I've to enter the windows credentials multiple times in sequence inorder for the windows logon popup to go away!!! but I actually login correctly after that.

After debugging I found that a single click on the linkbutton, will hit the breakpoints in the event handler of the linkbutton click as well as the pageload, 3 or 4 times in a row, I don't know why, but it is a start.

If any one could try tell me & help to clear out, why using Response.Flush() with Response.StatusCode = 401 causes the page to be requested 3 times in a row?????!
Questionis the some way we can have 2 link button in a grdview? Pin
Flavia A5-Nov-09 19:38
Flavia A5-Nov-09 19:38 
AnswerRe: is the some way we can have 2 link button in a grdview? Pin
sashidhar5-Nov-09 20:29
sashidhar5-Nov-09 20:29 
QuestionCustom control : getting Rowcount 0 on button event of the control. Pin
Imran Khan Pathan5-Nov-09 19:35
Imran Khan Pathan5-Nov-09 19:35 
QuestionGoogle Maps, Street View API Pin
pujafaldu5-Nov-09 19:24
pujafaldu5-Nov-09 19:24 
AnswerRe: Google Maps, Street View API Pin
sashidhar5-Nov-09 20:36
sashidhar5-Nov-09 20:36 
GeneralRe: Google Maps, Street View API Pin
pujafaldu5-Nov-09 22:41
pujafaldu5-Nov-09 22:41 
GeneralRe: Google Maps, Street View API Pin
sashidhar5-Nov-09 22:52
sashidhar5-Nov-09 22:52 
QuestionObject expected Error .........please help me Pin
maheshkmr5-Nov-09 19:21
maheshkmr5-Nov-09 19:21 
AnswerRe: Object expected Error .........please help me Pin
Nishant Singh5-Nov-09 20:10
Nishant Singh5-Nov-09 20:10 
Questionhow add a plugin to browser Pin
santhosh-padamatinti5-Nov-09 18:58
santhosh-padamatinti5-Nov-09 18:58 
Questionuser details after login Pin
rahuuul175-Nov-09 18:27
rahuuul175-Nov-09 18:27 
AnswerRe: user details after login Pin
rahuuul175-Nov-09 18:28
rahuuul175-Nov-09 18:28 
GeneralRe: user details after login Pin
Gamzun5-Nov-09 19:00
Gamzun5-Nov-09 19:00 
AnswerRe: user details after login Pin
Christian Graus5-Nov-09 18:54
protectorChristian Graus5-Nov-09 18:54 
GeneralRe: user details after login Pin
rahuuul175-Nov-09 18:57
rahuuul175-Nov-09 18:57 
GeneralRe: user details after login Pin
Christian Graus5-Nov-09 20:13
protectorChristian Graus5-Nov-09 20:13 
GeneralRe: user details after login Pin
Gamzun5-Nov-09 23:18
Gamzun5-Nov-09 23:18 

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.