473,385 Members | 2,015 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,385 software developers and data experts.

WebForm_PostBackOptions is undefined

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' is undefined, but if I add or replace the
linkbutton with a regular button it works fine.
The debugger stops at this row::
WebForm_DoPostBackWithOptions(new
WebForm_PostBackOptions("ctl00$ContentPlaceHolder1 $LinkButton1", "", true,
"steg2", "", false, true))

How can I solve this?
Mar 9 '06 #1
1 5292
Should add that if I add a button instead of replaceing the linkbutton, both
will work fine!

Regards
Anders Aleborg

"an****@aleborg.se" wrote:
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' is undefined, but if I add or replace the
linkbutton with a regular button it works fine.
The debugger stops at this row::
WebForm_DoPostBackWithOptions(new
WebForm_PostBackOptions("ctl00$ContentPlaceHolder1 $LinkButton1", "", true,
"steg2", "", false, true))

How can I solve this?

Mar 9 '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...
1
by: Foolster41 | last post by:
I'm rather new to C++ programing. I'm using the dev-C++ program on a windows XP OS. I'm trying to compile the code for a multi user dungeon (MUD) called circle-mud. When I compile I get the...
4
by: Brad | last post by:
Per one of Microsoft's conversion suggestions (MSDN step by step guide to converting web projects) we have configured our test web servers to run ASP.NET apps using 2.0.....but we are still...
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,...
1
by: RobHydell | last post by:
After I upgraded to .NET 2.0 I started getting the following Error: 'Webform_PostBackOptions' is undefined when calling javascript:WebForm_DoPostBackWithOptions(new...
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...
0
by: Jeremy Chapman | last post by:
I noticed in some of my pages (not all) a link gets inserted to an axd which resolves to a javascript file containing WebForm_PostBackOptions and related functions. as well the __doPostBack...
0
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
Hi, I migrated ASP.NET 1.1 to 2.0. Now, on a form that uses requiredfieldvalidator controls, I get: Microsoft JScript runtime error: 'WebForm_PostBackOptions' is undefined If I remove the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.