Please see the following link to reproduce the issue:
http://test.courseacademy.com/itil-training.aspx
if you select either 'download voucher' or 'make an enquiry' a panel is opened with a form on it.
There are some required fields shown which are validated via a radinputmanager, but if you click into the fields the empty message text does not disappear. If you trace it through using firebug, you see this error when it try's to do an ajax post back when first opening the panel.
An invalid or illegal string was specified
[Break On This Error] }l.insertRule(d[b]+"}",b+1);
Here is the mark up of the page
Heres the Radinput manager mark up
Heres the page load event as the script manager and ajax manager are all used on the master page above
Any ideas or fixes please?
http://test.courseacademy.com/itil-training.aspx
if you select either 'download voucher' or 'make an enquiry' a panel is opened with a form on it.
There are some required fields shown which are validated via a radinputmanager, but if you click into the fields the empty message text does not disappear. If you trace it through using firebug, you see this error when it try's to do an ajax post back when first opening the panel.
An invalid or illegal string was specified
[Break On This Error] }l.insertRule(d[b]+"}",b+1);
Here is the mark up of the page
<
div
id
=
"frm-voucher"
>
<
asp:HiddenField
ID
=
"OfferCourseName"
runat
=
"server"
Value
=
"ITIL Training Voucher"
/>
<
asp:RadioButton
ID
=
"optVoucher"
class
=
"optVoucher"
OnCheckedChanged
=
"EnquiryTypeChanged"
AutoPostBack
=
"True"
GroupName
=
"EnquiryType"
Text
=
"Download voucher"
runat
=
"server"
/>
<
asp:Panel
ID
=
"pnlVoucher"
runat
=
"server"
Visible
=
"false"
CssClass
=
"frm-voucher"
>
<
p
>To download your voucher, please fill in your details below:</
p
>
<
div
class
=
"line"
>
<
label
>Name <
span
class
=
"req"
>*</
span
></
label
>
<
asp:TextBox
ID
=
"vchName"
Width
=
"400"
ValidationGroup
=
"vchFrm"
runat
=
"server"
></
asp:TextBox
>
</
div
>
<
div
class
=
"line"
>
<
label
>Company </
label
>
<
asp:TextBox
ID
=
"vchCompany"
Width
=
"400"
ValidationGroup
=
"vchFrm"
runat
=
"server"
></
asp:TextBox
>
</
div
>
<
div
class
=
"line"
>
<
label
>Email <
span
class
=
"req"
>*</
span
></
label
>
<
asp:TextBox
ID
=
"vchEmail"
Width
=
"400"
ValidationGroup
=
"vchFrm"
runat
=
"server"
></
asp:TextBox
>
</
div
>
<
div
class
=
"line"
>
<
label
>Telephone <
span
class
=
"req"
>*</
span
></
label
>
<
asp:TextBox
ID
=
"vchTelephone"
Width
=
"400"
ValidationGroup
=
"vchFrm"
runat
=
"server"
></
asp:TextBox
>
</
div
>
<
div
class
=
"line"
>
<
label
>Enquiry details </
label
>
<
asp:TextBox
ID
=
"vchEnquiry"
Width
=
"400"
Height
=
"70"
TextMode
=
"MultiLine"
ValidationGroup
=
"vchFrm"
runat
=
"server"
></
asp:TextBox
>
</
div
>
<
div
class
=
"linebtn"
>
<
asp:ImageButton
ID
=
"vchBtnSubmit"
ImageUrl
=
"/images/btn-submit-yellow.gif"
ValidationGroup
=
"vchFrm"
runat
=
"server"
/>
<
p
>Fields marked with <
span
class
=
"req"
>*</
span
> are mandatory.</
p
>
</
div
>
</
asp:Panel
>
<
asp:Panel
ID
=
"pnlVoucherThanks"
runat
=
"server"
Visible
=
"false"
CssClass
=
"frm-voucher"
>
<
p
>Thank you for downloading your voucher. It will be sent to you by email shortly.</
p
>
</
asp:Panel
>
<
asp:RadioButton
ID
=
"optGeneral"
class
=
"optGeneral"
OnCheckedChanged
=
"EnquiryTypeChanged"
AutoPostBack
=
"True"
GroupName
=
"EnquiryType"
Text
=
"Make a general enquiry"
runat
=
"server"
/>
<
asp:Panel
ID
=
"pnlGeneral"
runat
=
"server"
Visible
=
"false"
CssClass
=
"frm-general"
>
<
p
>To download your voucher, please fill in your details below:</
p
>
<
div
class
=
"line"
>
<
label
>Name <
span
class
=
"req"
>*</
span
></
label
>
<
asp:TextBox
ID
=
"genName"
Width
=
"400"
ValidationGroup
=
"genFrm"
runat
=
"server"
></
asp:TextBox
>
</
div
>
<
div
class
=
"line"
>
<
label
>Company </
label
>
<
asp:TextBox
ID
=
"genCompany"
Width
=
"400"
ValidationGroup
=
"genFrm"
runat
=
"server"
></
asp:TextBox
>
</
div
>
<
div
class
=
"line"
>
<
label
>Email <
span
class
=
"req"
>*</
span
></
label
>
<
asp:TextBox
ID
=
"genEmail"
Width
=
"400"
ValidationGroup
=
"genFrm"
runat
=
"server"
></
asp:TextBox
>
</
div
>
<
div
class
=
"line"
>
<
label
>Telephone <
span
class
=
"req"
>*</
span
></
label
>
<
asp:TextBox
ID
=
"genTelephone"
Width
=
"400"
ValidationGroup
=
"genFrm"
runat
=
"server"
></
asp:TextBox
>
</
div
>
<
div
class
=
"line"
>
<
label
>Enquiry details </
label
>
<
asp:TextBox
ID
=
"genEnquiry"
Width
=
"400"
Height
=
"70"
TextMode
=
"MultiLine"
ValidationGroup
=
"genFrm"
runat
=
"server"
></
asp:TextBox
>
</
div
>
<
div
class
=
"linebtn"
>
<
asp:ImageButton
ID
=
"genBtnSubmit"
ImageUrl
=
"/images/btn-submit-yellow.gif"
ValidationGroup
=
"genFrm"
runat
=
"server"
/>
<
p
>Fields marked with <
span
class
=
"req"
>*</
span
> are mandatory.</
p
>
</
div
>
</
asp:Panel
>
<
asp:Panel
ID
=
"pnlGeneralThanks"
runat
=
"server"
Visible
=
"false"
CssClass
=
"frm-general"
>
<
p
>Thank you for making your enquiry. We will reply to you shortly.</
p
>
</
asp:Panel
>
</
div
>
<
p
>This rate applies to 5 day scheduled courses only and cannot be used in conjunction with other offers. All courses subject to availability.</
p
>
</
div
>
Heres the Radinput manager mark up
<telerik:RadInputManager ID=
"RadInputManager1"
runat=
"server"
>
<telerik:TextBoxSetting Validation-ValidationGroup=
"genFrm"
BehaviorID=
"genTxtBxBhv"
EmptyMessage=
"Required Field"
Validation-IsRequired=
"true"
>
<TargetControls>
<telerik:TargetInput ControlID=
"genName"
/>
<telerik:TargetInput ControlID=
"genEmail"
/>
<telerik:TargetInput ControlID=
"genTelephone"
/>
</TargetControls>
</telerik:TextBoxSetting>
<telerik:TextBoxSetting Validation-ValidationGroup=
"genFrm"
BehaviorID=
"genTxtBxBhv2"
Validation-IsRequired=
"false"
>
<TargetControls>
<telerik:TargetInput ControlID=
"genCompany"
/>
<telerik:TargetInput ControlID=
"genEnquiry"
/>
</TargetControls>
</telerik:TextBoxSetting>
<telerik:TextBoxSetting Validation-ValidationGroup=
"vchFrm"
BehaviorID=
"vchTxtBxBhv"
EmptyMessage=
"Required Field"
Validation-IsRequired=
"true"
>
<TargetControls>
<telerik:TargetInput ControlID=
"vchName"
/>
<telerik:TargetInput ControlID=
"vchEmail"
/>
<telerik:TargetInput ControlID=
"vchTelephone"
/>
</TargetControls>
</telerik:TextBoxSetting>
<telerik:TextBoxSetting Validation-ValidationGroup=
"vchFrm"
BehaviorID=
"vchTxtBxBhv2"
Validation-IsRequired=
"false"
>
<TargetControls>
<telerik:TargetInput ControlID=
"vchCompany"
/>
<telerik:TargetInput ControlID=
"vchEnquiry"
/>
</TargetControls>
</telerik:TextBoxSetting>
</telerik:RadInputManager>
Heres the page load event as the script manager and ajax manager are all used on the master page above
Dim
AjaxManager
As
RadAjaxManager =
CType
(
Me
.Master.FindControl(
"RadAjaxManager1"
), RadAjaxManager)
Dim
RadAjaxLoadingPanel1
As
RadAjaxLoadingPanel =
CType
(
Me
.Master.FindControl(
"RadAjaxLoadingPanel1"
), RadAjaxLoadingPanel)
AjaxManager.AjaxSettings.AddAjaxSetting(optVoucher, optGeneral)
AjaxManager.AjaxSettings.AddAjaxSetting(optVoucher, pnlVoucher, RadAjaxLoadingPanel1)
AjaxManager.AjaxSettings.AddAjaxSetting(optVoucher, pnlVoucherThanks)
AjaxManager.AjaxSettings.AddAjaxSetting(optVoucher, pnlGeneral)
AjaxManager.AjaxSettings.AddAjaxSetting(optVoucher, pnlGeneralThanks)
AjaxManager.AjaxSettings.AddAjaxSetting(optGeneral, optVoucher)
AjaxManager.AjaxSettings.AddAjaxSetting(optGeneral, pnlVoucher)
AjaxManager.AjaxSettings.AddAjaxSetting(optGeneral, pnlVoucherThanks)
AjaxManager.AjaxSettings.AddAjaxSetting(optGeneral, pnlGeneral, RadAjaxLoadingPanel1)
AjaxManager.AjaxSettings.AddAjaxSetting(optGeneral, pnlGeneralThanks)
AjaxManager.AjaxSettings.AddAjaxSetting(vchBtnSubmit, pnlVoucher)
AjaxManager.AjaxSettings.AddAjaxSetting(vchBtnSubmit, pnlVoucherThanks, RadAjaxLoadingPanel1)
AjaxManager.AjaxSettings.AddAjaxSetting(genBtnSubmit, pnlGeneral)
AjaxManager.AjaxSettings.AddAjaxSetting(genBtnSubmit, pnlGeneralThanks, RadAjaxLoadingPanel1)
Any ideas or fixes please?