output is not getting

Posted by Sunitajadhav under IIS on 5/26/2010 | Views : 1375 | Status : [Member] | Replies : 5
Hey guys,
I have developed web application.I created virtual directory on iis 5.1.when i browse home page from virtual directory it opens but when i click on any control say html button then it does not show any output .only page is redirect from home page to output page.
I have called some classes on html button click.My code is correct when i run on internal web server on visual studio 2005 it works fine.
Please help me.
Thanks in advance.




Responses

Posted by: Vuyiswamb on: 5/26/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Do you have a live url that we can see ? or lets see your code in your button click and the html definition of that button.

Thank you for posting at Dotnetfunda
[Administrator]

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sunitajadhav on: 5/26/2010 [Member] Starter

Up
0
Down
Please see following code which i have written on button click.here i m calling "CriticalPathMethod" method and output of that method i m showing on "CPMReport.aspx" page but when i click on button then its redirect to CPMReport.aspx page but does not show any output.Please help me.
Thanks in advance.

protected void ButtonCPM_ServerClick(object sender, EventArgs e)
{
ProjectList t_ProjectListObj = (ProjectList)Application["t_ProjectListObj"];
ResourceList t_ResourceListObj = (ResourceList)Application["t_ResourceListObj"];

string t_ScheduleStatus = "";
string t_PrjSting = "LoadProject";
LabelStatus.Text = "";

t_ScheduleStatus = t_ProjectListObj.CriticalPathMethod("",m_ProjectName);

if (t_ScheduleStatus.StartsWith("ERR:"))
LabelStatus.Text += t_ScheduleStatus;
else
{
Session["t_ModelID"] = m_ModelID;
Session["t_ProjectString"] = t_PrjSting;
Response.Redirect("CPMReport.aspx?");
}
}


Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 5/26/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
You are Redirecting using this

Response.Redirect("CPMReport.aspx?");



change it to

Response.Redirect("CPMReport.aspx",false);



and try it again

Thank you for posting at Dotnetfunda
[Administrator]

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: BangaruBabu on: 5/27/2010 [Member] Starter

Up
0
Down
Hi, I think The Code U placed was Not validating !

First Please Check It in Local Browser By Using Toggle Button

Even though you may get the same

Please Create Virtual Directory Once ...and Reset IIS once and Check Again


BangaruBabu Pureti
http://bangarubabupureti.spaces.live.com/

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sunitajadhav on: 5/27/2010 [Member] Starter

Up
0
Down
hey,
i have done this change "Response.Redirect("CPMReport.aspx",false);"
but its not working.Please help me.
Thanks in advance.

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response