ISPostBack return wrongly
-
Hi In popup window calling thr javascript menthod
window.showModalDialog("URL" ,"Arg1", dialogHeight: 600px; dialogWidth: 950px; edge: Raised; center: yes; help: No; scroll: Yes; status: No;");
While clicking that populate some information those are made in Page_Load call back method at begin
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
// Here
}
}After clocing the popup window , Once again Viewing the popup window its IsPostBack Properity return true value so doesnt populate some information to that page. How check these on page_load ..
-
Hi In popup window calling thr javascript menthod
window.showModalDialog("URL" ,"Arg1", dialogHeight: 600px; dialogWidth: 950px; edge: Raised; center: yes; help: No; scroll: Yes; status: No;");
While clicking that populate some information those are made in Page_Load call back method at begin
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
// Here
}
}After clocing the popup window , Once again Viewing the popup window its IsPostBack Properity return true value so doesnt populate some information to that page. How check these on page_load ..
window.showModalDialog("URL" ,"Arg1", dialogHeight: 600px; dialogWidth: 950px; edge: Raised; center: yes; help: No; scroll: Yes; status: No;**"**);
You have quote mark before closing parenthesis; is that suppose to be there? -
Hi In popup window calling thr javascript menthod
window.showModalDialog("URL" ,"Arg1", dialogHeight: 600px; dialogWidth: 950px; edge: Raised; center: yes; help: No; scroll: Yes; status: No;");
While clicking that populate some information those are made in Page_Load call back method at begin
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
// Here
}
}After clocing the popup window , Once again Viewing the popup window its IsPostBack Properity return true value so doesnt populate some information to that page. How check these on page_load ..
Hi, Pass a random number every time with url, other wise it load page from cache. for example window.showModalDialog("abc.aspx?id=randID=" + Math.random() % 1000 ,"Arg1", dialogHeight: 600px; dialogWidth: 950px; edge: Raised; center: yes; help: No; scroll: Yes; status: No;"); Thanks Manoj
-
Hi, Pass a random number every time with url, other wise it load page from cache. for example window.showModalDialog("abc.aspx?id=randID=" + Math.random() % 1000 ,"Arg1", dialogHeight: 600px; dialogWidth: 950px; edge: Raised; center: yes; help: No; scroll: Yes; status: No;"); Thanks Manoj
Thanks... working fine..
-
Hi In popup window calling thr javascript menthod
window.showModalDialog("URL" ,"Arg1", dialogHeight: 600px; dialogWidth: 950px; edge: Raised; center: yes; help: No; scroll: Yes; status: No;");
While clicking that populate some information those are made in Page_Load call back method at begin
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
// Here
}
}After clocing the popup window , Once again Viewing the popup window its IsPostBack Properity return true value so doesnt populate some information to that page. How check these on page_load ..
window.showModalDialog("abc.aspx?id=rndID=" + Math.random() % 1000 ,"Arg1", dialogHeight: 600px; dialogWidth: 950px; edge: Raised; center: yes; help: No; scroll: Yes; status: No;");
Sometimes it holds some value in cache. So passing Random number can work.