Hi all
I'm creating a user control which builds on the RadDatePicker, essentially giving the developer the opportunity to pair date pickers together to form a min/max combination. But on adding the user control to an aspx page, none of the inherent RadDatePicker client side stuff seems to work!
User control.
with nothing in the code behind yet.
I add this custom control to my aspx page like so:
It appears on the page, but when I click on the calendar image, nothing happens! Its as if none of the JS is working...
Any hints for me?
Thanks in advance
kitster
I'm creating a user control which builds on the RadDatePicker, essentially giving the developer the opportunity to pair date pickers together to form a min/max combination. But on adding the user control to an aspx page, none of the inherent RadDatePicker client side stuff seems to work!
User control.
<%@ Control Language="C#" AutoEventWireup="true" ClassName="kitsTest" CodeBehind="itsMinMaxRadDatePicker.ascx.cs" Inherits="UserControls.itsMinMaxRadDatePicker" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
telerik:RadDatePicker
ID
=
"itsRadDatePicker"
DateInput-OnClientDateChanged
=
"itsMinMaxRadDatePicker"
runat
=
"server"
/>
I add this custom control to my aspx page like so:
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/FormMasterPage2.master" AutoEventWireup="true" CodeBehind="AcademicYearEdit.aspx.cs" Inherits="Infrastructure.AcademicYearEdit" %>
<%@ Register TagPrefix="itsRadDatePicker" TagName="kitsTest" Src="UserControls/itsMinMaxRadDatePicker.ascx" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
asp:Content
ID
=
"Content3"
ContentPlaceHolderID
=
"MainContentPlaceHolder"
runat
=
"server"
>
<
itsRadDatePicker:kitsTest
ID
=
"test1"
runat
=
"server"
></
itsRadDatePicker:kitsTest
>
</
asp:Content
>
It appears on the page, but when I click on the calendar image, nothing happens! Its as if none of the JS is working...
Any hints for me?
Thanks in advance
kitster