This step involves identifying which pages need to render growls. This is going to be context specific in your application.

Attach the CSS

CSS references typically go before the </head> tag on your page. When you have identified the spot you would like on your page, use the following command

<% Html.RenderCssLink(); %>

Next Step - JQuery

Make sure the page you are hosting the growl messages has jquery linked before the Growl javascript tags.

Growl Javascript

Render the required Growl javascript using:

<% Html.RenderJsLink(); %>

Start Growling

You can now pass growl messages from your server side code by injecting the IGrowlRecorder into your code. A growl is registered by:

_growlRecorder.AddMessage(new GrowlMessage("Title", "Message"));

Last edited Jul 23, 2010 at 10:01 AM by sdhebert, version 1

Comments

No comments yet.