Please, ask any questions support@obout.com
1. How to use Calendar in my asp.net page?
At the top of your ASP.NET source-code page add:
<%@ Register TagPrefix="ob" Namespace="OboutInc.Calendar2" Assembly="obout_Calendar2_NET" %>
You can now use Calendar just like in the examples.
Calendar can also be added to the Toolbox of Visual Studio and
you can drag it on the page where you want
it to appear.
To see how to do this, take a look at
How to add Calendar to the Visual Studio Toolbox?
2. How to add a reference to Calendar in VS?
Go to toolbar menu Project > Add Reference > Click button 'Browse' >
> Find obout_
Calendar2_NET.dll > Click 'Open' > Click OK
Calendar can also be added to the Toolbox of Visual Studio and
you can drag it on the page where you want
it to appear.
To see how to do this, take a look at
How to add Calendar to the Visual Studio Toolbox?
3. How to install component on shared hosting server?
Make request to Customer Service of your hosting service.
They will install the component for you.
4. How to change the style of the Calendar?
Change the property StyleFolder to match the folder with the style you want.
Take a look at examples to see the available styles (themes).
5. How to create my own style for the Calendar?
Create a new folder inside Styles with the name of your new theme.
Copy the file Styles/style.css inside this folder.
Modify the included CSS classes:
.calendarCalendar
.calendarTitle
.calendarArrowLeft
.calendarArrowRight
.calendarMonth
.calendarMonthTitle
.calendarDayName
.calendarDay
.calendarDayToday
.calendarDayDisabled
.calendarDaySelected
.calendarDaySpecial
.calendarDatePickerButton
.blah
Note: you might not need to define all the styles above.
Take a look at the existing themes for examples.
6. How to add Calendar to the Visual Studio Toolbox?
For
Visual Studio 2005:
Go to toolbar menu Tools > Choose Toolbox Items... > Click button 'Browse...' >
> Find
obout_Calendar2_NET.dll > Click 'Open' > Click OK
To see how add a reference to the component in Visual Studio,
read
How to add reference to dll in Visual Studio project?
7. Where to put folder 'Styles' ?
Copy the Calendar/styles folder to your project.
Use the StyleFolder property to set the path to the folder with style.
Use web relative paths:
- If folder was placed in the same folder with your aspx file:
cbo1.StyleFolder = "Calendar/styles/default"
- If folder was placed to other location within the folder structure of your project
cbo1.StyleFolder = "~/path_to_other_location/Calendar/styles/default"
Also see How to set path for my page?
Also see How to run examples?
9. What browsers are supported?
Calendar has been tested and works the same under Internet Explorer,
Netscape Navigator, Mozilla FireFox, Safari and Opera.
Note: Calendar might also work correctly under other browsers, but it has not been tested yet.
10. Does Calendar work with ASP classic too, or only with ASP.NET?
Unfortunatelly this component does not work with ASP classic, only with ASP.NET.
11. How to use readonly textbox with date picker?
aspx
<asp:TextBox Readonly="true" runat="server" id="txtDate" />
<obout:Calendar runat="server" DatePickerMode = "true" TextBoxId = "txtDate" />
code behind - get the date after postback
string date = Request[txtDate.UniqueID];
12. Is Calendar hiding under other controls?
Set z-index = 10000 to make sure calendar appears over other elements.
.calendarCalendar {
z-index: 10000;
...
13. Is working perfectly on my development server, but it doesn't work on the production server.
On the server,
1. Open IIS console and go into properties of your website.
2. Switch to "Home Directory" tab.
3. Click on "Configuration" button under "Application Settings".
4. In the new window go into "Mappings" tab.
5. Copy (into notepad for example) all values for .aspx extension.
6. Click "Add" button to add a new entry.
7. "Executable" field is the same as the path for .aspx extension
(example: c:\windows\microsoft.net\framework\v2.0.50727\aspnet_isapi.dll).
8. "Extension" field must be ".axd".
9. Verbs are limited to "GET,HEAD,POST,DEBUG".
10. Uncheck "Verify that file exists" (important that it is unchecked).
Click OK on all open dialogs.
This should now reference web resource files correctly.