Ask a Question related to ASP.NET General, Design and Development.
-
MS News #1
Where is RegisterClientScriptBlock?? RegisterScripts etc.
Hello,
Where can I find
RegisterClientScriptBlock()
Page class does not have it. Do I have to Import or add some special
reference??
what about RegisterScript which I can see but can not do anything with it
It won't take any arguments
I am using Framework 1.1 VS2003 etc..
What Am I missing
Thanks in advance.
J
MS News Guest
-
ClientScript.RegisterClientScriptBlock in ASP.NET 2.0
I am working on converting my code from ASP.NET 1.1 to ASP.NET 2.0. In ASP.NET 1.1 the RegisterClientScriptBlock method was just a key and script... -
Where is Page.RegisterClientScriptBlock Available?
I have used the RegisterClientScriptBlock method in external functions of mine (ones that are saved in a separate *.vb file), where I use them as... -
registerclientscriptblock error
I'm currently trying to register a block of javascript on a custom web control using the Page.RegisterClientScriptBlock functionality. I am trying... -
Styles not being applied with RegisterClientScriptBlock
I have a custom base page class for my app. In the OnInit, I add a ref to a CSS using RegisterClientScriptBlock. When the page is loaded, the... -
RegisterClientScriptBlock & RegisterStartupScript revisited
Duh! As is often the case, I found the answer about the comment tags after I hit send. I would sill like to know about the difference in the 2... -
Kevin Spencer #2
Re: Where is RegisterClientScriptBlock?? RegisterScripts etc.
It's a member of the Page class.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
[url]http://www.takempis.com[/url]
Complex things are made up of
lots of simple things.
"MS News" <sql_agentman@hotmail.com> wrote in message
news:OYapHW3WDHA.1280@tk2msftngp13.phx.gbl...> Hello,
>
> Where can I find
> RegisterClientScriptBlock()
>
> Page class does not have it. Do I have to Import or add some special
> reference??
>
> what about RegisterScript which I can see but can not do anything with it
>
> It won't take any arguments
>
> I am using Framework 1.1 VS2003 etc..
>
> What Am I missing
>
>
>
> Thanks in advance.
>
>
>
> J
>
>
Kevin Spencer Guest
-
MS News #3
Re: Where is RegisterClientScriptBlock?? RegisterScripts etc.
But It does not show.
I am using VB.NET for this Project
when I type Page.RegisterClientScript it just does not show up in
intellisence
I have heard that VB.NET does not list all possible available members of a
class
What is the Trick to list all members until you use it at least once. ( IDE
editor performance reasons ??? )
Can anyone help
Thanks
"Kevin Spencer" <kevin@takempis.com> wrote in message
news:O1iS2k3WDHA.608@TK2MSFTNGP12.phx.gbl...it> It's a member of the Page class.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> [url]http://www.takempis.com[/url]
> Complex things are made up of
> lots of simple things.
>
> "MS News" <sql_agentman@hotmail.com> wrote in message
> news:OYapHW3WDHA.1280@tk2msftngp13.phx.gbl...> > Hello,
> >
> > Where can I find
> > RegisterClientScriptBlock()
> >
> > Page class does not have it. Do I have to Import or add some special
> > reference??
> >
> > what about RegisterScript which I can see but can not do anything with>> >
> > It won't take any arguments
> >
> > I am using Framework 1.1 VS2003 etc..
> >
> > What Am I missing
> >
> >
> >
> > Thanks in advance.
> >
> >
> >
> > J
> >
> >
>
MS News Guest
-
Bill Priess #4
Re: Where is RegisterClientScriptBlock?? RegisterScripts etc.
Oops, forgot you were using VB...
Page.RegisterStartupScript(ByVal key as String, ByVal script as String)
Page.RegisterClientScriptBlock(ByVal key as String, ByVal script as String)
Bill P.
On Tue, 5 Aug 2003 10:58:34 -0700, MS News <sql_agentman@hotmail.com>
wrote:
> But It does not show.
> I am using VB.NET for this Project
> when I type Page.RegisterClientScript it just does not show up in
> intellisence
> I have heard that VB.NET does not list all possible available members of
> a
> class
> What is the Trick to list all members until you use it at least once. (
> IDE
> editor performance reasons ??? )
> Can anyone help
>
> Thanks
> "Kevin Spencer" <kevin@takempis.com> wrote in message
> news:O1iS2k3WDHA.608@TK2MSFTNGP12.phx.gbl...> it>> It's a member of the Page class.
>>
>> -- HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> [url]http://www.takempis.com[/url]
>> Complex things are made up of
>> lots of simple things.
>>
>> "MS News" <sql_agentman@hotmail.com> wrote in message
>> news:OYapHW3WDHA.1280@tk2msftngp13.phx.gbl...>> > Hello,
>> >
>> > Where can I find
>> > RegisterClientScriptBlock()
>> >
>> > Page class does not have it. Do I have to Import or add some special
>> > reference??
>> >
>> > what about RegisterScript which I can see but can not do anything with>>>>> >
>> > It won't take any arguments
>> >
>> > I am using Framework 1.1 VS2003 etc..
>> >
>> > What Am I missing
>> >
>> >
>> >
>> > Thanks in advance.
>> >
>> >
>> >
>> > J
>> >
>> >
>>
>
>
--
Using M2, Opera's revolutionary e-mail client: [url]http://www.opera.com/m2/[/url]
Bill Priess Guest
-
Kevin Spencer #5
Re: Where is RegisterClientScriptBlock?? RegisterScripts etc.
I can't tell you why it doesn't show up. Maybe your system is low on memory
or something. But I CAN tell you that it is a member of the Page class.
Check the .Net SDK (it's a free download):
[url]http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en[/url]
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
[url]http://www.takempis.com[/url]
Complex things are made up of
lots of simple things.
"MS News" <sql_agentman@hotmail.com> wrote in message
news:%23TIDps3WDHA.2032@TK2MSFTNGP11.phx.gbl...a> But It does not show.
> I am using VB.NET for this Project
> when I type Page.RegisterClientScript it just does not show up in
> intellisence
> I have heard that VB.NET does not list all possible available members ofIDE> class
> What is the Trick to list all members until you use it at least once. (> editor performance reasons ??? )
> Can anyone help
>
> Thanks
> "Kevin Spencer" <kevin@takempis.com> wrote in message
> news:O1iS2k3WDHA.608@TK2MSFTNGP12.phx.gbl...> it> > It's a member of the Page class.
> >
> > --
> > HTH,
> >
> > Kevin Spencer
> > Microsoft MVP
> > .Net Developer
> > [url]http://www.takempis.com[/url]
> > Complex things are made up of
> > lots of simple things.
> >
> > "MS News" <sql_agentman@hotmail.com> wrote in message
> > news:OYapHW3WDHA.1280@tk2msftngp13.phx.gbl...> > > Hello,
> > >
> > > Where can I find
> > > RegisterClientScriptBlock()
> > >
> > > Page class does not have it. Do I have to Import or add some special
> > > reference??
> > >
> > > what about RegisterScript which I can see but can not do anything with>> >> > >
> > > It won't take any arguments
> > >
> > > I am using Framework 1.1 VS2003 etc..
> > >
> > > What Am I missing
> > >
> > >
> > >
> > > Thanks in advance.
> > >
> > >
> > >
> > > J
> > >
> > >
> >
>
Kevin Spencer Guest
-
MS News #6
Re: Where is RegisterClientScriptBlock?? RegisterScripts etc.
On the same machine and same amount of RAM
In C# everything shows up
In VB.net It does NOT Why????
VB Sucks??
Does anyone from Microsoft care to comment on this one??
I already have the latest Framework 1.1 and the Latest VS.NET 2003
Directly form Microsoft
There is a key combination that forces VB.NET to show everything
But I just can't find it
Any help form Microsoft is appreciated. Some INETA People know it??
J
"Kevin Spencer" <kevin@takempis.com> wrote in message
news:ehrZIs4WDHA.2040@TK2MSFTNGP11.phx.gbl...memory> I can't tell you why it doesn't show up. Maybe your system is low on[url]http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en[/url]> or something. But I CAN tell you that it is a member of the Page class.
> Check the .Net SDK (it's a free download):
>
>of>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> [url]http://www.takempis.com[/url]
> Complex things are made up of
> lots of simple things.
>
> "MS News" <sql_agentman@hotmail.com> wrote in message
> news:%23TIDps3WDHA.2032@TK2MSFTNGP11.phx.gbl...> > But It does not show.
> > I am using VB.NET for this Project
> > when I type Page.RegisterClientScript it just does not show up in
> > intellisence
> > I have heard that VB.NET does not list all possible available membersspecial> a> IDE> > class
> > What is the Trick to list all members until you use it at least once. (> > editor performance reasons ??? )
> > Can anyone help
> >
> > Thanks
> > "Kevin Spencer" <kevin@takempis.com> wrote in message
> > news:O1iS2k3WDHA.608@TK2MSFTNGP12.phx.gbl...> > > It's a member of the Page class.
> > >
> > > --
> > > HTH,
> > >
> > > Kevin Spencer
> > > Microsoft MVP
> > > .Net Developer
> > > [url]http://www.takempis.com[/url]
> > > Complex things are made up of
> > > lots of simple things.
> > >
> > > "MS News" <sql_agentman@hotmail.com> wrote in message
> > > news:OYapHW3WDHA.1280@tk2msftngp13.phx.gbl...
> > > > Hello,
> > > >
> > > > Where can I find
> > > > RegisterClientScriptBlock()
> > > >
> > > > Page class does not have it. Do I have to Import or add somewith> > > > reference??
> > > >
> > > > what about RegisterScript which I can see but can not do anything>> > it> >> > > >
> > > > It won't take any arguments
> > > >
> > > > I am using Framework 1.1 VS2003 etc..
> > > >
> > > > What Am I missing
> > > >
> > > >
> > > >
> > > > Thanks in advance.
> > > >
> > > >
> > > >
> > > > J
> > > >
> > > >
> > >
> > >
> >
>
MS News Guest
-
Bill Priess #7
Re: Where is RegisterClientScriptBlock?? RegisterScripts etc.
Hey, I thought that whole thread about VB vs C# made it clear that VB
doesn't suck? ;)
From MSDN:
ms-
help://MS.MSDNQTR.2003APR.1033/vsintro7/html/vcovrWhenIntelliSenseIsUnavailable.htm
Might help... dunno...
On Tue, 5 Aug 2003 10:18:16 -0700, MS News <sql_agentman@hotmail.com>
wrote:
> Hello,
>
> Where can I find
> RegisterClientScriptBlock()
>
> Page class does not have it. Do I have to Import or add some special
> reference??
>
> what about RegisterScript which I can see but can not do anything with it
>
> It won't take any arguments
>
> I am using Framework 1.1 VS2003 etc..
>
> What Am I missing
>
>
>
> Thanks in advance.
>
>
>
> J
>
>
>
--
Using M2, Opera's revolutionary e-mail client: [url]http://www.opera.com/m2/[/url]
Bill Priess Guest
-
MS News \(MS LVP\) #8
Re: Where is RegisterClientScriptBlock?? RegisterScripts etc.
Bill
How do I access this:
help://MS.MSDNQTR.2003APR.1033/vsintro7/html/vcovrWhenIntelliSenseIsUnavaila
ble.htm
I been cursed. to work on a VB.NET Project
C# Rules the Earthlings Universe
"Bill Priess" <no.spam@nospam.com> wrote in message
news:oprtge81vzcimqky@localhost...help://MS.MSDNQTR.2003APR.1033/vsintro7/html/vcovrWhenIntelliSenseIsUnavaila> Hey, I thought that whole thread about VB vs C# made it clear that VB
> doesn't suck? ;)
>
> From MSDN:
>
> ms-
>
ble.htmit>
> Might help... dunno...
>
> On Tue, 5 Aug 2003 10:18:16 -0700, MS News <sql_agentman@hotmail.com>
> wrote:
>> > Hello,
> >
> > Where can I find
> > RegisterClientScriptBlock()
> >
> > Page class does not have it. Do I have to Import or add some special
> > reference??
> >
> > what about RegisterScript which I can see but can not do anything with>> >
> > It won't take any arguments
> >
> > I am using Framework 1.1 VS2003 etc..
> >
> > What Am I missing
> >
> >
> >
> > Thanks in advance.
> >
> >
> >
> > J
> >
> >
> >
>
>
> --
> Using M2, Opera's revolutionary e-mail client: [url]http://www.opera.com/m2/[/url]
MS News \(MS LVP\) Guest
-
Ken Cox [Microsoft MVP] #9
Re: Where is RegisterClientScriptBlock?? RegisterScripts etc.
There's a foolish setting in VS.NET that hides "Advanced" members like
RegisterClient*.
You can switch it off at Tools > Options > Text Editor > Basic > General and
then uncheck Hide advanced members.
Ken
MVP [ASP.NET]
"MS News" <sql_agentman@hotmail.com> wrote in message
news:%23X2ZHz4WDHA.388@TK2MSFTNGP10.phx.gbl...
On the same machine and same amount of RAM
In C# everything shows up
In VB.net It does NOT Why????
VB Sucks??
Does anyone from Microsoft care to comment on this one??
I already have the latest Framework 1.1 and the Latest VS.NET 2003
Directly form Microsoft
There is a key combination that forces VB.NET to show everything
But I just can't find it
Any help form Microsoft is appreciated. Some INETA People know it??
J
"Kevin Spencer" <kevin@takempis.com> wrote in message
news:ehrZIs4WDHA.2040@TK2MSFTNGP11.phx.gbl...memory> I can't tell you why it doesn't show up. Maybe your system is low on[url]http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en[/url]> or something. But I CAN tell you that it is a member of the Page class.
> Check the .Net SDK (it's a free download):
>
>of>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> [url]http://www.takempis.com[/url]
> Complex things are made up of
> lots of simple things.
>
> "MS News" <sql_agentman@hotmail.com> wrote in message
> news:%23TIDps3WDHA.2032@TK2MSFTNGP11.phx.gbl...> > But It does not show.
> > I am using VB.NET for this Project
> > when I type Page.RegisterClientScript it just does not show up in
> > intellisence
> > I have heard that VB.NET does not list all possible available membersspecial> a> IDE> > class
> > What is the Trick to list all members until you use it at least once. (> > editor performance reasons ??? )
> > Can anyone help
> >
> > Thanks
> > "Kevin Spencer" <kevin@takempis.com> wrote in message
> > news:O1iS2k3WDHA.608@TK2MSFTNGP12.phx.gbl...> > > It's a member of the Page class.
> > >
> > > --
> > > HTH,
> > >
> > > Kevin Spencer
> > > Microsoft MVP
> > > .Net Developer
> > > [url]http://www.takempis.com[/url]
> > > Complex things are made up of
> > > lots of simple things.
> > >
> > > "MS News" <sql_agentman@hotmail.com> wrote in message
> > > news:OYapHW3WDHA.1280@tk2msftngp13.phx.gbl...
> > > > Hello,
> > > >
> > > > Where can I find
> > > > RegisterClientScriptBlock()
> > > >
> > > > Page class does not have it. Do I have to Import or add somewith> > > > reference??
> > > >
> > > > what about RegisterScript which I can see but can not do anything>> > it> >> > > >
> > > > It won't take any arguments
> > > >
> > > > I am using Framework 1.1 VS2003 etc..
> > > >
> > > > What Am I missing
> > > >
> > > >
> > > >
> > > > Thanks in advance.
> > > >
> > > >
> > > >
> > > > J
> > > >
> > > >
> > >
> > >
> >
>
Ken Cox [Microsoft MVP] Guest
-
MS News \(MS LVP\) #10
Re: Where is RegisterClientScriptBlock?? RegisterScripts etc.
Thank you
"Chris R. Timmons" <crtimmons@X_NOSPAM_Xcrtimmonsinc.com> wrote in message
news:Xns93CEC9C49DB81crtimmonscrtimmonsin@207.46.2 48.16...> "MS News \(MS LVP\)" <sql_agentman@hotmail.com> wrote in
> news:#$tDKx6WDHA.1268@TK2MSFTNGP11.phx.gbl:
>>> > Bill
> >
> > How do I access this:
> > help://MS.MSDNQTR.2003APR.1033/vsintro7/html/vcovrWhenIntelliSens
> > eIsUnavaila ble.htm
> [url]http://msdn.microsoft.com/library/en-[/url]
> us/vsintro7/html/vcovrWhenIntelliSenseIsUnavailable.asp
>
> or
>
> [url]http://tinyurl.com/j4bt[/url]
>
> Chris.
> -------------
> C.R. Timmons Consulting, Inc.
> [url]http://www.crtimmonsinc.com/[/url]
MS News \(MS LVP\) Guest
-
MS News \(MS LVP\) #11
Re: Where is RegisterClientScriptBlock?? RegisterScripts etc.
Yes It was checked but Grayed out
I uncheked it, then I went to VB specifically and made sure it is unchecked
It is Okay now
But when I go back it is still checked but grayed out
I guess the best thing is to check specifically for each .NET language
Thanks for your effort
"Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> wrote in message
news:efoGjg7WDHA.608@TK2MSFTNGP12.phx.gbl...and> There's a foolish setting in VS.NET that hides "Advanced" members like
> RegisterClient*.
>
> You can switch it off at Tools > Options > Text Editor > Basic > General[url]http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en[/url]> then uncheck Hide advanced members.
>
> Ken
> MVP [ASP.NET]
>
> "MS News" <sql_agentman@hotmail.com> wrote in message
> news:%23X2ZHz4WDHA.388@TK2MSFTNGP10.phx.gbl...
> On the same machine and same amount of RAM
> In C# everything shows up
> In VB.net It does NOT Why????
>
> VB Sucks??
> Does anyone from Microsoft care to comment on this one??
>
> I already have the latest Framework 1.1 and the Latest VS.NET 2003
> Directly form Microsoft
>
> There is a key combination that forces VB.NET to show everything
> But I just can't find it
>
> Any help form Microsoft is appreciated. Some INETA People know it??
>
> J
>
> "Kevin Spencer" <kevin@takempis.com> wrote in message
> news:ehrZIs4WDHA.2040@TK2MSFTNGP11.phx.gbl...> memory> > I can't tell you why it doesn't show up. Maybe your system is low on>> > or something. But I CAN tell you that it is a member of the Page class.
> > Check the .Net SDK (it's a free download):
> >
> >(> of> >
> > --
> > HTH,
> >
> > Kevin Spencer
> > Microsoft MVP
> > .Net Developer
> > [url]http://www.takempis.com[/url]
> > Complex things are made up of
> > lots of simple things.
> >
> > "MS News" <sql_agentman@hotmail.com> wrote in message
> > news:%23TIDps3WDHA.2032@TK2MSFTNGP11.phx.gbl...> > > But It does not show.
> > > I am using VB.NET for this Project
> > > when I type Page.RegisterClientScript it just does not show up in
> > > intellisence
> > > I have heard that VB.NET does not list all possible available members> > a> > > class
> > > What is the Trick to list all members until you use it at least once.> special> > IDE> > > editor performance reasons ??? )
> > > Can anyone help
> > >
> > > Thanks
> > > "Kevin Spencer" <kevin@takempis.com> wrote in message
> > > news:O1iS2k3WDHA.608@TK2MSFTNGP12.phx.gbl...
> > > > It's a member of the Page class.
> > > >
> > > > --
> > > > HTH,
> > > >
> > > > Kevin Spencer
> > > > Microsoft MVP
> > > > .Net Developer
> > > > [url]http://www.takempis.com[/url]
> > > > Complex things are made up of
> > > > lots of simple things.
> > > >
> > > > "MS News" <sql_agentman@hotmail.com> wrote in message
> > > > news:OYapHW3WDHA.1280@tk2msftngp13.phx.gbl...
> > > > > Hello,
> > > > >
> > > > > Where can I find
> > > > > RegisterClientScriptBlock()
> > > > >
> > > > > Page class does not have it. Do I have to Import or add some> with> > > > > reference??
> > > > >
> > > > > what about RegisterScript which I can see but can not do anything>> >> > > it
> > > > >
> > > > > It won't take any arguments
> > > > >
> > > > > I am using Framework 1.1 VS2003 etc..
> > > > >
> > > > > What Am I missing
> > > > >
> > > > >
> > > > >
> > > > > Thanks in advance.
> > > > >
> > > > >
> > > > >
> > > > > J
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
>
>
MS News \(MS LVP\) Guest
-
MS News \(MS LVP\) #12
Re: Where is RegisterClientScriptBlock?? RegisterScripts etc.
Natty Thank you
"Natty Gur" <natty@dao2com.com> wrote in message
news:eZkFhK9WDHA.1680@tk2msftngp13.phx.gbl...> MS News or what so ever Hi,
>
> Its known issue. it got nothing to do with memory or other settings.
> every VB programmer wont see it althogh the method exisit. I report it
> to MS but ...
>
> Natty Gur, CTO
> Dao2Com Ltd.
> 34th Elkalay st. Raanana
> Israel , 43000
> Phone Numbers:
> Office: +972-(0)9-7740261
> Fax: +972-(0)9-7740261
> Mobile: +972-(0)58-888377
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
MS News \(MS LVP\) Guest



Reply With Quote

