-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
SharePoint Designer Tutorial: Working with SharePoint Websites
By :
One of the nicest controls that SharePoint provides us with is the Calendar control. This control makes it easy for users to add a date into a form field. You will no doubt have seen these controls in use when booking a flight or a hotel room online. They are especially useful in helping to prevent confusion that can arise from the different way that North America and Europe treat dates (i.e. month/day/year as opposed to day/month/year).
We will add a Calendar control to a new page and use it to populate a text field:
Create a new ASPX page and call it birthday.aspx.
Type My birthday is: into the form on the page.
Drag a TextBox control from the Standard controls in the Toolbox onto the page to the right of the text we have just added.
Right-click on the TextBox control and select Properties from the shortcut menu.
Change the ID of the TextBox from TextBox1 to txtBirthday.
Next, we will drag a Calendar control from the Standard controls in the Toolbox onto the page.
Right-click...
Change the font size
Change margin width
Change background colour