Intersoft WebDesktop Documentation
Show Dialog with Animation
See Also Send Feedback
Intersoft WebDesktop > Release History > V2.5 > WebDialogBox > Show Dialog with Animation

Glossary Item Box

The WebDialogBox now supports ExpandShrink type animation when showing a dialogbox from client codes. The animation is always a nice addition to give smooth and professional impression to your Web application.

The enhancement is made to the ShowDialog method of the WebDialogBox class. The method now introduces two new parameters: enableAnimation and fromElement.

Syntax:
[webDialogBoxInstance].ShowDialog(enableAnimation, fromElement);

enableAnimation is a boolean value indicating whether animation should be performed.

fromElement is a HTML element where the animation should start from.

Sample:

JavaScript Copy ImageCopy Code
divEl = document.getElementById(�??div1�?�);
webDialogBox1.ShowDialog(true, divEl);               

The EnableAnimation property of the WebDialogBox need to be set to True from the server side.

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.