I struggling on hours to accomplish this.
I have created a web site in VS 2010. Now I need to host this on my local IIS(My development PC) for the testing.
I created a web site on inetmgr
and publish the web site using VS. Now I can access it. It is Fine.
But it is not functioning properly now.
I have a web form and once I submit it do some steps which I coded in my code behind and redirect to another page (This is what needs to be happen).
But now it is not happening.Once I click on the button it will reload the page.
In side the publish folder I can only see the .aspx
files. Cannot find .cs
files.
What is the wrong I did here.
Have I missed something?
If you can plesae provide me some urls to compete step by step guidance.
Edit
Default.aspx.
string filePathVal = ((TextBox)CustomerDataPanel.FindControl("FilePath")).Text;
if (!File.Exists(filePathVal))
{
errorMsgPannel.Visible = true;
return;
}
Response.Redirect("result.aspx?status=success", false);