0

A asked this question few days ago but could not find my answer.

Alert box like stackoverflow dynamic data

I am surfing on internet for few days with no good. Some of them are usefull but message is appearing when the page loads.

What i want is when a user fires an event all the messages should appear on top of page like this

enter image description here

For this I tried this answer Call jquery from code behind but the result was not i want. Is their any other way?

Stackoverflow uses almost the same. When an answer is submited message appears at top of the window.

Note: Using ASP.Net WebForms.

Thanks for your time.

3
  • Showing the code you used for this would help. I guess you are showing the message on a wrong event. Commented Apr 2, 2013 at 5:13
  • you can use toastr codeseven.github.com/toastr Commented Apr 2, 2013 at 6:21
  • @Ravi How to call toastr in c#. i tried using ClientScript.RegisterStartupScript but it is not working. Commented Apr 3, 2013 at 16:54

1 Answer 1

2

If you want to integrate notifications, try some jquery plugins which makes task easy with cool UI.

  1. jbar
  2. pnotify
  3. toastr (as comment added below by Ravi)

you can use ClientScript.RegisterStartupScript to call javascript function as well.

Sign up to request clarification or add additional context in comments.

4 Comments

add this into you're answer codeseven.github.com/toastr
@Ravi: as usual great one. Thanks.
How to call toastr in c#. i tried using ClientScript.RegisterStartupScript but it is not working.
Ok i got it working. Thanks man'

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.