Script(s)

technology as-is

October 24, 2007
by gchandra
0 comments

Creating dynamic, fancy EmptyDataText for GridView

Gridview has capability to display “default” messages when “No data” exists during binding. Standard Way in .aspx <asp:GridView ID=”gvControl” runat=”server” AutoGenerateColumns=”False” GridLines=”None” CellPadding=”0″ CellSpacing=”0″ OnRowDataBound=”gvCategories_RowDataBound” BackColor=”#dddddd” ShowHeader=”false” EmptyDataText=”<BR> No data exists <BR><BR>“> …. ….. </asp:GridView> Fancy Way (.vb or .cs) … Continue reading

October 22, 2007
by gchandra
0 comments

‘The invoked member is not supported in a dynamic module.’

Error ‘The invoked member is not supported in a dynamic module.’ while generating exception string While Using ASPUnhandledException.dll for exception handling, I received this error via email. This error message was not at all helpful in production environment.  On careful … Continue reading

October 16, 2007
by gchandra
1 Comment

How to add Company & Version details to your Assembly file or .dll ?

If you want to add details like (Your [company] name, Product name, Copyright info, Version Number) to your custom library ? ex : Its very simple. Open Assembly.vb  or Assembly.cs and modify the following items. You can add more attributes … Continue reading

October 15, 2007
by gchandra
3 Comments

Validation (XHTML 1.0 Transitional): A newer construct is recommended.

Validation (XHTML 1.0 Transitional): Attribute ‘name’ is considered outdated. A newer construct is recommended. Deprecated Elements & Attributes and Newer Constructs XHTML 1.0 Transitional Elements Newer Constructs <menu /> Use another list type. <u /> Use CSS property “text-decoration” and … Continue reading

October 15, 2007
by gchandra
2 Comments

How strong User ID and Password should be ?

Few thoughts on how to  enforce strong userids and passwords. UserIDs can be email address. (An email can be sent to the ID with a link to make sure email id is valid) – Password must be between 8 and … Continue reading

October 2, 2007
by gchandra
3 Comments

Locking Cell and Changing Cell Style UltraWebGrid

Refer this article for Column Locking / Freezing in Infragistics Ultra WebGrid If you need to change background color for a  frozen columns then .. backcolor property must be changed first then cells have to be locked. [sourcecode language=’vb’]   e.Layout.Bands(0).Columns(0).CellStyle.BackColor … Continue reading