Monday, November 19, 2012

// // Leave a Comment

how to use space in xslt

Try using the entity   instead of &nbs...
Read More

Friday, August 3, 2012

// // Leave a Comment

Convert Dataset to HTML table

public string CreateHtmlTableRows(DataTable targetTable, string strtblName, List<string> strLinkList,List<string> strRejectedColumnList)     {         System.Text.StringBuilder myBuilder = new System.Text.StringBuilder();               if (strtblName != "")             myBuilder.Append("<table Id='" + strtblName + "' border='1px' cellpadding='10px' cellspacing='10px' ");         else    ...
Read More

Tuesday, June 19, 2012

// // Leave a Comment

How to retain or maintain current scrolling position even after a postback in an ASP.NET Page

If you are pressing a button or doing any post-back action in the middle of a scrolling page. Then the page will render back from the server and your cursor is on the top of the page. So you re-scroll to the position where you do the previous action. To resolve this problem .NET Provide a wonderful solution  The solution is as follows  <%@ Page MaintainScrollPositionOnPostback="true" %>...
Read More