Gridview Linkbutton Postback Problem

Posted: Monday, April 8, 2013 in .NET,

Some of the Devs in my team had a problem with linkbuttons inside a Gridview template field.

When they clicked on the linkbutton it didn’t postback.

I thought it’s an application wide issue, but in some pages it worked.

Then it came into my mind the issue is coz of the validation controls in some of the page.

When use clicks on a gridview’s  linkbutton, if the page have validation controls, it will fire them,

BUT IT WON’T SHOW THE VALIDATION MESSAGE to the end user. So the user thinks it’s an another issue.

To fix this you can add CausesValidation=”false” attribute to the linkbutton.


Ajax ComboBox Result List Position Problem

Posted: Tuesday, January 22, 2013 in

If you use the Ajax control toolkit’s ComboBox control inside a DIV element which It’s position set as relative, then the result list of the ComboBox will come in an odd location. Normally at the bottom of the parent div.

This happen because of the parent div position and the ComboBox’s list also showing based on that setting.

To fix this
1)      Add CssClass=”WindowsStyle” to the combobox tag

2)      Add this to the page
.WindowsStyle .ajax__combobox_itemlist
{position:inherit !important; }

Then the combobox result list will get its immediate parent’s position
On a side note, if you see the combobox is miss align with out controls add RenderMode=”Block”

Hope this helps.

Guitar Time.. no .NET in this post

Posted: Sunday, December 23, 2012 in Personal

Few months back I started my guitar lessons, but had to stop due to other work…
Now again I’m planning to start it from next month.. And badly want to practice Peaceful Easy Feeling by Eagles…
I know here strumming is the hard part in this…

Want The Look of VS 2010 in VS 2012

Posted: Thursday, December 20, 2012 in Uncategorized

If you don’t like the color and icons in Visual Studio 2012 and need the colors and icons of VS 2012, here are two tools that enable you to do that. So far I only changed the colors theme to VS 2010 default blue. And hope I can cope with the icons.

Visual Studio 2012 Color Theme Editor
Visual Studio Icon Patcher


C# 4.0 in a Nutshell from O’Reilly

Posted: Tuesday, September 25, 2012 in Uncategorized

Even though C# 4.0 was there for quite some time now.. Recently I had a chance to go through this O’Reilly’s C# 4.0 in a Nutshell book.
Its was worth reading. There were lot of thing that I didn’t know even I worked with C# 4.0 for years now.
I mostly went through the new things in 4.0. and it has explained all the things very well.
If you looking to get updated with all the new thing in 4.0 I think this is a must read..


The Virtual ASP.NET Conference

Posted: Sunday, July 15, 2012 in, Microsoft

go and join for the The Virtual ASP.NET Conference on july 17th and 18th for free.

Visual Studio 2012 RC

Posted: Sunday, June 3, 2012 in Uncategorized
Tags: ,

Yes now you can download the Visual Studio 2012 RC from