Click here to Skip to main content
15,915,019 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Interop Excel Pin
sashidhar5-Nov-09 23:05
sashidhar5-Nov-09 23:05 
Questiontreeview with navigateurl Pin
antony beula5-Nov-09 22:04
antony beula5-Nov-09 22:04 
AnswerRe: treeview with navigateurl Pin
Abhishek Sur5-Nov-09 22:13
professionalAbhishek Sur5-Nov-09 22:13 
GeneralRe: treeview with navigateurl Pin
antony beula5-Nov-09 22:17
antony beula5-Nov-09 22:17 
QuestionTrack Internet Explorer close forcibly by user Pin
Amit Agarrwal5-Nov-09 20:32
Amit Agarrwal5-Nov-09 20:32 
AnswerRe: Track Internet Explorer close forcibly by user Pin
Abhishek Sur5-Nov-09 20:48
professionalAbhishek Sur5-Nov-09 20:48 
GeneralRe: Track Internet Explorer close forcibly by user Pin
Amit Agarrwal6-Nov-09 0:34
Amit Agarrwal6-Nov-09 0:34 
QuestionWhy page is slow? Pin
tonymathewt5-Nov-09 20:14
professionaltonymathewt5-Nov-09 20:14 
AnswerRe: Why page is slow? Pin
Christian Graus5-Nov-09 20:18
protectorChristian Graus5-Nov-09 20:18 
GeneralRe: Why page is slow? Pin
tonymathewt5-Nov-09 22:53
professionaltonymathewt5-Nov-09 22:53 
AnswerRe: Why page is slow? Pin
Abhishek Sur5-Nov-09 20:55
professionalAbhishek Sur5-Nov-09 20:55 
GeneralRe: Why page is slow? Pin
tonymathewt6-Nov-09 1:00
professionaltonymathewt6-Nov-09 1:00 
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 

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.