Search code examples
asp.netjquerytextblendingfading

Blending messages in and out with control or jquery


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 ?


Solution

  • Here is a small list of jQuery plugins for this:

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