Tuesday, February 14, 2006

Got some free time today...

Today I got some free time @ office.. Once in a blue moon day you can say.
So browsed for some .NET stuff and I am adding the links below. Thinking Sometime in future I will need it.

Creating a Class Library (DLL)
http://www.c-sharpcorner.com/2/pr12.asp

New Certifications Microsoft
1. http://www.microsoft.com/learning/mcp/newgen/2. http://www.microsoft.com/learning/mcp/newgen/faq/

Passing values from a page to another by means of the Context objecthttp://www.devx.com/vb2themax/Tip/18847

BuildUrlWithQueryString - Building an Url with a list of parameters in the querystringhttp://www.devx.com/vb2themax/Tip/19481

ShowMessageBox - Showing a client-side message box at the next page loadhttp://www.devx.com/vb2themax/Tip/19678

Manage User Control Values Using Javascript in an .aspx File
http://www.devx.com/tips/Tip/28032

Check All CheckBoxes in an ASP.NET DataGrid Using a Single CheckBox
http://www.devx.com/tips/Tip/20238

How to refer assemblies if different versions are available http://support.softartisans.com/FileUpEEV4/doc/install/install.asp#applevel

Conditional JS validation for IE and Non IE browsers
http://geekswithblogs.net/timh/archive/2006/01/19/66383.aspx


If a key PaymentRequired is "false" or if the key itself is not there then I want to redirect to some page else I want to redirect to another page.

Key in web.conf


In codebehind

If ConfigurationSettings.AppSettings("PaymentRequired") = "false" Then
context.Server.Execute("ByPass.aspx")
Else
Response.Redirect("package_details.aspx", False)
End If

I had used context.server.Execute since the whole code was inside a Try Catch block. If you use Server.Transfer inside a Try-Catch block it will throw exception.

Don't preserve viewstate when doing a Server.Transfer
http://www.devx.com/vb2themax/Tip/18744
http://www.it-pedia.com/

No comments: