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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to pop a dialog from code behind ?

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,

 

How to pop a dialog box from code behind ?

 

Regards,

Greg


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

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 12:00 PM UTC

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 12:22 PM UTC

Nevermind I found a sample :)


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

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.

Warning Icon 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.Close Icon

;