473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

ASP 2.0 breaks Validation giving WebForm_PostBackOptions is Undefined

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$LinkBu ttonT3", "", 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 !"/>

Jan 19 '06 #1
1 2480
Has anyone seen this error before?
Thanks in advance... Ro*******@Hotmail.com

Jan 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Corey | last post by:
I recently received a Javascript error, "'WebForm_PostBackOptions' is undefined" from an application I'm working on. It occurs during the PostBack from a DropDownList. I've created a project...
72
by: Stephen Poley | last post by:
I have quite often (as have probably many of you) come across HTML forms with irritating bits of Javascript attached. The last straw on this particular camel's back was a large form I was asked to...
0
by: Rich | last post by:
I am converting my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 Professional (.NET v2.0.50727). The entire solution currently uses the following technologies - Windows Server 2003...
14
by: Rich | last post by:
I am converting my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 (.NET v2.0.50727). The entire solution uses serveral technologies - Windows Server 2003 (AD, SQL Server 2000, IIS,...
0
by: Ben Fidge | last post by:
Since converting a project over to ASP.NET 2.0 I'm getting JavaScript errors: 'WebForm_PostBackOptions' is undefined. I've googled this and people mention that I should link to a file called...
2
by: dustbort | last post by:
I recently had a problem where my required field validator stopped working. But, the page still posted back and tried to insert a record into the database without performing server-side validation....
1
by: anders | last post by:
Hi! I have a simple page, created in VS2005 and C#. It has a textbox, requiredfieldvalidator and a linkbutton, when I click the linkbutton I get the javascript error 'WebForm_PostBackOptions'...
7
by: Tim_Mac | last post by:
hi, using .net 2.0, i have a web form with lots of textboxes, drop-down-lists etc. There are lots of required field validators and regular expression validators. When i click the 'save' button,...
11
by: Rik | last post by:
Hello guys, now that I'm that I'm working on my first major 'open' forms (with uncontrolled users I mean, not a secure backend-interface), I'd like to add a lot of possibilities to check wether...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.