Click here to Skip to main content
       

ASP.NET

 
AnswerRe: FindControl not working in Gridview ItemTemplate of Button PinmemberKanwal Daud Gill21-Jan-13 20:23 
GeneralRe: FindControl not working in Gridview ItemTemplate of Button PinmemberNandakishorerao21-Jan-13 20:49 
QuestionTracking Emails PinmemberJaison Joe17-Jan-13 17:49 
Questionhow to redirect in a url? PinmemberJassim Rahma17-Jan-13 9:42 
I am using this to redirect to comment page:
 
Response.Redirect(String.Format("~/{0}/Comment/{1}", Page.RouteData.Values["ADDRESS"], Page.RouteData.Values["GUID"]), false);
 
I want, if the user is not signed in to redirect to /signin but with mentioning the original page so when user signs ij it will automatically redirect to the original page. something like:
 
if (Session["volow_member_id"] == null || Session["volow_member_guid"] == null)
{
    Response.Redirect("~/Signin/" + String.Format("~/{0}/Comment/{1}", Page.RouteData.Values["ADDRESS"], Page.RouteData.Values["GUID"]), false);
}
else
{
    Response.Redirect(String.Format("~/{0}/Comment/{1}", Page.RouteData.Values["ADDRESS"], Page.RouteData.Values["GUID"]), false);
}
how can i do this?

 
Technology News @ www.JassimRahma.com

AnswerRe: how to redirect in a url? PinmemberParwej Ahamad18-Jan-13 7:17 
GeneralRe: how to redirect in a url? PinmemberJassim Rahma18-Jan-13 7:36 
GeneralRe: how to redirect in a url? PinmemberParwej Ahamad18-Jan-13 17:23 
AnswerRe: how to redirect in a url? PinmemberRekhash18-Jan-13 23:01 
QuestionHow to add KML file to google Map using javascript in asp.net PinmemberTrivikramarao Vurubandi17-Jan-13 0:40 
QuestionExport data in Excel(xlsx) without using Excel Object from Datatable. Pinmembermca_rameshkumar16-Jan-13 22:00 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.140709.1 | Last Updated 13 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid