Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit Does Silverlight supports update panel.
6 replies. Latest Post by pieterkersten on October 9, 2008.
(0)
balukr54
Member
124 points
143 Posts
10-06-2008 3:10 AM |
Does silverlight supports update panel and animation in it.How can we implement it??
Thanks in advance
preishuber
Contributor
3570 points
655 Posts
10-06-2008 3:26 AM |
you mean ajax update panel? There is no realtion between it. AJAX is some kind of "big" jscript library. Silverligth applications can be controlled by jscript.
What is your goal?
10-06-2008 3:40 AM |
i need a update panel animation.
There should an animation when i am updating the datas from by page to server..
the link below shows such an animation.
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/UpdatePanelAnimation/UpdatePanelAnimation.aspx
thanks in advance for your help.
Amanda W...
All-Star
17241 points
1,466 Posts
10-08-2008 6:20 AM |
Hi,
As Hannes said, there is no realtion between the Silverlight and Ajax.
Microsoft Silverlight is a cross-browser, cross-platform implementation of the .NET Framework for building and delivering the next generation of media experiences and rich interactive applications (RIA) for the Web. Silverlight unifies the capabilities of the server, the Web, and the desktop, of managed code and dynamic languages, of declarative and traditional programming, and the power of Windows Presentation Foundation (WPF). The more you can refer this article: http://msdn.microsoft.com/en-us/library/bb404708(VS.95).aspx
But AJAX features include client-script libraries that incorporate cross-browser ECMAScript (JavaScript) and dynamic HTML (DHTML) technologies, and integration with the ASP.NET server-based development platform. By using AJAX features, you can improve the user experience and the efficiency of your Web applications. the more you try to refer this article: http://msdn.microsoft.com/en-us/library/bb398874.aspx
Abou the animation that you refered in your post, you can try implement it in the silverlight.you can create many kind of rich and colorful animation in silverlight. the more you can try to refer these links:
coughlinj
334 points
114 Posts
10-09-2008 3:21 AM |
The other's have done a good job of explaining that Silverlight is not javascript and does not have an 'update panel' but instead this kind of behavour is easily implimented through the framework.
In your silverlight app you will request data from the server via web services through the Window's Communication Framework (WCF). To solve the problem you have presented I would suggest that you can start a Storyboard animation when you make your asynchronous call to the server. All web service calls return the data through an event completed handler. In this handler you can stop the busy / waiting Storyboard and perhaps kick off an updated Storyboard to present the new data.
Justin
10-09-2008 4:38 AM |
Thanks Justin...
i will try out this one...
pieterke...
6 points
4 Posts
10-09-2008 9:34 AM |
No, Silverlight does not support update panels. The reason for this is easy, it wouldnt make any sence. Silverlight runs client side, using an update panel would send and receive the entire Silverlight application (resulting in a restart of your Silverlight application).
Why do you need Silverlight to support update panels?
For some reason i didnt see the replies till I submitted this post....