With all the dual core processors and 1+ GB RAM Microsoft VISTA didn’t perform as expected. Later I found out the default power setting in the “Power Saver” plan limits the CPU to 50 percent. To improve the speed Open the Power Options from Control panel and change it to “High Performance” to give it… (0 comment)

If you ever want to call a javascript function (with or without  parameter) from a server side hyperlink control here it is.. Step 1 : declare your javascript function between Step 2: <asp:HyperLink ID=”hypCate” runat=”server” NavigateUrl='<%# “javascript:showPopUp(” & DataBinder.Eval(Container.DataItem, “ID”) & “);” %>’ Text='<%#DataBinder.Eval(Container.DataItem, “Name”)%>’ /> Carefully follow the single and double quotes for NavigateUrl attribute. Needless to… (1 comment)

(NetAdvantage for ASP.NET) If you want to freeze first few columns like EXCEL and horizontally scroll rest of the columns in Ultra WebGrid here you go… Event : UltraWebGrid1_InitializeLayout(object sender, Infragistics.WebUI.UltraWebGrid.LayoutEventArgs e) VB Code : [sourcecode language=’vb’] e.Layout.UseFixedHeaders = true e.Layout.Bands(0).Columns(1).Header.Fixed = true e.Layout.Bands(0).Columns(2).Header.Fixed = true [/sourcecode] Above code freezes the  two columns (second,third) in Grid.… (5 comments)

If you using Gridview control and your Grid doesnt have HEADER information then make sure you turn off the “ShowHeader” property for that Gridview or else you will notice a blank line on top of the grid.  If you are If you do viewsource you will notice this mystery line <tr><th></th</tr> as first line of… (0 comment)

This page is reproduced from this URL. Copied here for easy reference. All credits to the original author.                                                                              ______________________ If you set AllowPaging=”true” or AllowSorting=”true” on a GridView control without using a DataSourceControl DataSource (i.e. SqlDataSource, ObjectDataSource), you will run into the following errors: When changing the page on the GridView control: The GridView… (4 comments)

Close Visual Studio if its open. If you are an Advanced User who has priviledges to edit Registry here you go. Start > Run > RegEdit (Backup registry before making changes) GOTO HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\<version>\StartPage On the Right Panel right click on  NewsChannel and select modify Replace this (http://msdn.microsoft.com/sql/rss.xml) RSS feed with any valid RSS feed of… (0 comment)