asp.net - Page redirection in multiple project under single solution -


i have multiple web application under single solution -

enter image description here

odcportal startup project. in odcportal home.aspx page in button event, trying redirect csp_home.aspx page. getting resource cannot found error. code -

response.redirect(string.format("http://{0}/csp/csp_home.aspx",                             request.url.host)); response.redirect("~/odcportal/csp/csp_home.aspx"); 

nothing working me. please 1 me. in advance gulrej

in case 2 project independent each other, redirection must use full url or must host them on iis , 1 of them virtual application of onther one.

for iis configuration see asp.net , iis configuration , deploying asp.net websites on iis 7.0


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -