<<  January 2012  >>
MoTuWeThFrSaSu
2627282930311
2345678
9101112131415
16171819202122
23242526272829
303112345

Merging ASPNETDB.mdf

by Tim 10. November 2011 18:57
I'm into the finishing stages of my new music site and remote deployment is just around the corner. I've been working with two databases, one of which is automatically created by the ASP.NET SQL Server registration tool (Aspnet_regsql.exe). The registration tool is used to create a Microsoft SQL Ser... [More]

Looping Through Server Controls

by Tim 7. October 2011 09:14
Looping through a particular set of server controls is quite straight forward, especially if you use group naming conventions. For example, I have three file upload controls on my page that I want to loop through. I assign the ID names as follows: pictureFileUpload1 pictureFileUpload2 pictureFileU... [More]

Tags: ,

ASP.NET | C#

Using Themed CSS Files Requires A Header Control On The Page.

by Tim 23. February 2011 19:30
I'm building an ASP.NET 3.5 site that has the Theme set in the web.config file: <pages theme="Sepia"> Recently, I've been working on a page that produces a syndication feed. For this particular ASPX page I don't want any HTML as the page will be rendered by the browser as ATOM/... [More]

Passing Data Between User Controls

by Tim 15. February 2011 16:31
The key to understanding how to pass data between User Controls lies in the Page Life cycle. Here is a snippet of the Page Life Cycle that we can reference for the following task: Page: Load Control: DataBind Control: Load Page: EnsureChildControls Page: LoadComplete Page: EnsureChildControl... [More]

Tags: ,

ASP.NET | C#

An Easy Way to Disable a Textbox Postback

by Tim 31. October 2010 14:37
The day eventually dawned when I needed to use a form within a (ASP.NET) form. The contained form didn't need to be run at the server so I didn't envisage a problem. The form was just a simple textbox and submit button. When the form was submitted it would send the contents of the textbox to a site ... [More]