Jawad Khan

Jawad's Lodge - The willingness to torture yourself before others is what makes a developer truly a unique breed.
posts - 45, comments - 150, trackbacks - 155

My Links

News

Archives

Post Categories

Image Galleries

ASP.NET

This section will contain Tips and Tricks, Talks and News about ASp.Net related Posts.
How to make sure that the file is downloaded completely by the Users of Web Application ...

While developing a Website you might want to limit the users to download the file only once or would like to hide the link if they successfully downloaded a particular file. In traditional way of downloading the file its hard to know on the server side that file is downloaded successfully by the client. Solution is to stream the file in small chunk and make sure that is connected before streaming the next chunk. If you sucessfully transmitted the whiole file then this would mean that client has

posted @ Tuesday, November 01, 2005 12:00 PM | Feedback (2) | Filed Under [ ASP.NET ]

Troubleshooting ASP.Net Validation Controls ....

Validating user input is an important requirement of most web applications. However, many ASP.NET developers find the standard ASP.NET validation controls to be either hard to use or lacking in features. Peter Blum answers the most frequently asked questions concerning ASP.NET validation.

posted @ Friday, September 30, 2005 9:22 AM | Feedback (0) | Filed Under [ ASP.NET ]

ASp.Net: Search for a Particular User in Active Directory

If you are using FomrsAuthentication against ActiveDirectory you might want to search if a User Id exist in Active Directory or not before taking certain action like creating new profile.This return true or false depending on if user is found or not.

posted @ Friday, August 26, 2005 12:07 PM | Feedback (2) | Filed Under [ ASP.NET ]

How to Bind Enum Types to the Dropdown or any other bindable Control in ASP.Net .....

While working on a Data Form in an ASp.Net application you might want to get a value from the user that corresponds to the Enum you created in your Business Layer. Since Enum types are not strings or .ToString() function doesn't work directly with Enums you need to do it in slightly different way ... Solution: Lets take an example ...

posted @ Friday, June 24, 2005 12:05 PM | Feedback (19) | Filed Under [ ASP.NET ]

Free Internet Explorer (IE) Spell Checker ...that spell checks text Imput Boxes on WebPages ...

ieSpell is a free Internet Explorer browser extension that spell checks text input boxes on a webpage. It should come in particularly handy for users who do a lot of web-based text entry (e.g. web mails, forums, blogs, diaries). Even if your web application already includes spell checking functionality, you might still want to install this utility because it is definitely much faster than a server-side solution. Plus you get to store and use your personal word list across all your applications,

posted @ Thursday, June 23, 2005 1:48 PM | Feedback (9) | Filed Under [ ASP.NET ]

Storing an extra field in an ASP.Net Dropdown List perhaps Primary key with key and value fields .....

In numerous occasions you want to display a drop down box that contains for example a Cit and City No but you also want to have it linked with let's say Employee number since the city list is in a Form where you filling the employee data. the out of box drop down doesn't allow you to store more then 2 fields at a time. Following solution allows you to store an extra field with the given 2 fields in ASP.Net drop down list.

posted @ Tuesday, June 21, 2005 10:09 AM | Feedback (2) | Filed Under [ ASP.NET ]

How to add PostBack to any HTML Web Control that supports JavaScript onClick event ...

I was recently working on one of my project and needed to add postback of a button to one of the images on my Page. After doing some research I found out that it is real easy to add Postbacks to your HTML elements that support Javascript onClick event ... Also sometimes you are generating anchor hyperlinks in your code behind and want the page to be posted back to the sever when someone clicks on those links rather then going to another page. Here is how to accomplish this ...

posted @ Wednesday, June 15, 2005 10:24 AM | Feedback (1) | Filed Under [ ASP.NET ]

How to Position the ASP.NET page to a particular vertical position on PostBack ...

In ASP.Net projects I have come across numerous time that you need to position the the page at certain vertical location on PostBack. For example you might have multiple long Panels or grids that when clicked need to post back the data to the server and return to certain other panel or Grid on the Page. SmartNavigation feature of ASP.Net allows you to keep the last click position on post back but does not allow the positioning of the page to any other desired location.

posted @ Wednesday, May 25, 2005 11:21 PM | Feedback (26) | Filed Under [ ASP.NET ]

Free Rich text Editor very useful for Community based ASp.Net Websites or Any ASP.Net website ...

Community Editor is web based WYSIWYG HTML editor. It enables ASP.Net Web developers to replace the Textarea in your existing/new Web Sites with a powerful, but easy to use WYSIWYG Editor. This rich editing tool empowers end users with an intuitive, easy-to-use interface for creating and publishing Posts/Forms without relying on any client-side components or controls.

posted @ Wednesday, May 25, 2005 11:57 AM | Feedback (45) | Filed Under [ ASP.NET ]

Adding, Updating, Invalidating , Setting Callback and Removing Data Cache in ASP.Net ....

ASP.Net has a very powerful Cache Management component. Cache is part of the most enterprise level .Net project. ASP.Net Data Cache is very flexible and is also available to Windows application by making use of HttpRuntime.Cache object. Microsoft provides a Cache Management Application Block but it can be overkill for lot of applications .....

posted @ Monday, May 23, 2005 10:08 PM | Feedback (3) | Filed Under [ ASP.NET ]

Full ASP.NET Archive

Powered by: