This is a migrated thread and some comments may be shown as answers.

confirm dialog and code behind

3 Answers 157 Views
Window
This is a migrated thread and some comments may be shown as answers.
Pablo
Top achievements
Rank 1
Pablo asked on 25 Sep 2008, 04:56 PM
I am using the confirm dialog, but I want to fire my ok_click event on my program for insert some values into the database.

If I click yes in the confirm dialog how do I to fire the ok_click event in my code behind?

a hug!

3 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 25 Sep 2008, 07:48 PM
Hey Pablo,

Have you seen this online demo for RadWindow?

Return a value from RadWindow

I know the return on there is used for populating a textbox, but that might give you a headstart on how to pass information back to the parent page.

:)
0
Pablo
Top achievements
Rank 1
answered on 25 Sep 2008, 08:16 PM
yes, I see this example but dont have exactly I mean.

I use the confirm dialog, press ok this return ok and I want to fire this event

//the user see the confirm dialog and press ok.
//the transaction fire the Aceptar_Click event.

protected void Aceptar_Click(object sender, ImageClickEventArgs e)

{
    
        //some code no relevant.

}


the online demo get values from confirm window but dont use any code behind event.

0
Tervel
Telerik team
answered on 26 Sep 2008, 08:20 AM
Hello Pablo,

I believe the following forum thread will help you


Regards,
Tervel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Pablo
Top achievements
Rank 1
Answers by
Serrin
Top achievements
Rank 1
Pablo
Top achievements
Rank 1
Tervel
Telerik team
Share this question
or