Jawad Khan

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

My Links

News

Archives

Post Categories

Image Galleries

June 2005 Entries

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 (14) | 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 (3) | Filed Under [ ASP.NET ]

How to use different CSS Files in the Same template for Different WebSites in MCMS 2002 ...

Microsoft Content Management Server 2002 makes it easy to create multiple websites using the same template set. This feature is very useful if you are creating sites that require different feel and look but same/similar functionality or at-least share some templates between each other.The challenge here is how to add a CSS to the rendered posting so the feel and look is different depending on which MCMS Site Hierarchy you are in. Following is the solution. This solution allows you to treat

posted @ Monday, June 20, 2005 2:09 PM | Feedback (3) | Filed Under [ Microsoft Content Management Server ]

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 (3) | Filed Under [ ASP.NET ]

Troubleshooting MCMS 2002 Issues and very Useful Resources .....

This post will evolve with time. I wanted to share the resources that I myself use to troubleshoot the issues with MCMS deployments during my consulting assignments. I am just starting this post now but down the road I will also add step by step guide for things to check while installing and running MCMS 2002 installation in Production, Staging, Content and Development Environment. So keep visiting back to get more details.

posted @ Wednesday, June 08, 2005 11:46 PM | Feedback (4) | Filed Under [ Microsoft Content Management Server ]

MCMS 101 - Creating a BreadCrump Control that skips undesired Channels (Folders)

I have seem a few Breadcrumb Controls for Microsoft Content Management System that display the Hierarchy/Path of the current Posting(page). While designing a MCMS 2002 site the site-map is laid out in such a way that the Navigation of the site is made simple and its easily accessible by the MCMS API calls.Its common to have a Hierarchy like this /Channels/RetailerSite/en-CA/LeftNavigation/OurProducts/Computers and /Channels/RetailerSite/en-CA/LeftNavigation/ThirdPartyProducts/WebCams.

posted @ Wednesday, June 01, 2005 11:36 PM | Feedback (1) | Filed Under [ Microsoft Content Management Server ]

Powered by: