TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Karthik K
1k
745
193.7k
How to close my pop window and Postback to my main Page ?
Nov 21 2017 4:49 AM
Hi , I have using Popup window on the Checkout.aspx page of button click event.
Coding which i used to open pop up :
protected void btnCustoemr_Click(object sender, EventArgs e)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "hidePopup", "callParentWindowHideMethod();", true);
ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "var Mleft = (screen.width/2)-(760/2);var Mtop = (screen.height/2)-(100/2);window.open( 'ConfirmCart.aspx', null, 'height=700,width=760,status=yes,toolbar=no,scrollbars=yes,menubar=no,location=no,top=\'+Mtop+\', left=\'+Mleft+\'' );", true);
Session["CustomerName"] = txtCustomerName.Text;
Session["MobileNo"] = txtMobileNo.Text;
Session["EmailId"] = txtEmailId.Text;
}
it opens with the name of ConfirmCart.aspx.
and did all Process after that, I want to go to Index page of my website. How to do it suggest me if possible with the example code .
One more thing ., i want to clear Datatable session of object ., when it goes to index.aspx page. How can clear it .,when post back to Index page.
Any suggestion !! welcome.Thanks in advance.
Reply
Answers (
0
)
Decimal to binary
how to load images from c# code to jquery zoomslider