hey Luke,
I created two cascading dropdownlists. They are loading fine but when i try to post back to the page i get this error page. I am straight away pushed to this page. It doesn't try to do anything. Any ideas?
Our server detected that you made a bad page postback.
It's possible that your form contained bad characters, which are considered maliciouse to our server. Please fix your form and submit it again.
Any ideas?
Here is the code for the dropdown lists
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" cellpadding="2" cellspacing="0" width="500">
<tr>
<td width="100">
<b>Select Category :</b></td>
<td>
<asp:DropDownList ID="ddlCSRs" runat="server">
</asp:DropDownList>
<ajaxc:CascadingDropDown
ID="CascadingDropDown1"
runat="server"
Category="category"
TargetControlID="ddlCSRs"
PromptText="[Select CSR]"
ServicePath="cascadingdataservice.asmx"
ServiceMethod="GetDropDownCSRs">
</ajaxc:CascadingDropDown>
</td>
</tr>
<tr>
<td>
<b>Select Product :</b></td>
<td>
<asp:DropDownList ID="ddlAEs" runat="server" OnSelectedIndexChanged="btnSearch_Click" AutoPostBack ="true">
</asp:DropDownList>
<ajaxc:CascadingDropDown ID="CascadingDropDown2" runat="server"
Category="product"
TargetControlID="ddlAEs"
ParentControlID="ddlCSRs"
PromptText="[Select AE]"
LoadingText="Loading AEs..."
ServicePath="cascadingdataservice.asmx"
ServiceMethod="GetDropDownAEs">
</ajaxc:CascadingDropDown>
</td>
</tr>
</table>
</asp:Content>
Code Behind
protected void btnSearch_Click(object sender, EventArgs e)
{
}
Thanks
-D
|