Recent Posts

3
Comments

Conserving Resources When Writing BLOB Values to SQL Server and Streaming BLOB Values back to the Client by alessandro

Reading and writing blob data to/from your database can be a resource hog, because it normally involves holding the entire stream in memory. Holding 10kb, 20, 100kb in memory might not be an issue, however as you start allowing larger file uploads, your...
Filed under: ,
2
Comments

Automatically reload reCAPTCHA when postingback via a partial refresh (UpdatePanel) by alessandro

So, today, i wanted to use reCAPTCHA. Since this is an online service I was a bit skeptical at first with regard to downtime. However their faq states the following : reCAPTCHA has distributed locations and multiple servers. With that, we know that the...
Filed under: , ,
5
Comments

Part 2 : Building and binding hierarchical data from the database to the ASP.NET Navigation Controls by alessandro

Around last week , I wrote about how we can make use of, some of the databinding capabilities of controls, that can bind to hierarchical data like the TreeView. While I covered pretty much everything, the data i was binding to was not deeply nested. Instead...
8
Comments

Building and binding hierarchical data from the database to the ASP.NET Navigation Controls by alessandro

If we need to bind our navigations controls to hierarchical data we define manually ourselves in an xml file, this is easy as pie. However, things can get rather complicated or not so obvious when we need to generate this data from a database. First off...
10
Comments

Customizing the ChangePassword control and removing the required CurrentPassword field by alessandro

It's very rare that what is already provided in asp.net under the Login controls fits my requirements out of the box without some tweaking. Not that any of these controls offer anything specialized, but certainly they are a big time saver if we can re...
6
Comments

Reducing UpdatePanel bloat by utilizing UpdateMode="Conditional" and ChildrenAsTriggers="false" by alessandro

Just the other day, i was playing around with my DataControls nested inside an updatepanel. While this was working well, since everypostback was being done via an ajax callback, the amount of traffic going back and forth was simply way too bloated. It...
2
Comments

Semantically correct markup and the casual table. Can they co-exist ? by alessandro

I am sure by now, everybody has been scorned upon for not using semantically correct markup. It's all over the web today. The message is clear, Web standards are important. Valid Xhtml is important but above all, SEMANTICALLY CORRECT MARKUP! What is Semantically...
2
Comments

Tabmenu missing in the asp.net toolbox ? Not anymore! by alessandro

One of the things i find lacking in asp.net is a Tab control. A tabbed UI is quite useful if not a very essential UI component that is not included in asp.net by default, however you already have all the tools necessary to make one. What i do to get a...
Filed under: , ,
9
Comments

Failed to load viewstate ? Typical problem, with an obvious solution. by alessandro

Understanding viewstate is fundamental in asp.net, especially if you had run into : Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request...
Filed under: ,
2
Comments

Constructing a window frame to compliment the Popup and ModalPopup controls in AjaxControlToolkit library. by alessandro

ok, so, to continue my previous post on the AjaxControlToolKit(ModalPopup), one of the things I feel might be convenient is the addition of a window frame panel that can be used alongside the Popup or ModalPopup control. Both the Popup and ModalPopup...
More Posts Next page »