473,320 Members | 1,979 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,320 software developers and data experts.

ASP.NET Renaming my forms

Why does ASP.NET insist on renaming the forms on my page? I have a page with
one form on there (the login form) and I need to be able to access it using
javascript within the page, however ASP.NET decides to rename the form to
aspnetForm. I know I could just modify my client side javascript to use
aspnetForm but I shouldn't have to! Why does it do this and is there any way
to prevent it?

Regards
Anthony Williams
Dec 15 '05 #1
2 3461
It appears to have resolved itself now, I must have changed something.

Under what circumstances will ASP.NET do this though so I know in future
what is going on!
I'm using ASP.NET2

Regards,
Anthony
"Anthony Williams" <an*****@warwickcontrol.com> wrote in message
news:es**************@TK2MSFTNGP09.phx.gbl...
Why does ASP.NET insist on renaming the forms on my page? I have a page
with one form on there (the login form) and I need to be able to access it
using javascript within the page, however ASP.NET decides to rename the
form to aspnetForm. I know I could just modify my client side javascript
to use aspnetForm but I shouldn't have to! Why does it do this and is
there any way to prevent it?

Regards
Anthony Williams

Dec 15 '05 #2
On Thu, 15 Dec 2005 10:32:04 -0000, "Anthony Williams"
<an*****@warwickcontrol.com> wrote:
It appears to have resolved itself now, I must have changed something.

Under what circumstances will ASP.NET do this though so I know in future
what is going on!
I'm using ASP.NET2


See "Referencing Controls Rendered Inside Other Controls" in this
document: http://msdn2.microsoft.com/en-us/library/3hc29e2a.aspx.

--
Scott
http://www.OdeToCode.com/blogs/scott/
Dec 15 '05 #3

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

Similar topics

9
by: peter | last post by:
Hello all, Recently I've started to refactor my code ...(I'm using python 2.3.4) I tried to add extra functionality to old functions non-intrusively. When I used a construct, which involves...
0
by: Saradhi | last post by:
Hi All, Here I am facing a performance problem with the TreeView Node renaming. I am displaying a hierarchy Data in a treeview in my Windows C# Application. My tree view represents an...
0
by: MikeY | last post by:
Hopefully someone can help, I have a listview box where I display my desired files. I single click on the desired file to be renamed and I rename it with a new name. My problem arises when the...
1
by: MikeY | last post by:
Hopefully someone can help, I have a listview box where I display my desired files. I single click on the desired file to be renamed and I rename it with a new name. My problem arises when the...
1
by: boops boops | last post by:
Perhaps this is obvious to everyone but me, but how do you rename an existing project when using the .NET IDE? It allows you to save the current form as something else, but not the whole project....
0
by: Zorpiedoman | last post by:
Get your expert hat on.... I've created a UserControl which inherits ContainerControl. When I drop another control onto this control in design time view, I want to rename the new control and...
8
by: BillCo | last post by:
I'm updating a legacy app with table naming that makes baby jesus cry. It's a bit of a spider web though... no telling when and where the tables will be called by name. So I wrote this for renaming...
1
by: Marc | last post by:
Hi all, The code below works fine....however i am trying to find a way of renaming the active button control with the text entered in the 'newtxtbox' ,instead of opening a message box! -see...
0
by: =?Utf-8?B?YnJ1Y2UgYmFya2Vy?= | last post by:
asp.net munges the name, because this is what the browser posts. remember forms can not be nested, so the placeholder must be outside the form. you could create you own naming container, that did...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.