Archive

Archive for March, 2010

ASP.NET validators and javascript can do beautiful things…

March 31st, 2010 4 comments

Here is a small recipe about making some things a little more beautiful using asp.net Validators and some javascript.

What do we need:

  • ASP.NET Validators like RequiredFieldValidator
  • jQuery
  • jQuery Tooltip
  • A nice tooltip image and some css

Read more…

Categories: ASP.NET Tags: , ,

Asp.net handlers and IRequiresSessionState

March 22nd, 2010 No comments

This is a small one :)

By default when you create a new asp.net handler (.ashx) it implements the interface IHttpHandler. If you want to access information about user and other things stored in session you need also to implement the IRequiresSessionState.

IRequiresSessionState specifies that the target HTTP handler requires read and write access to session-state values

Categories: ASP.NET Tags: ,