(fixed) See next post
I have a RadDatePicker on my page that is declared like this...
The OnSelectedDateChanged event is in the code behind (of course). It looks like this.
However, when I try to run this page I get this very confusing error.
Compiler Error Message: CS1061: 'ASP.location_addeditactivity_aspx' does not contain a definition for 'radDateStart_OnSelectedDateChanged' and no extension method 'radDateStart_OnSelectedDateChanged' accepting a first argument of type 'ASP.location_addeditactivity_aspx' could be found (are you missing a using directive or an assembly reference?)
Source Error:
What gives? Any idea what it going on here?
Cheers
Brad
I have a RadDatePicker on my page that is declared like this...
<
telerik:RadDatePicker
OnSelectedDateChanged
=
"radDateStart_OnSelectedDateChanged"
AutoPostBack
=
"true"
Skin
=
"CKCRadSkin"
EnableEmbeddedSkins
=
"false"
EnableEmbeddedBaseStylesheet
=
"false"
ID
=
"radDateStart"
runat
=
"server"
/>
The OnSelectedDateChanged event is in the code behind (of course). It looks like this.
private void radDateStart_OnSelectedDateChanged(object sender, Telerik.Web.UI.Calendar.SelectedDateChangedEventArgs e)
{
}
However, when I try to run this page I get this very confusing error.
Compiler Error Message: CS1061: 'ASP.location_addeditactivity_aspx' does not contain a definition for 'radDateStart_OnSelectedDateChanged' and no extension method 'radDateStart_OnSelectedDateChanged' accepting a first argument of type 'ASP.location_addeditactivity_aspx' could be found (are you missing a using directive or an assembly reference?)
Source Error:
|
Line 104: <tr>
Line 105: <td style="padding: 0 0 0 0;">
Line 106: <telerik:RadDatePicker OnSelectedDateChanged="radDateStart_OnSelectedDateChanged" AutoPostBack="true" Skin="CKCRadSkin" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false" ID="radDateStart" runat="server" />
Line 107:
|
What gives? Any idea what it going on here?
Cheers
Brad