.Net calendar with advanced functionality

.Net calendar with advanced functionality

Calendar user controls with advanced functionality for .Net projects

  • Language: VB.NET
    Framework: ASP.NET
  • Released: Oct 28, 2011
    Last Update: Oct 29, 2011

NiceCalendar is an ASP.net user control that can be easily integrated into websites and web applications.

  • Written in VS2010 (.Net 4.0).
  • Can be used with C# or VB.Net.
  • Easy to integrate!
  • Includes calendar, date / time calculator (diff, add, subtract), and a text input for adding event information. All can be enabled / disabled as needed.

Many uses for calendars

Use NiceCalendar if you want to have modern calendar control, you need to calculate dates (bussines needs), or if you want to give your users the ability to add information on a specific date. It's all integrated in NiceCalendar.

Integration

  1. Include the NiceCalendar control in your project (NiceCalendar.ascx). Right click on web site in solution explorer-->Add existing item-->NiceCalendar.aspx
  2. Set desired properties of control

If you want to enable user text input for selected date, then you need to run SQL script NiceCalendarTableCreate.sql, in order to create the needed table in your SQL server database.

Properties

Properties can be used for customizing control (mostly for changing colors). To see better description use intellisense.

Examples of setting properties:

    NiceCalendar1._NavigationButtonsBackColor = "#999999"
NiceCalendar1._NavigationBackColor = "#666666"
NiceCalendar1._YearMonthBackColor = "#BABDBC"
NiceCalendar1._CalendarBackColor = "#3C4645"
NiceCalendar1._NiceCalendarWidth = 400
NiceCalendar1._DateCalculatorVisible = True
NiceCalendar1._DateCalculatorBackColor = "#6D756E"
NiceCalendar1._AccesorizeVisible = True
NiceCalendar1._AccesorizeBackColor = "#586463"
NiceCalendar1._TextAreaBackColor = "#AAA8B3"
NiceCalendar1._SaveDeleteButtonsBackColor = "#BCC0C0"
NiceCalendar1._SaveDeleteDivBackColor = "#8A9997"
NiceCalendar1._CalendarDayBackColor = "#D3D2D3"
NiceCalendar1._SelectedDateColor = "#E5E949"
NiceCalendar1._ConnectionString = "Data source=zbegic\sqlexpress;initial catalog=calBase;integrated security=No;user id=zvone234;password=ribata"
NiceCalendar1._UserSessionVariableName = "userSession"
NiceCalendar1._DayWithTextInputBackColor = "#FE870E"

And this is example how to use in C#:

protected void Page_Load(object sender, EventArgs e)
{
    NiceCalendar1._NavigationButtonsBackColor = "#000000";
    NiceCalendar1._NavigationBackColor = "#666666";
    NiceCalendar1._YearMonthBackColor = "#BABDBC";
    NiceCalendar1._CalendarBackColor = "#3C4645";
    NiceCalendar1._NiceCalendarWidth = 400;
    NiceCalendar1._DateCalculatorVisible = true;
    NiceCalendar1._DateCalculatorBackColor = "#6D756E";
    NiceCalendar1._AccesorizeVisible = true;
    NiceCalendar1._AccesorizeBackColor = "#586463";
    NiceCalendar1._TextAreaBackColor = "#AAA8B3";
    NiceCalendar1._SaveDeleteButtonsBackColor = "#BCC0C0";
    NiceCalendar1._SaveDeleteDivBackColor = "#8A9997";
    NiceCalendar1._CalendarDayBackColor = "#D3D2D3";
    NiceCalendar1._SelectedDateColor = "#E5E949";

    NiceCalendar1.ChangeDate += new WebUserControl.OnDateChange(NiceCalendar1_ChangeDate);


}


void NiceCalendar1_ChangeDate(object sender, DateTime d)
{
    Button1.Text = d.ToString();

}

Explanation of NiceCalendar properties:

alt text

Events

ChangeDate is event with which you can capture date change.

An example:

Protected Sub NiceCalendar1_ChangeDate(ByVal sender As Object, ByVal e As Date) Handles NiceCalendar1.ChangeDate

End Sub

e is selected date(user selected)

If you want to select some date programmatically use selectDateOnNiceCalendar sub

Example of selectDateOnNiceCalendar:

NiceCalendar1.selectDateOnNiceCalendar(New DateTime(2012, 7, 5))

Overview of NiceCalendar component parts

All components:

alt text

Calendar part only:

alt text

Calendar with date calculator:

alt text

Calendar with accecorize:

alt text

You need to log-in or create an account
  • Create an account
  • Log-in
Please use your real name.
Activation link will be sent to this address.
Minimum 8 characters
Enter your password again

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

X

Save your watchlist

Fill your details below to receive project updates from your watch list - including new versions, price changes and discounts.

I agree to the terms of use and privacy policy.

2 licenses, starting from From » $9.99 14 day money-back guarantee View Licenses
or Get a quote

for customization or integration services

Post a comment

Or enter your name and Email
No comments have been posted yet.