Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

eWorld.UI calendar control

with 4 comments

I would suggest you to use eWorld.UI Calendar control as your calendar as it provides feature rich functionality and it’s free. There are many calendar available on the net but after trying for many calendars, I landed on this one. You can see it’s feature on this Demo.

Also there is best approach to use custom control. Generally people add it by drag-drop in the form. So page generates reference tag and the control tag. as per following:

<%@ Register Assembly=”eWorld.UI, Version=, Culture=neutral, PublicKeyToken=24d65337282035f2″
Namespace=”eWorld.UI” TagPrefix=”ew” %>

The above tag is rendered when you add it from the global assembly cache. And it won’t render assembly version if you use local version of DLL that is in the bin folder. Now the issue is, suppose your project leader comes and tell you that new version of the control is in the market and use it inplace of current one. You thinking of just replacing the DLL into the bin directory. But that is not the case here as it uses version number also (in case of global assembly cache). Then you would be frustrated regarding whole scenario and may be sit for longer hours in a day to complete the whole thing as you promised your project leader to complete it today :-). Too Bad…

Now, think of the following solution. You put same tag in the web.config file for the custom control as follows:
(This would be under web.config file > system.web >Pages)

<add tagPrefix=”ew” assembly=”eWorld.UI, Version=, Culture=neutral, PublicKeyToken=24d65337282035f2″ namespace=”eWorld.UI” />

This control is automatically referred to every pages where needed. No reference tag is inserted in all the pages. Now, think of above scenario of changing the control. If you have done this method, you can be relax if newer version released frequently or project leader tell us to update new control or may be you can even replace another control with same properties instead of eWorld.UI. Just Great :-). If you learn to use, how to write manageable code or functionality then you would be relax when major changes requested (Not every time though 😦 ). But still some of the part is in our own hand. Enjoy !!!


Written by Manish

December 14, 2006 at 1:11 pm

Posted in .NET

4 Responses

Subscribe to comments with RSS.

  1. Hi Manish Pansiniya,

    Small question .
    I have this control which displays e.g.
    “3/27/2007” (M/dd/yyyy)

    But I want to change this setting to “2007-03-27” (yyyy-MM-dd).

    Can you please help us out?

    I was looking into the Culture property of the control. But all the properties were read-only.

    Thanks for your effort,

    George Gelsing


    March 22, 2007 at 10:31 am

  2. I have aproblem in my web site. When I redirect page using response.write(“page.aspx”); it ir getting redirected to url/CalendarPopup1
    Which does not exists.
    Help me


    January 7, 2009 at 6:27 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: