Posted by : Anwar Hossain
Category : How to use ajax toolkit in C#

how to use ajax calendar extender in asp net c#

Dear viewers hear I will show how to use ASP.NET AJAX Calender Extender with a textbox. This Calender Extender pass date time value to the textbox so that it can be saved database date time field. I have also used a calendar image to clearly view so you need to take an image control and calneder image icon. It can be said very useful as a cliendside easily display. At first we need to take a text box then take image control and assign calendar icon to the image control . Now add AJAX CalendarExtender tag to the page

Use ajax calendar extender in ASP.NET C#


<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<html xmlns="">
<head runat="server">
  <form id="form1" runat="server">
  <asp:TextBox ID="txtDate" runat="server" />
  <asp:CalendarExtender ID="txtDate_CalendarExtender" runat="server"
  Enabled="True" PopupButtonID="Image1" TargetControlID="txtDate">
  <asp:Image ID="Image1" runat="server" ImageUrl="~/CalenderImageIcon.jpg"
  Width="18px" />
  <br />
  <asp:ScriptManager ID="ScriptManager1" runat="server">

Out Put

Realted Article Headline

How to use TextBoxWatermarkExtender in using c#
How to use Ajax AutoCompleteExtender control in using c#
How to use Ajax Collapsible panel control in c#
How to use ASP.Net AJAX Control Toolkit ModalPopupExtender Control in c#
how to add an Ajax Control Toolkit Accordion to a page
How to use html editor Ajax control toolkit example in c#
How to use Ajax ConfirmButtonExtender in using c#
how to use ajax calendar extender in asp net c#
How to use ajax toolkit FilteredTextBox Control in c#

Article Category

How to create control dynamically
Learn HTML for beginner
DataList example in C Sharp
Mail sending in c#
State Management in ASP C #
Basic sql tutorial for Beginner
DataTable example in ASP.Net C#
How to use LINQ in ASP.NET C# c # basic tutorial
How to use ajax toolkit in C#
How to use different types of validation control using c#
How to use grid view in c#
Protected by Copyscape Online Plagiarism Detection