June 2005 Entries
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 ...
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,
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.
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
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 ...
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.
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.