Chintan's Blog
Chintan Shah lives in Ahmedabad and enjoys creating applications with ASP.NET
-
asp:Label vs asp:Literal: Best Practices
-
Acessing ASP.NET Controls in Javascript: Best Practices
I try to spend as much time as possible on asp.net blogs and forums. I have observed many members posting part of their code on http://forums.asp.net to get the solution about the problem they are facing. One of the worst practices I have seen on forums is to use static control IDs in client script while writing javascript (I think they are getting that from ViewSource of the Page).
Static ID of the control used on asp.net page with master page looks somthing like: -
HTML Validation fails: Attribute "border" exists, but can not be used for this element.
Recently, I validated my website using HTML Validator. One strange error I found from validation result was:
-
Test Email Notification without configuring SMTP Server
Recently, I need to provide Email notification functionality in one of my projects. The problem was that application live server is not SMTP configured. But we need to code this function (Email Notification) ASAP, so that we can go live as soon as our live server is ready with SMTP.
So, I need to find a way to Test various Email notifications without SMTP.
After some searching, I found following simple way to do the same: