G
Guest
In VS 2005 I have a WebForm with 3 UserControls on it. One UserControl
implements the new ICallbackEventHandler to update a DIV based on user input.
The other two implement a <asp:repeater ...> bound to a PagedDataSource.
The repeaters have associated <asp:linkbutton ...> to page forward and back
in the OnClick event. Clicking either link at run-time causes the following
error "Microsoft JScript runtime error: Object doesn't support this property
or method" on the theForm.submit(); line in __doPostBack().
If I remove the UserControl that implements the ICallbackEventHandler the
page works great and pages through the data. I have added an HTML Button
(<input type="button" id="testButton" value="Test Button"
onclick="javascript:document.forms['form1'].submit();">) to bypass the .Net
generated code but still see the error. If I add a submit button I do not
see the error.
I am unable to debug this through the debugger so I'm not sure which object
is causing the error.
What is causing this to fail?
implements the new ICallbackEventHandler to update a DIV based on user input.
The other two implement a <asp:repeater ...> bound to a PagedDataSource.
The repeaters have associated <asp:linkbutton ...> to page forward and back
in the OnClick event. Clicking either link at run-time causes the following
error "Microsoft JScript runtime error: Object doesn't support this property
or method" on the theForm.submit(); line in __doPostBack().
If I remove the UserControl that implements the ICallbackEventHandler the
page works great and pages through the data. I have added an HTML Button
(<input type="button" id="testButton" value="Test Button"
onclick="javascript:document.forms['form1'].submit();">) to bypass the .Net
generated code but still see the error. If I add a submit button I do not
see the error.
I am unable to debug this through the debugger so I'm not sure which object
is causing the error.
What is causing this to fail?