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

framework 1.0 sp3 form name renaming!

psb
not sure if anyone still uses this, but I installed .NetFramework 1.0 sp3
(released, aug31,2004) and after that I was getting some javascript errors.

I have a user control inside a webform. basically have login.ascx inside
login.aspx. the login.ascx contains the <form> tag.

<form id="Form1" runat="server">

before the sp3 the form would render like this...

<form name="_ctl7:Form1" method="post" action="Login.aspx" id="_ctl7_Form1">

after sp3 it was this...

<form name="__aspnetForm" method="post" action="login.aspx"
id="__aspnetForm">

It is killing some of my javascript where I look for "_ctl:Form1"!

Anyone seeing this? I wonder if this same thing happens in framework 1.1
sp1 which was released same time I believe.

-Psb
Nov 18 '05 #1
4 1570
At one point, microsoft introduced a bug where the form name would get
rendered with a colon in it. This isn't valid..and would cause javascript
to break (including' microsoft's own __dopostback).

I knew they had hotfixed it, didn't know the sp3 fixed it.

Anyways, since _ctl7:Form1 wasn't valid, there isn't much you can do...but
thought i'd tell you why :)

Karl

"psb" <pb******@msn.com> wrote in message
news:OZ**************@tk2msftngp13.phx.gbl...
not sure if anyone still uses this, but I installed .NetFramework 1.0 sp3
(released, aug31,2004) and after that I was getting some javascript errors.
I have a user control inside a webform. basically have login.ascx inside
login.aspx. the login.ascx contains the <form> tag.

<form id="Form1" runat="server">

before the sp3 the form would render like this...

<form name="_ctl7:Form1" method="post" action="Login.aspx" id="_ctl7_Form1">
after sp3 it was this...

<form name="__aspnetForm" method="post" action="login.aspx"
id="__aspnetForm">

It is killing some of my javascript where I look for "_ctl:Form1"!

Anyone seeing this? I wonder if this same thing happens in framework 1.1
sp1 which was released same time I believe.

-Psb

Nov 18 '05 #2
psb..Lew Burrus posted a thread shortly after yours called "Submit buttons
lo longer working after framework sp1"..he solved his own problem..see if
post-2 helps:

POST - 1
Turns out the required field validators were failing, no longer functional,
for reasons I could not determine. Even when I take out the RFValidator and
reinsert it, the same thing happens, the button won't
submit (though the RFValidator Text does not appear). It's sad tto find
things out like this.

POST - 2
I should have known, since sp1 for the framework is a security update....the
..js file used by the validators was not readable by the ASPNET user. I
granted read permission on its folder to ASPNET and now the validators work.

Karl

"Karl" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in
message news:uT**************@TK2MSFTNGP09.phx.gbl...
At one point, microsoft introduced a bug where the form name would get
rendered with a colon in it. This isn't valid..and would cause javascript
to break (including' microsoft's own __dopostback).

I knew they had hotfixed it, didn't know the sp3 fixed it.

Anyways, since _ctl7:Form1 wasn't valid, there isn't much you can do...but
thought i'd tell you why :)

Karl

"psb" <pb******@msn.com> wrote in message
news:OZ**************@tk2msftngp13.phx.gbl...
not sure if anyone still uses this, but I installed .NetFramework 1.0 sp3 (released, aug31,2004) and after that I was getting some javascript

errors.

I have a user control inside a webform. basically have login.ascx inside login.aspx. the login.ascx contains the <form> tag.

<form id="Form1" runat="server">

before the sp3 the form would render like this...

<form name="_ctl7:Form1" method="post" action="Login.aspx"

id="_ctl7_Form1">

after sp3 it was this...

<form name="__aspnetForm" method="post" action="login.aspx"
id="__aspnetForm">

It is killing some of my javascript where I look for "_ctl:Form1"!

Anyone seeing this? I wonder if this same thing happens in framework 1.1 sp1 which was released same time I believe.

-Psb


Nov 18 '05 #3
Opppss..wrong thread..
"Karl" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in
message news:%2****************@TK2MSFTNGP14.phx.gbl...
psb..Lew Burrus posted a thread shortly after yours called "Submit buttons
lo longer working after framework sp1"..he solved his own problem..see if
post-2 helps:

POST - 1
Turns out the required field validators were failing, no longer functional, for reasons I could not determine. Even when I take out the RFValidator and reinsert it, the same thing happens, the button won't
submit (though the RFValidator Text does not appear). It's sad tto find
things out like this.

POST - 2
I should have known, since sp1 for the framework is a security update....the .js file used by the validators was not readable by the ASPNET user. I
granted read permission on its folder to ASPNET and now the validators work.
Karl

"Karl" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in
message news:uT**************@TK2MSFTNGP09.phx.gbl...
At one point, microsoft introduced a bug where the form name would get
rendered with a colon in it. This isn't valid..and would cause javascript
to break (including' microsoft's own __dopostback).

I knew they had hotfixed it, didn't know the sp3 fixed it.

Anyways, since _ctl7:Form1 wasn't valid, there isn't much you can do...but thought i'd tell you why :)

Karl

"psb" <pb******@msn.com> wrote in message
news:OZ**************@tk2msftngp13.phx.gbl...
not sure if anyone still uses this, but I installed .NetFramework 1.0

sp3 (released, aug31,2004) and after that I was getting some javascript

errors.

I have a user control inside a webform. basically have login.ascx inside login.aspx. the login.ascx contains the <form> tag.

<form id="Form1" runat="server">

before the sp3 the form would render like this...

<form name="_ctl7:Form1" method="post" action="Login.aspx"

id="_ctl7_Form1">

after sp3 it was this...

<form name="__aspnetForm" method="post" action="login.aspx"
id="__aspnetForm">

It is killing some of my javascript where I look for "_ctl:Form1"!

Anyone seeing this? I wonder if this same thing happens in framework 1.1 sp1 which was released same time I believe.

-Psb



Nov 18 '05 #4
Is any body found the solution for solving the change in form name in
the user control after installing .NetFramework 1.1 Sp 1.

Please let me know

Nov 18 '05 #5

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

Similar topics

3
by: mathieu gagnon | last post by:
Hello, I'm new to this newsgroup and I have small question. With something like this : <form name="a"><input name="name"></form> Is it possible to get the name of the form (a) and access the...
5
by: Mike Nolan | last post by:
I have a 600K row table on my production system (running 7.3.3) that I dump and load on my development system (7.4.1) every night using cron jobs. I would like to be able to restore the table...
6
by: Rob | last post by:
When renaming a form... looks like you should probably rename it in 2 places... the logical (Name) property of the form as well as the physical file name... (this could become confusing ). Is...
14
by: Drew | last post by:
I need to iterate through a submitted form, inserting data on each pass. In the past, I have always used form elements that were named with numbers at the end, like this, name1 relationship1...
12
by: mark.norgate | last post by:
Hi I have lots of controls on my ASP.NET 2.0 page, some implementing INamingContainer, others just <asp:button>s and so on. The eternal lament: I need to interact with these controls on the...
17
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I get the value of a form control? -----------------------------------------------------------------------...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
2
by: Ole Mercano | last post by:
When I create in Designer a new button on my Form it is automatically named e.g. "button1". When I doubleclick on it I am directed to the Form.cs where the following procedure is automatcially...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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...

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.