Ben Griswold on July 25th, 2008

There’s a ton of information online about exporting a DataGrid or GridView to Excel, but most variations do not consider the GridView may reside within an UpdatePanel.  It goes without saying, but I was disappointed when I recently dusted off my “Export GridView to Excel” code snippet and encountered a number of exceptions.  So I [...]

Continue reading about Export GridView to Excel within an UpdatePanel

Ben Griswold on July 2nd, 2008

I am not a CSS expert, but the following technique can be used to easily apply an image next to virtually any link.  First you need to define your CSS class which sets the background to a referenced image.  .icon-cancel { background: url(../images/icons/cancel.gif) no-repeat left top; display:inline; padding-left:18px; margin-left: 10px; padding-right:10px; } Once defined, assign [...]

Continue reading about LinkButton Image