Welcome to AspAdvice Sign in | Join | Help

Orcs Goblins and .NET

I enjoy reading and writing. I hope you enjoy at least the former.

Browse by Tags

All Tags » Tips
Generic Recursive Find Control Extension
Earlier today I posted about a Recursive Find Control Extension Method . I was informed recently by Steve Smith that I should check out the generic find control method which Aaron Robson has on his blog . He has some pretty nice methods there, so I just Read More...

by Brendan | 0 Comments

Creating a Recursive FindControl Extension Method
So one of the most useful methods for ASP.NET development that never seems to be included in ASP.NET is a recursive find control method. This problem results from the standard FindControl method on controls only searching within that control. It only Read More...

by Brendan | 0 Comments

Silverlight Expired The Pain of Reinstalling
So I have been ignoring these messages I've been receiving for a while about Silverlight. Now I might not have ignored it, but it said my version of Silverlight expired. Ok so big deal. You might say, "Why not just go get a new version?" Well it says Read More...

by Brendan | 0 Comments

Filed under: , ,

Unpacking Tuples in Python
There are plenty of reasons why I like the Python language. Yes, I know it is an interpreted language and it is very dynamic. While looking at some JavaScript mere moments ago, I saw someone pass back two values from a function. This is one thing that Read More...

by Brendan | 1 Comments

Filed under: ,

Accessing Controls inside of Templated Controls
One question that seems to come up often in the asp.net forums is from people who are trying to access controls within controls using templates. LoginViews and CreateUserWizard controls are two commonly used templated controls. These templated controls Read More...

by Brendan | 2 Comments

Using a Numbers Table to Iterate Over Dates
I recently wrote some SQL which would do some work for a single day, but I wanted my code to be able to run once for each day in a date range. Luckily for me, I read Gregg Stark's SQL Blog . He recently posted about how to Iterate Over a List of Dates Read More...

by Brendan | 2 Comments

Filed under: ,

Numbering the Rows Returned from a SQL Query
Outside of SQL it would be quite easy to number the rows returned from query, but to do so inside of the SQL is a bit more difficult. I recently wanted to be able to number the rows returned from a query in a stored procedure. I am using SQL Server 2000, Read More...

by Brendan | 0 Comments

Filed under: , ,

Installing SQL Server Management Studio with SQL Server
Update (24 March 2008): Steve Smith found a more reliable solution to install the SQL Server Client Tools . Once in the tools folder open the setup folder and in there is a SqlRun_Tools.msi file. If you run that it should actually install SSMS. When I Read More...

by Brendan | 14 Comments

Dynamically Register an Asynchronous Postback Control with a ScriptManager
In order to use an update panel you have to specify the triggers either individually or by setting the ChildrenAsTriggers property of the UpdatePanel. Sometimes you may need to set these triggers dynamically such as if the desired trigger is inside of Read More...

by Brendan | 0 Comments

Filed under: , ,

Accessing Properties of a Base Page from a User Control
Earlier today I was helping someone who was working with a user control. That control was on an ASP.NET page which was inheriting from a base page. From the user control he could not access the properties of the base page. He mentioned that he was getting Read More...

by Brendan | 0 Comments

Filed under: ,

Simple Lazy Loading
Lately, I’ve noticed a lot of people who are not careful about how they load objects. Managing objects is a fundamentally important part of software development. Lets say for example I have an integer in the query string, and I need to use this Read More...

by Brendan | 0 Comments

The Blog Only Idiots Do Not Read
In this new age when the Internet is becoming the medium of choice, blogs are rapidly gaining momentum. It is nice to be able to get information direct from the experts in any area. The ease with which one is able to obtain this information is astounding, Read More...

by Brendan | 4 Comments

Filed under: , ,

Visible Whitespace in Visual Studio
Something quite horrible happened to me today. While I was working on some of my code, I accidentally hit some keys while holding the control key down. Unfortunately for me I did not see the keys I hit. Well now instead of seeing whitespace there were Read More...

by Brendan | 25 Comments

Filed under: ,