Archive for the 'ASP.NET' Category

To validatethe user input in any application we write code or use some validation controlsand we repeat this task on each and every page of application. So why not writea generic solution for that which can handle the job and also which can bereusable for any application.
I am sorryto say I am not going to [...]


In almost every web form few fields are required to save the information and to indicate that we use a seperate label to show a sign with that field like * is the most common one. For example * User Name here user name field is required so we put an * here to indicate user. We [...]


Google Co-op is a platform that enables you to customize the web search experience for users of both Google and your own website.
so go to http://www.google.com/coop/ and create your own search engine for your site and use google services for search.
see i have created a sample for my blog
 http://www.google.com/coop/cse?cx=004912805684274411112%3Ajaw58cdgos8
after creating the search engine follow the instructions from google [...]


When working on web projects there is a common requirement is to show flash files as a banner. Html Object tag allows you to show flash files but its a core html tag, what if you want to add have this functionality on server side? Here is the simple solution
using System.ComponentModel;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Web;
using [...]