Advertisement

02.26.2007 at 02:33PM PST, ID: 22414692
[x]
Attachment Details

popup window asp.net

Asked by maheshneel in Microsoft Windows Operating Systems, JavaScript, Programming for ASP.NET

Tags: ,

Hi,
I am using following code for popup control in asp.net 2.0 with c# as code behind.

    protected void Page_Load(object sender, EventArgs e)
    {
         Button1.Attributes.Add("onclick", "window.confirm('You are about to delete a record, would you like to continue ?')");
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
            Response.Redirect("~/TimeTracker/TimeEntry.aspx");
    }
When i click the asp: Button1 the popup window shows but the problem with this is after popup window is displayed clicking ok and cancel both are  taking me to timeentry.aspx page. only ok should take me to the nextpage.aspx.

I need some help on passing values from popup window to the main window.
Start Free Trial
[+][-]02.26.2007 at 02:38PM PST, ID: 18613245

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Windows Operating Systems, JavaScript, Programming for ASP.NET
Tags: window, popup
Sign Up Now!
Solution Provided By: dakyd
Participating Experts: 1
Solution Grade: B
 
 
[+][-]02.26.2007 at 02:51PM PST, ID: 18613335

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.26.2007 at 02:59PM PST, ID: 18613385

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.28.2007 at 11:52AM PST, ID: 18628153

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32