We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to pop a dialog from code behind ?

Thread ID:

Created:

Updated:

Platform:

Replies:

108473 Apr 23,2013 08:17 AM Apr 25,2013 12:42 AM Orubase 4
loading
Tags: Orubase
Grégory Douguet
Asked On April 23, 2013 08:17 AM

Hi,

 

How to pop a dialog box from code behind ?

 

Regards,

Greg


Thivya [Syncfusion]
Replied On April 24, 2013 06:47 AM

Hi Greg,

Thanks for your interest in Orubase product.

You can make the dialog control to open while initially by means of “AutoOpen” property. Please refer the below code snippet.

[View]
@{
Html.Orubase().Dialog("mydia")
    .AutoOpen(true)
    .Title("Orubase")
    .Template(@<div>This is the Orubase Mobile Dialog control</div>)
    .Modal(true).RenderMode(RenderMode.IOS)
    .IOS(ios => ios.DialogMode(MobDialogMode.Alert))
    .Render();
}

Please try this and let us know if it helps out.

Regards,
Thivya.


Grégory Douguet
Replied On April 24, 2013 08:00 AM

Hi,

 

Thank you for your example which work perfect.

 

But how do I display this dialog when I click on a button ? I've put AutoOpen to false but then...


Grégory Douguet
Replied On April 24, 2013 08:22 AM

Nevermind I found a sample :)


Thivya [Syncfusion]
Replied On April 25, 2013 12:42 AM

Hi Greg,

Thanks for the update, we are glad you found a solution.

Please let us know if you need any further assistance.

Regards,
Thivya.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;