Thursday, September 25, 2014

Using Jquery to check logged in user

When checking for the logged in user, normally we methods such as checking the Session object. It is really exciting that that this can be done from the client side using jQuery.

Following articles gives you the guidelines to implement it.

http://www.dotnetfunda.com/articles/show/2974/checking-for-logged-in-user-using-jquery-in-aspnet

Cheers
Samitha

Wednesday, August 27, 2014

ASP.Net keep Scroll Position On every Postback or Refresh

When a page is posted to the server the scroll position of the page resets, and  this causes the user  to scroll back to the part where the user was working on. ASP.NET 2 has introduced a property called MaintainScrollPositionOnPostback that will tackle this problem for you most of the times.

The issue get rather tricky when we place UpdatePanels in the page and scroll bars resets on each request. I have seen lot of users having difficulties resolving this issue and recently came across the following post that will provide you the desired workaround.

 Read more 
 http://en.hasheminezhad.com/scrollsaver

Regards
Samitha

Monday, August 25, 2014

Web Developer toolbar

This extension adds various web developer tools to the browser that can be really useful in web development. This extension is available for Chrome, Firefox and Opera.

Read more and download
http://chrispederick.com/work/web-developer/

Cheers
Samitha

Tuesday, July 29, 2014

JSON not Defined (IE 9)

When using JSON , IE 9 browser seem to behave bit strangely.  When I dig in to the issue i found that its because documents should be rendered in standards mode, as showing in the following code snippet.



...

Read more about document compatibility here.

Regards
Samitha

Sunday, July 13, 2014

Miscrosoft Exams online practice questions

Following web site offers online practice exams for some of the current Microsoft exams ( exams for Java, CPA hopefully will be added in the near future).

Available Microsoft exams includes
70-480, 70-482,70-483,70-484,70-485, 70-486, 70-331,70-332...

http://axiommanifold.com/#/

Cheers
Samitha

Thursday, June 26, 2014

jquery not working after postback

It seems that after a partial postback occured from an update panel jquery events does not work as expected. This can be solved by usin pageLoad() instead of $(document).ready() as shown in the following link http://encosia.com/2009/03/25/document-ready-and-pageload-are-not-the-same/

Cheers
Samitha