Ask a Question related to ASP.NET General, Design and Development.
-
Steven Livingstone #1
__doPostback method with colons problem
I am running into the "colon in javascript" problem as discussed here
[url]http://www.bdragon.com/entries/000324.shtml[/url].
Basically, i have nested controls and get the error on a line such as :
theform = document._ctl0:frmPage;
I noticed a solution at
[url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
However, this seems like a heck of an overhead for every page!
Has anyone got any updates on if/when and how this can be fixed without
resorting to these kind of fixes? Seems a fairly fundamental problem to me,
so hopefully it has already been fixed and i'm just missing some upgrade or
hot fix!!
thanks,
Steven
Steven Livingstone Guest
-
Is creationComplete=method() or initialize=method() theright solution for such kind of problem or ...?
Hi everybody, I am using web service in my flex application and I want to visualize some data from collection of objects taht I receive from my Web... -
#26207 [NEW]: date(): add format parameter for colons in UTC offset
From: danielc at analysisandsolutions dot com Operating system: irrelevant PHP version: Irrelevant PHP Bug Type: ... -
#26090 [NEW]: allow colons in time zone offset to strtotime()
From: danielc at analysisandsolutions dot com Operating system: n/a PHP version: 5.0.0b1 (beta1) PHP Bug Type: Feature/Change... -
__doPostBack EventArgument
Hello, guys. I have this javascript to invoke serverside event that is attached to a hidden Button. ... -
Overriding __doPostBack
I would like to change the name of the _doPostBack function emmitted by the ASP.NET framework to prefix it with an ordinal number i.e. the page... -
Steven Livingstone #2
Re: __doPostback method with colons problem
FWIW :
I have discovered that the basic problem is that i have the FORM defined
within a usercontrol.
It then turns out that "ucForm" is referenced in the __doPostBack method as
:
theform = document._ctl0:ucForm;
Fails in JavaScript :(
Any fixes?
"Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...me,> I am running into the "colon in javascript" problem as discussed here
> [url]http://www.bdragon.com/entries/000324.shtml[/url].
>
> Basically, i have nested controls and get the error on a line such as :
>
> theform = document._ctl0:frmPage;
>
> I noticed a solution at
> [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
> However, this seems like a heck of an overhead for every page!
>
> Has anyone got any updates on if/when and how this can be fixed without
> resorting to these kind of fixes? Seems a fairly fundamental problem toor> so hopefully it has already been fixed and i'm just missing some upgrade> hot fix!!
>
> thanks,
> Steven
>
>
Steven Livingstone Guest
-
Steven Livingstone #3
Re: __doPostback method with colons problem
ok - 1 way around it i have found (based on an earlier uri).
Override the render method in the control and replace ":" for control names
with "_".
Works thus far - anyone tried this and run into any probs?
Still is not something i want to put into prod :S
"Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...me,> I am running into the "colon in javascript" problem as discussed here
> [url]http://www.bdragon.com/entries/000324.shtml[/url].
>
> Basically, i have nested controls and get the error on a line such as :
>
> theform = document._ctl0:frmPage;
>
> I noticed a solution at
> [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
> However, this seems like a heck of an overhead for every page!
>
> Has anyone got any updates on if/when and how this can be fixed without
> resorting to these kind of fixes? Seems a fairly fundamental problem toor> so hopefully it has already been fixed and i'm just missing some upgrade> hot fix!!
>
> thanks,
> Steven
>
>
Steven Livingstone Guest
-
Steven Livingstone #4
Re: __doPostback method with colons problem
Hi JD - I have actually written a framework which uses a core usercontrol to
implement the look and feel any application and all it's (reusable) sub
controls. I tried a whole host of ways, but this is the only way i can see
it working and still be extensible.
This main control hosts the other controls and the page acts as a simple
container which the <form> wrapper in it. So that control itself is never
reused outside its parent page.
In other cases i may well write a full encapsulated "poll control" with the
form element to be just dropped into any asp page. I don't in my case, but
i'd like ASP.Net to support that possibility!
Cheers,
Steven.
"JD" <no@where.com> wrote in message
news:05eb01c35a84$6277b0e0$a501280a@phx.gbl...> The idea here is that you never declare a form within a
> user control. When developing controls you should never
> assume where your controls will or will not be used. In
> your case what happens if someone wants to use your
> control inside an existing form?
>
> - J
>> the FORM defined> >-----Original Message-----
> >FWIW :
> >
> >I have discovered that the basic problem is that i have> __doPostBack method as> >within a usercontrol.
> >It then turns out that "ucForm" is referenced in the> in message> >:
> >
> >theform = document._ctl0:ucForm;
> >
> >Fails in JavaScript :(
> >
> >Any fixes?
> >
> >"Steven Livingstone" <s.livingstone@btinternet.com> wrote> discussed here> >news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...> >> I am running into the "colon in javascript" problem as> a line such as :> >> [url]http://www.bdragon.com/entries/000324.shtml[/url].
> >>
> >> Basically, i have nested controls and get the error on> every page!> >>
> >> theform = document._ctl0:frmPage;
> >>
> >> I noticed a solution at
> >> [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
> >> However, this seems like a heck of an overhead for> be fixed without> >>
> >> Has anyone got any updates on if/when and how this can> fundamental problem to> >> resorting to these kind of fixes? Seems a fairly> missing some upgrade> >me,> >> so hopefully it has already been fixed and i'm just> >or> >> >> hot fix!!
> >>
> >> thanks,
> >> Steven
> >>
> >>
> >
> >.
> >
Steven Livingstone Guest
-
vMike #5
Re: __doPostback method with colons problem
You might try this. You may have to modify it a bit but I don't think the
overhead is too bad.
(Not my idea, but it works real well) I left some of the old code that I
didn't need in there in case you need it. Hope this helps you.
Protected Overrides Sub Render(ByVal writer As HtmlTextWriter)
Dim _stringBuilder As StringBuilder = New StringBuilder()
Dim _stringWriter As StringWriter = New StringWriter(_stringBuilder)
Dim _htmlWriter As HtmlTextWriter = New HtmlTextWriter(_stringWriter)
MyBase.Render(_htmlWriter)
'Dim html As String = _stringBuilder.ToString()
Dim start As Integer = html.IndexOf("document._ctl1:_ctl0;")
'Dim intend As Integer = 6 + start 'html.IndexOf("""", start)
if start <> -1 then
'Dim formID As String = html.Substring(start, intend - start)
'Dim replace As String = formID.Replace(":", "_")
html = html.Replace("document._ctl1:_ctl0", "document._ctl1__ctl0") ' you
may need to change
end if
writer.Write(html)
End Sub
"Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...me,> I am running into the "colon in javascript" problem as discussed here
> [url]http://www.bdragon.com/entries/000324.shtml[/url].
>
> Basically, i have nested controls and get the error on a line such as :
>
> theform = document._ctl0:frmPage;
>
> I noticed a solution at
> [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
> However, this seems like a heck of an overhead for every page!
>
> Has anyone got any updates on if/when and how this can be fixed without
> resorting to these kind of fixes? Seems a fairly fundamental problem toor> so hopefully it has already been fixed and i'm just missing some upgrade> hot fix!!
>
> thanks,
> Steven
>
>
vMike Guest
-
John Saunders #6
Re: __doPostback method with colons problem
"Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...I'm curious, what part of that do you believe is a "lot of overhead"?> I am running into the "colon in javascript" problem as discussed here
> [url]http://www.bdragon.com/entries/000324.shtml[/url].
>
> Basically, i have nested controls and get the error on a line such as :
>
> theform = document._ctl0:frmPage;
>
> I noticed a solution at
> [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
> However, this seems like a heck of an overhead for every page!
>
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
John Saunders Guest
-
Steven Livingstone #7
Re: __doPostback method with colons problem
Hi John - unfortunately i pointed to the wrong Q&A!!
The one i meant to point you to was :
[url]http://msdn.microsoft.com/msdnmag/issues/02/11/WebQA/[/url]
As you can see in that case, the PageParser() methods is a heck of an
overhea for every page!
Cheers,
Steven
"John Saunders" <john.saunders@surfcontrol.com> wrote in message
news:uag631sWDHA.2204@TK2MSFTNGP12.phx.gbl...> "Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
> news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...>> > I am running into the "colon in javascript" problem as discussed here
> > [url]http://www.bdragon.com/entries/000324.shtml[/url].
> >
> > Basically, i have nested controls and get the error on a line such as :
> >
> > theform = document._ctl0:frmPage;
> >
> > I noticed a solution at
> > [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
> > However, this seems like a heck of an overhead for every page!
> >
> I'm curious, what part of that do you believe is a "lot of overhead"?
> --
> John Saunders
> Internet Engineer
> [email]john.saunders@surfcontrol.com[/email]
>
>
>
Steven Livingstone Guest
-
Steven Livingstone #8
Re: __doPostback method with colons problem
Hi Michael -
thanks for your code. In fact it is very simialr to the solution i decided
upon last night and it works great.
I will compare yours to see if there is anything i should add :)
Still a bit of a hit, but hopefully it will be fixed sometime soon.
cheers,
steven
"vMike" <Michael.George@nospam.gewarren.com.delete> wrote in message
news:bgmh92$2nl$1@ngspool-d02.news.aol.com...> You might try this. You may have to modify it a bit but I don't think the
> overhead is too bad.
> (Not my idea, but it works real well) I left some of the old code that I
> didn't need in there in case you need it. Hope this helps you.
>
>
> Protected Overrides Sub Render(ByVal writer As HtmlTextWriter)
>
> Dim _stringBuilder As StringBuilder = New StringBuilder()
> Dim _stringWriter As StringWriter = New StringWriter(_stringBuilder)
> Dim _htmlWriter As HtmlTextWriter = New HtmlTextWriter(_stringWriter)
> MyBase.Render(_htmlWriter)
> 'Dim html As String = _stringBuilder.ToString()
> Dim start As Integer = html.IndexOf("document._ctl1:_ctl0;")
>
> 'Dim intend As Integer = 6 + start 'html.IndexOf("""", start)
> if start <> -1 then
>
> 'Dim formID As String = html.Substring(start, intend - start)
> 'Dim replace As String = formID.Replace(":", "_")
> html = html.Replace("document._ctl1:_ctl0", "document._ctl1__ctl0") ' you
> may need to change
> end if
>
> writer.Write(html)
>
> End Sub
> "Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
> news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...> me,> > I am running into the "colon in javascript" problem as discussed here
> > [url]http://www.bdragon.com/entries/000324.shtml[/url].
> >
> > Basically, i have nested controls and get the error on a line such as :
> >
> > theform = document._ctl0:frmPage;
> >
> > I noticed a solution at
> > [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
> > However, this seems like a heck of an overhead for every page!
> >
> > Has anyone got any updates on if/when and how this can be fixed without
> > resorting to these kind of fixes? Seems a fairly fundamental problem to> or> > so hopefully it has already been fixed and i'm just missing some upgrade>> > hot fix!!
> >
> > thanks,
> > Steven
> >
> >
>
Steven Livingstone Guest
-
John Saunders #9
Re: __doPostback method with colons problem
Steven, I don't see anything about PageParser in that Q&A.
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
"Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
news:uKvQAHyWDHA.1480@tk2msftngp13.phx.gbl...:> Hi John - unfortunately i pointed to the wrong Q&A!!
> The one i meant to point you to was :
> [url]http://msdn.microsoft.com/msdnmag/issues/02/11/WebQA/[/url]
>
> As you can see in that case, the PageParser() methods is a heck of an
> overhea for every page!
>
> Cheers,
> Steven
>
> "John Saunders" <john.saunders@surfcontrol.com> wrote in message
> news:uag631sWDHA.2204@TK2MSFTNGP12.phx.gbl...> > "Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
> > news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...> > > I am running into the "colon in javascript" problem as discussed here
> > > [url]http://www.bdragon.com/entries/000324.shtml[/url].
> > >
> > > Basically, i have nested controls and get the error on a line such as>> >> > >
> > > theform = document._ctl0:frmPage;
> > >
> > > I noticed a solution at
> > > [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
> > > However, this seems like a heck of an overhead for every page!
> > >
> > I'm curious, what part of that do you believe is a "lot of overhead"?
> > --
> > John Saunders
> > Internet Engineer
> > [email]john.saunders@surfcontrol.com[/email]
> >
> >
> >
>
John Saunders Guest
-
Steven Livingstone #10
Re: __doPostback method with colons problem
John, go to the second Q on that page and click the "Figure 1" link to view
the code listing.
"John Saunders" <john.saunders@surfcontrol.com> wrote in message
news:em67lf1WDHA.2032@TK2MSFTNGP11.phx.gbl...here> Steven, I don't see anything about PageParser in that Q&A.
> --
> John Saunders
> Internet Engineer
> [email]john.saunders@surfcontrol.com[/email]
>
> "Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
> news:uKvQAHyWDHA.1480@tk2msftngp13.phx.gbl...> > Hi John - unfortunately i pointed to the wrong Q&A!!
> > The one i meant to point you to was :
> > [url]http://msdn.microsoft.com/msdnmag/issues/02/11/WebQA/[/url]
> >
> > As you can see in that case, the PageParser() methods is a heck of an
> > overhea for every page!
> >
> > Cheers,
> > Steven
> >
> > "John Saunders" <john.saunders@surfcontrol.com> wrote in message
> > news:uag631sWDHA.2204@TK2MSFTNGP12.phx.gbl...> > > "Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
> > > news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...
> > > > I am running into the "colon in javascript" problem as discussedas> > > > [url]http://www.bdragon.com/entries/000324.shtml[/url].
> > > >
> > > > Basically, i have nested controls and get the error on a line such> :>> >> > > >
> > > > theform = document._ctl0:frmPage;
> > > >
> > > > I noticed a solution at
> > > > [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
> > > > However, this seems like a heck of an overhead for every page!
> > > >
> > >
> > > I'm curious, what part of that do you believe is a "lot of overhead"?
> > > --
> > > John Saunders
> > > Internet Engineer
> > > [email]john.saunders@surfcontrol.com[/email]
> > >
> > >
> > >
> >
>
Steven Livingstone Guest
-
John Saunders #11
Re: __doPostback method with colons problem
Ok, thanks, yes, that's too much overhead.
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
"Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
news:OZI9uo1WDHA.1640@TK2MSFTNGP10.phx.gbl...view> John, go to the second Q on that page and click the "Figure 1" link tooverhead"?> the code listing.
>
> "John Saunders" <john.saunders@surfcontrol.com> wrote in message
> news:em67lf1WDHA.2032@TK2MSFTNGP11.phx.gbl...> here> > Steven, I don't see anything about PageParser in that Q&A.
> > --
> > John Saunders
> > Internet Engineer
> > [email]john.saunders@surfcontrol.com[/email]
> >
> > "Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
> > news:uKvQAHyWDHA.1480@tk2msftngp13.phx.gbl...> > > Hi John - unfortunately i pointed to the wrong Q&A!!
> > > The one i meant to point you to was :
> > > [url]http://msdn.microsoft.com/msdnmag/issues/02/11/WebQA/[/url]
> > >
> > > As you can see in that case, the PageParser() methods is a heck of an
> > > overhea for every page!
> > >
> > > Cheers,
> > > Steven
> > >
> > > "John Saunders" <john.saunders@surfcontrol.com> wrote in message
> > > news:uag631sWDHA.2204@TK2MSFTNGP12.phx.gbl...
> > > > "Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
> > > > news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...
> > > > > I am running into the "colon in javascript" problem as discussed> as> > > > > [url]http://www.bdragon.com/entries/000324.shtml[/url].
> > > > >
> > > > > Basically, i have nested controls and get the error on a line such> > :> > > > >
> > > > > theform = document._ctl0:frmPage;
> > > > >
> > > > > I noticed a solution at
> > > > > [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
> > > > > However, this seems like a heck of an overhead for every page!
> > > > >
> > > >
> > > > I'm curious, what part of that do you believe is a "lot of>> >> > > > --
> > > > John Saunders
> > > > Internet Engineer
> > > > [email]john.saunders@surfcontrol.com[/email]
> > > >
> > > >
> > > >
> > >
> > >
> >
>
John Saunders Guest
-
Yan-Hong Huang[MSFT] #12
Re: __doPostback method with colons problem
Hello Steven,
This happens when asp.net form is included into control in framework 1.1. It seems that this is not welcomed way to build
webforms, but anyway sometimes this can be very useful. This must work on .net 1.0.
The workaround now is to override control's holding <form> method Render, again, it is possible override Render method of
page alltogether.
Thanks.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! - [url]www.microsoft.com/security[/url]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!From: "Steven Livingstone" <s.livingstone@btinternet.com>
!References: <#NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl> <uag631sWDHA.2204@TK2MSFTNGP12.phx.gbl>
<uKvQAHyWDHA.1480@tk2msftngp13.phx.gbl> <em67lf1WDHA.2032@TK2MSFTNGP11.phx.gbl>
!Subject: Re: __doPostback method with colons problem
!Date: Tue, 5 Aug 2003 15:02:16 +0100
!Lines: 56
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <OZI9uo1WDHA.1640@TK2MSFTNGP10.phx.gbl>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!NNTP-Posting-Host: 212.20.246.65
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:164973
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!John, go to the second Q on that page and click the "Figure 1" link to view
!the code listing.
!
!"John Saunders" <john.saunders@surfcontrol.com> wrote in message
!news:em67lf1WDHA.2032@TK2MSFTNGP11.phx.gbl...
!> Steven, I don't see anything about PageParser in that Q&A.
!> --
!> John Saunders
!> Internet Engineer
!> [email]john.saunders@surfcontrol.com[/email]
!>
!> "Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
!> news:uKvQAHyWDHA.1480@tk2msftngp13.phx.gbl...
!> > Hi John - unfortunately i pointed to the wrong Q&A!!
!> > The one i meant to point you to was :
!> > [url]http://msdn.microsoft.com/msdnmag/issues/02/11/WebQA/[/url]
!> >
!> > As you can see in that case, the PageParser() methods is a heck of an
!> > overhea for every page!
!> >
!> > Cheers,
!> > Steven
!> >
!> > "John Saunders" <john.saunders@surfcontrol.com> wrote in message
!> > news:uag631sWDHA.2204@TK2MSFTNGP12.phx.gbl...
!> > > "Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
!> > > news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...
!> > > > I am running into the "colon in javascript" problem as discussed
!here
!> > > > [url]http://www.bdragon.com/entries/000324.shtml[/url].
!> > > >
!> > > > Basically, i have nested controls and get the error on a line such
!as
!> :
!> > > >
!> > > > theform = document._ctl0:frmPage;
!> > > >
!> > > > I noticed a solution at
!> > > > [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
!> > > > However, this seems like a heck of an overhead for every page!
!> > > >
!> > >
!> > > I'm curious, what part of that do you believe is a "lot of overhead"?
!> > > --
!> > > John Saunders
!> > > Internet Engineer
!> > > [email]john.saunders@surfcontrol.com[/email]
!> > >
!> > >
!> > >
!> >
!> >
!>
!>
!
!
!
Yan-Hong Huang[MSFT] Guest
-
John Saunders #13
Re: __doPostback method with colons problem
Actually, the workaround we use is to not use Framework 1.1.
The fix would be for Microsoft to fix its bug. It would be just as easy to
ignore the Netscape branch of that "if" statement (with a comment saying,
"our bad: here's the stupid code we would have produced, we'll fix it soon,
don't sue us") as to break our web sites for both Netscape and IE by
treating the form name as an identifier (is it supposed to be an
identifier?).
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
"Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
news:YPblbJ$WDHA.2408@cpmsftngxa06.phx.gbl...It seems that this is not welcomed way to build> Hello Steven,
>
> This happens when asp.net form is included into control in framework 1.1...net 1.0.> webforms, but anyway sometimes this can be very useful. This must work onagain, it is possible override Render method of>
> The workaround now is to override control's holding <form> method Render,rights.> page alltogether.
>
> Thanks.
>
> Best regards,
> Yanhong Huang
> Microsoft Online Partner Support
>
> Get Secure! - [url]www.microsoft.com/security[/url]
> This posting is provided "AS IS" with no warranties, and confers no<uag631sWDHA.2204@TK2MSFTNGP12.phx.gbl>>
> --------------------
> !From: "Steven Livingstone" <s.livingstone@btinternet.com>
> !References: <#NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl><em67lf1WDHA.2032@TK2MSFTNGP11.phx.gbl>> <uKvQAHyWDHA.1480@tk2msftngp13.phx.gbl>microsoft.public.dotnet.framework.aspnet:164973> !Subject: Re: __doPostback method with colons problem
> !Date: Tue, 5 Aug 2003 15:02:16 +0100
> !Lines: 56
> !X-Priority: 3
> !X-MSMail-Priority: Normal
> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> !Message-ID: <OZI9uo1WDHA.1640@TK2MSFTNGP10.phx.gbl>
> !Newsgroups: microsoft.public.dotnet.framework.aspnet
> !NNTP-Posting-Host: 212.20.246.65
> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
> !Xref: cpmsftngxa06.phx.gblview> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> !
> !John, go to the second Q on that page and click the "Figure 1" link tomessage> !the code listing.
> !
> !"John Saunders" <john.saunders@surfcontrol.com> wrote in message
> !news:em67lf1WDHA.2032@TK2MSFTNGP11.phx.gbl...
> !> Steven, I don't see anything about PageParser in that Q&A.
> !> --
> !> John Saunders
> !> Internet Engineer
> !> [email]john.saunders@surfcontrol.com[/email]
> !>
> !> "Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
> !> news:uKvQAHyWDHA.1480@tk2msftngp13.phx.gbl...
> !> > Hi John - unfortunately i pointed to the wrong Q&A!!
> !> > The one i meant to point you to was :
> !> > [url]http://msdn.microsoft.com/msdnmag/issues/02/11/WebQA/[/url]
> !> >
> !> > As you can see in that case, the PageParser() methods is a heck of an
> !> > overhea for every page!
> !> >
> !> > Cheers,
> !> > Steven
> !> >
> !> > "John Saunders" <john.saunders@surfcontrol.com> wrote in message
> !> > news:uag631sWDHA.2204@TK2MSFTNGP12.phx.gbl...
> !> > > "Steven Livingstone" <s.livingstone@btinternet.com> wrote insuch> !> > > news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...
> !> > > > I am running into the "colon in javascript" problem as discussed
> !here
> !> > > > [url]http://www.bdragon.com/entries/000324.shtml[/url].
> !> > > >
> !> > > > Basically, i have nested controls and get the error on a lineoverhead"?> !as
> !> :
> !> > > >
> !> > > > theform = document._ctl0:frmPage;
> !> > > >
> !> > > > I noticed a solution at
> !> > > > [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
> !> > > > However, this seems like a heck of an overhead for every page!
> !> > > >
> !> > >
> !> > > I'm curious, what part of that do you believe is a "lot of> !> > > --
> !> > > John Saunders
> !> > > Internet Engineer
> !> > > [email]john.saunders@surfcontrol.com[/email]
> !> > >
> !> > >
> !> > >
> !> >
> !> >
> !>
> !>
> !
> !
> !
>
>
John Saunders Guest
-
Yan-Hong Huang[MSFT] #14
Re: __doPostback method with colons problem
Hello John,
Yes, I agree with you. In fact, it has been logged into our internal
database. We are working on it and it will be integrated into later version
of Visual Studio.
Thanks.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! - [url]www.microsoft.com/security[/url]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!From: "John Saunders" <john.saunders@surfcontrol.com>
!References: <#NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl>
<uag631sWDHA.2204@TK2MSFTNGP12.phx.gbl>
<uKvQAHyWDHA.1480@tk2msftngp13.phx.gbl>
<em67lf1WDHA.2032@TK2MSFTNGP11.phx.gbl>
<OZI9uo1WDHA.1640@TK2MSFTNGP10.phx.gbl>
<YPblbJ$WDHA.2408@cpmsftngxa06.phx.gbl>
!Subject: Re: __doPostback method with colons problem
!Date: Wed, 6 Aug 2003 12:00:13 -0400
!Lines: 122
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <OicFyPDXDHA.1280@tk2msftngp13.phx.gbl>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!NNTP-Posting-Host: pool-141-149-183-116.bos.east.verizon.net
141.149.183.116
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftn gp13.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:165410
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!Actually, the workaround we use is to not use Framework 1.1.
!
!The fix would be for Microsoft to fix its bug. It would be just as easy to
!ignore the Netscape branch of that "if" statement (with a comment saying,
!"our bad: here's the stupid code we would have produced, we'll fix it soon,
!don't sue us") as to break our web sites for both Netscape and IE by
!treating the form name as an identifier (is it supposed to be an
!identifier?).
!--
!John Saunders
!Internet Engineer
!john.saunders@surfcontrol.com
!
!"Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
!news:YPblbJ$WDHA.2408@cpmsftngxa06.phx.gbl...
!> Hello Steven,
!>
!> This happens when asp.net form is included into control in framework 1.1.
!It seems that this is not welcomed way to build
!> webforms, but anyway sometimes this can be very useful. This must work on
!.net 1.0.
!>
!> The workaround now is to override control's holding <form> method Render,
!again, it is possible override Render method of
!> page alltogether.
!>
!> Thanks.
!>
!> Best regards,
!> Yanhong Huang
!> Microsoft Online Partner Support
!>
!> Get Secure! - [url]www.microsoft.com/security[/url]
!> This posting is provided "AS IS" with no warranties, and confers no
!rights.
!>
!> --------------------
!> !From: "Steven Livingstone" <s.livingstone@btinternet.com>
!> !References: <#NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl>
!<uag631sWDHA.2204@TK2MSFTNGP12.phx.gbl>
!> <uKvQAHyWDHA.1480@tk2msftngp13.phx.gbl>
!<em67lf1WDHA.2032@TK2MSFTNGP11.phx.gbl>
!> !Subject: Re: __doPostback method with colons problem
!> !Date: Tue, 5 Aug 2003 15:02:16 +0100
!> !Lines: 56
!> !X-Priority: 3
!> !X-MSMail-Priority: Normal
!> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!> !Message-ID: <OZI9uo1WDHA.1640@TK2MSFTNGP10.phx.gbl>
!> !Newsgroups: microsoft.public.dotnet.framework.aspnet
!> !NNTP-Posting-Host: 212.20.246.65
!> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
!> !Xref: cpmsftngxa06.phx.gbl
!microsoft.public.dotnet.framework.aspnet:164973
!> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!> !
!> !John, go to the second Q on that page and click the "Figure 1" link to
!view
!> !the code listing.
!> !
!> !"John Saunders" <john.saunders@surfcontrol.com> wrote in message
!> !news:em67lf1WDHA.2032@TK2MSFTNGP11.phx.gbl...
!> !> Steven, I don't see anything about PageParser in that Q&A.
!> !> --
!> !> John Saunders
!> !> Internet Engineer
!> !> [email]john.saunders@surfcontrol.com[/email]
!> !>
!> !> "Steven Livingstone" <s.livingstone@btinternet.com> wrote in message
!> !> news:uKvQAHyWDHA.1480@tk2msftngp13.phx.gbl...
!> !> > Hi John - unfortunately i pointed to the wrong Q&A!!
!> !> > The one i meant to point you to was :
!> !> > [url]http://msdn.microsoft.com/msdnmag/issues/02/11/WebQA/[/url]
!> !> >
!> !> > As you can see in that case, the PageParser() methods is a heck of
an
!> !> > overhea for every page!
!> !> >
!> !> > Cheers,
!> !> > Steven
!> !> >
!> !> > "John Saunders" <john.saunders@surfcontrol.com> wrote in message
!> !> > news:uag631sWDHA.2204@TK2MSFTNGP12.phx.gbl...
!> !> > > "Steven Livingstone" <s.livingstone@btinternet.com> wrote in
!message
!> !> > > news:%23NPio5lWDHA.536@TK2MSFTNGP10.phx.gbl...
!> !> > > > I am running into the "colon in javascript" problem as discussed
!> !here
!> !> > > > [url]http://www.bdragon.com/entries/000324.shtml[/url].
!> !> > > >
!> !> > > > Basically, i have nested controls and get the error on a line
!such
!> !as
!> !> :
!> !> > > >
!> !> > > > theform = document._ctl0:frmPage;
!> !> > > >
!> !> > > > I noticed a solution at
!> !> > > > [url]http://msdn.microsoft.com/msdnmag/issues/02/10/WebQA/[/url]
!> !> > > > However, this seems like a heck of an overhead for every page!
!> !> > > >
!> !> > >
!> !> > > I'm curious, what part of that do you believe is a "lot of
!overhead"?
!> !> > > --
!> !> > > John Saunders
!> !> > > Internet Engineer
!> !> > > [email]john.saunders@surfcontrol.com[/email]
!> !> > >
!> !> > >
!> !> > >
!> !> >
!> !> >
!> !>
!> !>
!> !
!> !
!> !
!>
!>
!
!
!
Yan-Hong Huang[MSFT] Guest



Reply With Quote

