.Net calendar with advanced functionality

.Net calendar with advanced functionality

Released 3 years ago , Last update 3 years ago

Calendar user controls with advanced functionality for .Net projects

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

Pricing

$9.99

Personal License

  • Perpetual license

  • 1 site, unlimited servers

  • No distribution (hosted use only)

  • Commercial use

2 licenses, starting from From » $9.99 View Licenses

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.


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