ASP 2.0 breaks Validation giving WebForm_PostBackOptions is Undefined

R

RobHydell

After I upgraded to .NET 2.0 I started getting the following Error:
'Webform_PostBackOptions' is undefined when calling
javascript:WebForm_DoPostBackWithOptions(new
WebForm_PostBackOptions("dlstDataList$ctl01$LinkButtonT3", "", true,
"", "", false, true))

After I remove the following RequiredFieldValidator control it works
perfectly. It also works perfectly if I leave the
RequiredFieldValidator in but switch back to .NET 1.1. This also
happens with any of the other ASP.NET validators, Any ideas? Missing
some required javascript file?

<asp:TextBox id="Project" Columns="100" CssClass="FormControls"
Runat="Server" Text='<%# DataBinder.Eval(Container.DataItem,
"Project")%>'/>

<asp:RequiredFieldValidator id="RequiredFieldValidator1"
ControlToValidate="Project" runat="server" ErrorMessage="Error !"/>
 
Joined
Oct 18, 2006
Messages
1
Reaction score
0
Are any of the MS Engineers seeing this? I've just recently migrated 2 apps (each edevloped in 2003) to 2005 and they both have the exact same problem. I've combed the net and found a lot of different proposed solutions, but nearly all are application specific (e.g. DNN) Nothing I've read deals specifically with this issue, addresses the validator scripts and/or has a development based solution. Help!

Thanks in advance,

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top