Solved

default button error - webform_firedefaultbutton not defined

Posted on 2006-11-23
4
2,002 Views
Last Modified: 2007-12-19
Hi

I have a default button set up on my webpage as so:
onkeypress="return WebForm_FireDefaultButton(event, 'Master_MainContent_Login1_LoginButton')"

but i am getting a javascript error saying that this function is not defined?

where is this function located? how come it is not defined in my page?

thanks
andrea
0
Comment
Question by:andieje
  • 2
4 Comments
 
LVL 17

Expert Comment

by:lem2802
ID: 18003987
andieje... i don't know where is this function... you have to define it!
0
 

Author Comment

by:andieje
ID: 18004663
it's a built in asp.net 2.0 function
0
 
LVL 15

Accepted Solution

by:
Solar_Flare earned 500 total points
ID: 18005422
that function will exist in the javascript in your rendered page. It is put there automatically by the server to achieve the dafault button functionality.

have a look at the source and see if you can find it in the HTML somewhere.
0
 

Author Comment

by:andieje
ID: 18007378
hi solar_flare

i downloaded the javascript produced by the asp.net fraemwork. All the usual validator stuff was there but not the default submit javascript. Most odd!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now