开发者

Blending messages in and out with control or jquery

开发者 https://www.devze.com 2023-01-12 07:41 出处:网络
What would you suggest, if I wanted to blend text messages in and out (fade in and out) from codebehind ?

What would you suggest, if I wanted to blend text messages in and out (fade in and out) from codebehind ? My problem is the following: I have a couple of modalpopups in which I have UpdatePanels running and when the user submits data, I want to show messages (not javascript's alert) like "Saved." as pure text, that is faded in and out, thus doesn't require space. (similar to having a <p>-tag set to display: none and display:block with fade effect)

I know that I could use a Label and set its Visibility 开发者_如何学运维to true or false, but that's not what I want to do. (-> a dirty solution without fade effect)

Important is that I do this from codebehind... Is there some sort of Asp.NetControl that would do the trick ? Or will I have to use jquery from codebehind ?


Here is a small list of jQuery plugins for this:

http://webtoolkit4.me/2009/08/13/jquery-growl-likenotification-systems/


Im using Gritter on at least 2 projects and It's doing pretty well so far.

http://boedesign.com/demos/gritter/

0

精彩评论

暂无评论...
验证码 换一张
取 消