Browse by Tags

SamuraiProgrammer.Web.UI - v0.5
One of my friends suggested that I should provide a download for all of the little code snippets, controls, etc. that I throw up on my blog so people don't have to constantly copy/paste into their IDE of choice. I thought about it and it sounded like Read More...
Visibility of Fields Within FormView
A quick trick that I'm sure many of you know. Suppose you had a FormView on a page bound to a datasource. Within that FormView, you have several fields that may or may not contain data. Now, suppose that for whatever reason, your sponsor would like you Read More...
GridView Grouping and Checkbox Lists
I was helping a co-worker today with one of his screens and realized that it may makea useful little tutorial for all those other folks out there. This was somewhat interesting because it follows up pretty well on my previous postas I talk about saving Read More...
Input Validation
It seems that I always appear to run into this issue when performing code reviews. As has been well documented in various locations on the web - all input is evil, until proven otherwise. Some people attempt to mitigate this risk by providing dropdowns Read More...
ASP.NET 2.0: OnClientClick
I've known about this for a while, but I just helped a co-worker that did not know about this nifty new property on buttons - so here's a quick blog entry that I hope will help someone else out in the future. In .NET 1.1 days - when you had processing Read More...
Typeof Vs. TryCast
I was researching something this morning and came across a great blog entry from way back showing an update to the tried and true TypeOf and Ctype/DirectCast code. I realized immediately thatI could apply this little tidbit to my current code. In-fact, Read More...
ASP.NET 2.0: Textbox ReadOnly Property
This has been documented in numerous places includinghere, here, here(with an incorrect fix) and here. Essentially, if you set the Readonly Property of a textbox using either the XHTML or in the code-behind, any changes you make to the value of that textbox Read More...
.NET 2.0 and Access Databases
For an internal application at my company, very particular users have the rights to download an MDB that contains links to a replicated instance of a DB. This was done so they could create their own queries without any assistance from IT - essentially Read More...
Web Project Conversion - IConvertedPage
As I've mentioned previously, I'm currently in the midst of a project to convert an old web application from .net 1.1 to .net 2.0. This is a moderately sizable application containing 40+ aspx pages. We are not simply converting the project and code-base Read More...
ASP.NET Menu Control and <xhtmlConformance mode="Legacy" />
I have been working on a project lately to convert an ASP.net application from .net 1.1 to .net 2.0. As part of the upgrade, we are going to use the new ASP.Net Menu control - complete with the Sql Site Map Provider. Everything went extremely well - but Read More...