Posts tagged asp.net

Disabling JavaScript

There seems to be a small but significant backlash to the proliferation of JavaScript. These days with buzzwords like Web 2.0 and AJAX becoming unavoidable, (see there they are again) some users seem to be getting sick of it and have started to “fight” back. Many people have started using the Firefox NoScript plug-in and others have just simply disabled JavaScript in their browsers. “Take that Web 2.0!” they shout. Read the rest of this entry »

Code Control Freaks vs Magic

I am a code control freak. If I don’t understand every aspect of how something works I can’t get comfortable using it. I don’t know a lot of programmers so I don’t know how common this is in the community. At work I program in ASP.Net using Visual Studio 2005, however, I only use it as a text editor (for the syntax highlighting and intellisense). I am not comfortable with the web project front-end since there is way too much magic going on in there. I don’t want to click a button and have the software generate a bunch of web pages, change some configuration settings and update the database. “Why?” you ask; because what if something goes wrong? I would have no idea how my own application actually works or where to begin looking for bugs. If you surf in a couple ASP.Net forums you will see a lot of users posing questions that show a definite lack of understand about how things work. Read the rest of this entry »

ASP.Net Dynamic Controls (Part 2)

Note: While this technique works and is valid you are best to use the proper method which utilizes proper HTML form submission, is standards compliant and accessible.

In the last installment I brought to light the issues involved with using dynamic controls in an ASP.Net page. For the most part it was simply background on the topic so that this second more interesting part would make sense. The final point was that in certain situations you needed to know the result of an event before you could create the dynamic controls which is not possible to do without some sort of hack. The controls must be created, at the latest, in Page_Load but the page events fire after that, dilemma. Read the rest of this entry »

ASP.Net Dynamic Controls (Part 1)

If you have ever tried to work with dynamic controls in ASP.Net you’ve probably run afoul of the tons of limitations and pulled a good number of hairs out. It shouldn’t be this difficult should it? I don’t think so! The main issue with dynamic controls is that they don’t really fit into the ASP.Net Page framework since they don’t exist when ASP.Net is doing all its behind the scenes work. Read the rest of this entry »