Browse by Tags

All Tags » asp.net (RSS)
So, I'm working on a Web Application Project in Visual Studio 2008 and I realize I don't have a strongly typed Profile object...So I Google around and find that this a Problem in Visual Studio 2005 and that Microsoft didn't fix the problem in VS 2008...
Posted by kevinisom | 1 comment(s)
Filed under: , ,
Had a instance where I needed to close the Popup Control with JavaScript 1: < ajax:PopupControlExtender ID ="pceShowPanel" runat ="server" 2: TargetControlID ="showPanel" 3: PopupControlID ="popupPanel" 4: BehaviorID ="popupBehavior" 5: /> .csharpcode...
Tedious coding sucks. SubSonic saves lots of time. But I want it to save me more. So I've started working on a method that will fill out the controls for me so I don't have to. It's simple really. I just new() up a the model I will use and pass it to...
Posted by kevinisom | 6 comment(s)
Filed under: , ,
Have you ever wanted to grab bulk data on a grid view? It's actually not that hard at all. Set the System.Web.UI.WebControls.GridView.DataKeys Property on the Grid, then on the postback event iterate over the grid like so. 1: foreach (GridViewRow row...
Posted by kevinisom | 1 comment(s)
Filed under: ,
I think SubSonic is simply amazing. It has saved me so much time and effort of writing. One little trick that it's got is the LoadFromPost method the Models inherit from the SubSonic.AbstractRecord<T> class. What LoadFromPost does is iterate over...
Posted by kevinisom | 10 comment(s)
Filed under: ,
I recently updated an application to the latest version of the Ajax Control Toolkit and my AutoComplete Extender broke. It was returning the list fine. but in the dropdown the only values showed were undefined. Not cool. But after some research I changed...
While using a cookie parameter for an ObjectDataSource I discovered that you get the whole cookie, not the value from a key....So instead of my method getting passed the value, it was getting passed key=value. Needless to say I was a little miffed. But...
Posted by kevinisom | with no comments
Filed under: ,
SubSonic is such a time saver. Fresh out of the box it gives you so much goodness that it makes you wonder how you developed without it. However one feature I find lacking is that it doesn't have a paging method from the get go. However it's easy enough...
Posted by kevinisom | 3 comment(s)
More Posts