Important facts about commercial licenses

  • Licenses are perpetual. They do not expire and do not need to be renewed.
  • Licenses can be upgraded. You can upgrade to a more expensive license later paying only the difference in cost.
  • Pay attention to the distribution type - Hosted (sites / servers), binary (applications) or source (includes all the others). Choose according to your needs (more below).
  • All licenses allow commercial use unless otherwise indicated.
  • Read the full license by clicking on the icon.
  • Read more about licenses in our handy license guide.
$9

Personal License

1 site, unlimited servers No source distribution
$49

Developer licence

Unlimited projects Source and binary distribution
You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

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

  • Released: Oct 28, 2011
    Last Update: Oct 29, 2011
  • Language: VB.NET
    Framework: ASP.NET
  • Time / costs savings: 10h / $600 *

.Net calendar with advanced functionality

.Net calendar with advanced functionality
Developed by Zvonimir Begić, Released Oct 28, 2011

Calendar user controls with advanced functionality for .Net projects

VB.NET

Tags: accesorize , calendar , datetime , user control

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

User Reviews

No reviews have been submitted yet.

Questions & Comments


Or enter your name and Email
No comments have been posted yet.
You must be logged-in to vote. Log-in to your account or register now.