Script(s)

technology as-is

May 13, 2008
by gchandra
2 Comments

Screen Capture Utility with quick editing (Easy Capture)

For screen capture I have been using Cropper  which is very good freebie with few interesting plugins. It just lacked two features which I always wanted. 1. “Editing” the cropped screen shot. 2. Capture areas which needs to be scrolled … Continue reading

May 12, 2008
by gchandra
0 comments

How to disable Right Click Menus

This is popular question asked in many tech forums / QA pages. Simplest way to turn Off the Right Click is Add the atttibute   onContextMenu = “return false” Ex : <body onContextMenu=”return false”> Tested this on IE 5.0 and above … Continue reading

May 1, 2008
by gchandra
1 Comment

Handling multiple configuration settings (Development, Staging, Production) gracefully.

In Asp.net 2.0 multiple connectionStrings & appSettings can be handled very easily using the attribute “configSource” create a new xml file devAppSettings.config under a new folder myConfigsettings <?xml version=”1.0″?> <appSettings>   <add key=”uploadfolder” value=”C:\test\UploadDocs”/>   <add key=”domainname” value=”devdomain”/> </appSettings> create … Continue reading

May 1, 2008
by gchandra
5 Comments

How to Preserve Fileupload value in Asp.net ?

If you form has asp:Fileupload control along with other controls like dropdownlist, calendar.. you will be facing standard problem of Fileupload control losing (the file) value when users click upload first and dropdown next. This problem can be solved by using Updatepanel.  … Continue reading