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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

All Syncfusion Dialogs flicker on page load...

Thread ID:





121919 Feb 8,2016 07:44 PM UTC Feb 11,2016 07:03 AM UTC ASP.NET MVC 3
Tags: Dialog
Asked On February 8, 2016 07:44 PM UTC

I have several Syncfusion dialogs that are ShowOnInit = false. When the page loads, all of the content in those dialogs is visible for about a full second, I guess, before the DOM loads. I've tried using normalize and a few other things but I can't get this to stop. Do you have a solution for such an issue?

Sasikala Nagarajan [Syncfusion]
Replied On February 10, 2016 01:12 PM UTC

Hi Corey,
Sorry for the delay,
We have analyzed your reported requirement. Currently there is no inbuilt option to achieve your reported requirement in our EJ Dialog component. But we can achieve your reported requirement, by overriding the CSS of the dialog control content area.
We have sets visibility hidden to div element while initializing the div using content template property as like below code,


@Html.EJ().Dialog("dialog").ContentTemplate(@<div style="visibility:hidden">Dialog 1 loaded</div>).ClientSideEvents(e => e.Create("created")).ShowOnInit(false)

Then, we have changed this visibility value to visible, once the control has been created using the client side event “create” which will trigger once the control has been created completely.
Please refer the below code example


@Html.EJ().Dialog("dialog").ContentTemplate(@<div style="visibility:hidden">Dialog 1 loaded</div>).ClientSideEvents(e => e.Create("created")).ShowOnInit(false)


function created(args) {

        this.element.find(">div > div").css("visibility", "visible")



Please check with the given solution and let us know if you have further queries. We will be happy to help you out.

Sasikala Nagarajan

Replied On February 10, 2016 07:48 PM UTC

You're kidding me?! :) Why didn't I think of that one? So simple. 

Thank you, Sasikala. Life saver. I have so many places I can apply something like this.

Sasikala Nagarajan [Syncfusion]
Replied On February 11, 2016 07:03 AM UTC

Hi Corey,
Thanks for the update,

Please get back to us if you need further assistance and we will be happy to help you.


Sasikala Nagarajan


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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