Browse by Tags

All Tags » ASP.NET (RSS)
I posted in the past how to do a simple search engine friendly redirect using the 301 HTTP status code .  I thought this was always something that needed to be included in the framework and it looks like it finally will be in .NET 4.0.  I saw...
Anyone else out there notice that if you add an generic handler to your project that it won’t compile?  It appears to be an issue with the template included in Visual Studio and it may have been resolved in a service pack but currently I don’t think...
I’ve have been using SharePoint’s DelegateControl a lot again lately.  If you are not familiar with it, it allows you to drop a placeholder on a page and then later specify what control goes in it by activating a feature.  You can effectively...
with no comments
Filed under: ,
A common question I get with new SharePoint developers is "How do I deploy my user control in SharePoint?". Many times they know of the SmartPart or even how to make their own , but its the matter of deploying things that may not be clear. Before...
Look! It's a post that isn't about SharePoint! Today, I want to talk about some of the issues I have run into when trying to update data using a GridView when bound to a LinqDataSource. This data source has an EnableUpdate property, but unfortunately...
with no comments
Filed under: , ,
LINQ to SQL has already proved to be extremely easy to use to create object relational mappings when you have an existing database schema using the Object Relational Designer. This designer is good, but you may not want something that is autogenerating...
Kind of a weird tip here, but I have ran into a situation where I have needed to do this. Basically, I have had an existing class library (for SharePoint development) and for some reason, I have decided I need to add ASP.NET file types to it (i.e. User...
I ran into this one again lately when deploying. We are folowing best practices with our connection strings by using Integrated Security. We have several controls on the web site making use of SqlDataSource controls. However, at runtime, we are left when...
I have often bound GridViews to my own custom objects. However today, I needed to bind a GridView to a List<string>. I needed to customize the columns a bit and I soon realized I did not know what to specify as a DataField. I tried Item and just...
Filed under:
Ok, well I started writing this post yesterday and somehow I accidently closed my browser and lost the entire contents of the post, so here I am at it trying it again. Lately, I have been working with a TreeView to handle hierarchical naviagation. Specifically...
Filed under:
Repeaters have always been a necessary evil. They are simply the only practical way to do custom formatting when binding to lists of data. Oddly enough, it turns out that not everyone just wants to display a grid of data. In the past, by using the repeater...
Filed under: ,