I have a webpage with a filter invoked by a javascript function -
And here is the code when the filter is invoked -
Anyone know how to solve this, I added
to the webconfig and added
to the top of the page but still no luck.Any help appreciated,T111!
Code:
<script type="text/javascript">
<!--
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
// -->
</script>
Code:
<select name="ddOffice" onchange="javascript:setTimeout('__doPostBack(\'ddOffice\',\'\')', 0)" id="ddOffice" style="font-weight:bold;width:152px;">
<option selected="selected" value="%%">Department</option>
<option value="Sales">Sales</option>
<option value="Technical">Technical</option>
</select>
Code:
<pages validateRequest="false" maxPageStateFieldLength="1024" enableViewStateMac="false" enableEventValidation="false" viewStateEncryptionMode ="Never" >
Code:
<meta http-equiv="imagetoolbar" content="RevealTrans(Duration=0,Transition=0)" />