Sashidhar Kokku's blog

Browse by Tags

All Tags » ASP.NET 2.0 (RSS)
[HowTo] Generate a dummy table for binding to a tabular structure.
While designing grids and related styles, I always found the need to bind some dummy data to the grid to see how the grid looks. So, rather than making a database call to get a really organized table, I decided to get one of my own. The following method...
Website metrics : Quick links
The business guys at my work place were complaining about my application being slow most of the time.While it was curious to me that it was not the case...coz....where-ever I tested, it was fine..with respect to the speed of the web-app....and all the...
Gridview Dataformat types
For those of you who are looking around for the DataFormatString's entry for setting columns in the grid-view, here is a quick list. Format Type Data-Format Type Phone number {0:(###) ###-####} Currency (no decimals) (0:$#,##0} Currency (1 decimal) {0...
Fake Ajax
Place inside the <head> tag to ensure smooth transition. Simulating ajax like effects without the real deal <META http-equiv="Page-Enter" content="blendTrans(Duration=0.2)"> <META http-equiv="Page-Exit" content...
How To : Disable Enter key in web forms
Include the following code in the <head> tag, or in the common.js file in your website(hoping that you call it in the master page or the relevant form). function disableEnterKey() { if ( window .event.keyCode == 13) window .event.keyCode = 0; }...
Controlling your username while binding to ActiveDirectoryMembershipProvider [ASP.NET 2.0]
When using ActiveDirectoryMembershipProvider, default login options mandate your username to be [username]@[domainName].[extn]. However, should you want to use just the username, and nothing else, then the simplest option would be to add the attributeMapUsername...