This article describe about session in ASP.Net 2.0. It also explains about different types of session, their configuaration.
Enjoy.....
Tuesday, March 31, 2009
Monday, March 23, 2009
showModalDialog and postbacks in ASP.NET
I learned something new today that window.showModalDialog to open a modal window on the client from parent page using javascript, but whenever that page does a postback, it would open up a new window. A normal window.open works fine, this is the problem only with modal window.
Finally I found a solution which is very simple by just including the below tag in the section of the modal Window.
<base target="”_self”/">
And also we need to set the output cache property to “1″ otherwise next time when you try to open the modal window, it will take it from cache.
<%@ OutputCache Duration=”1″ VaryByParam=”none”%>
Enjoy..
Finally I found a solution which is very simple by just including the below tag in the section of the modal Window.
<base target="”_self”/">
And also we need to set the output cache property to “1″ otherwise next time when you try to open the modal window, it will take it from cache.
<%@ OutputCache Duration=”1″ VaryByParam=”none”%>
Enjoy..
Friday, March 06, 2009
Visual studio keyboard shortcuts
Download the cool PDF versions of all the keyboard shortcut available in Visual Studio 2005 and 2008.
For C#
For VB.NET
Make habit of using shortcut keys and save your time. :)
Enjoy...
For C#
For VB.NET
Make habit of using shortcut keys and save your time. :)
Enjoy...
Subscribe to:
Posts (Atom)