Connecting Tech Pros Worldwide Forums | Help | Site Map

More problems with IDE and documentation

Lloyd Sheen
Guest
 
Posts: n/a
#1: Nov 18 '05
I have been adding client code manually but upon reading some of the docs I
notice that I should be able to create the stub for events in client script
using the IDE menus.

Now this would save time (something an IDE is supposed to do), but like way
too many things in the VS 2003 IDE it will not work. I followed the
instructions
(ms-help://MS.VSCC.2003/MS.MSDNQTR.2004JAN.1033/vsintro7/html/csconCreatingS
criptsInHTMLEditor.htm)
but the menu item "View Client Script" is disabled. Well on to the next
paragraph.

It states that the code for a newly added button looks like (see above).
Well the code is different and any attempt to follow the instructions is met
with defeat. PLEASE MS, fix the IDE. The constant barrage of wait until
the next release is getting stale.

I have the page using JScript as client but those instructions still do not
work.

Lloyd Sheen



Ken Cox [Microsoft MVP]
Guest
 
Posts: n/a
#2: Nov 18 '05

re: More problems with IDE and documentation


The item you are interested in seems to be in the Visual Studio 6
documentation, not VS.NET.

http://msdn.microsoft.com/library/de...htmleditor.asp

Are you sure the feature is supported in .NET's editor? It doesn't seem like
it.




"Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in message
news:aptHb.182430$ea%.146642@news01.bloor.is.net.c able.rogers.com...[color=blue]
>I have been adding client code manually but upon reading some of the docs I
> notice that I should be able to create the stub for events in client
> script
> using the IDE menus.
>
> Now this would save time (something an IDE is supposed to do), but like
> way
> too many things in the VS 2003 IDE it will not work. I followed the
> instructions
> (ms-help://MS.VSCC.2003/MS.MSDNQTR.2004JAN.1033/vsintro7/html/csconCreatingS
> criptsInHTMLEditor.htm)
> but the menu item "View Client Script" is disabled. Well on to the next
> paragraph.
>
> It states that the code for a newly added button looks like (see above).
> Well the code is different and any attempt to follow the instructions is
> met
> with defeat. PLEASE MS, fix the IDE. The constant barrage of wait until
> the next release is getting stale.
>
> I have the page using JScript as client but those instructions still do
> not
> work.
>
> Lloyd Sheen
>
>[/color]

Chris R. Timmons
Guest
 
Posts: n/a
#3: Nov 18 '05

re: More problems with IDE and documentation


"Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote
in
news:aptHb.182430$ea%.146642@news01.bloor.is.net.c able.rogers.com:
[color=blue]
> I have been adding client code manually but upon reading some of
> the docs I notice that I should be able to create the stub for
> events in client script using the IDE menus.
>
> Now this would save time (something an IDE is supposed to do),
> but like way too many things in the VS 2003 IDE it will not
> work. I followed the instructions
> (ms-help://MS.VSCC.2003/MS.MSDNQTR.2004JAN.1033/vsintro7/html/csc
> onCreatingS criptsInHTMLEditor.htm)
> but the menu item "View Client Script" is disabled.[/color]

Lloyd,

Are you editing an .aspx page, or an .html page? Note that VS.NET
uses a different designer for each type of page. The "Web Forms
Designer" is for .aspx pages, and the "HTML Editor" is for .htm and
..html pages. The "View Client Script" option is only available when
editing pages that end in .htm or .html.

Chris.
-------------
C.R. Timmons Consulting, Inc.
http://www.crtimmonsinc.com/
Lloyd Sheen
Guest
 
Posts: n/a
#4: Nov 18 '05

re: More problems with IDE and documentation


Thanks that is the problem. I cannot believe the differences though. What
is an ASPX page but HTML with embedded ASP tags. The ability to do (or
rather the inability) seems like there is no code reuse at MS. Oh well
maybe in VS 2010.

Lloyd

"Chris R. Timmons" <crtimmons@X_NOSPAM_Xcrtimmonsinc.com> wrote in message
news:Xns945FA9A947A9crtimmonscrtimmonsin@207.46.24 8.16...[color=blue]
> "Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote
> in
> news:aptHb.182430$ea%.146642@news01.bloor.is.net.c able.rogers.com:
>[color=green]
> > I have been adding client code manually but upon reading some of
> > the docs I notice that I should be able to create the stub for
> > events in client script using the IDE menus.
> >
> > Now this would save time (something an IDE is supposed to do),
> > but like way too many things in the VS 2003 IDE it will not
> > work. I followed the instructions
> > (ms-help://MS.VSCC.2003/MS.MSDNQTR.2004JAN.1033/vsintro7/html/csc
> > onCreatingS criptsInHTMLEditor.htm)
> > but the menu item "View Client Script" is disabled.[/color]
>
> Lloyd,
>
> Are you editing an .aspx page, or an .html page? Note that VS.NET
> uses a different designer for each type of page. The "Web Forms
> Designer" is for .aspx pages, and the "HTML Editor" is for .htm and
> .html pages. The "View Client Script" option is only available when
> editing pages that end in .htm or .html.
>
> Chris.
> -------------
> C.R. Timmons Consulting, Inc.
> http://www.crtimmonsinc.com/[/color]


Lloyd Sheen
Guest
 
Posts: n/a
#5: Nov 18 '05

re: More problems with IDE and documentation


Cannot be since there is no notion of HTML in VS6. And I had filtered to
only use VS 2003.
See other response, it seems that VS2003 does not understand that ASP pages
can have client code.

Lloyd

"Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> wrote in message
news:%23z4wGgQzDHA.1724@TK2MSFTNGP10.phx.gbl...[color=blue]
> The item you are interested in seems to be in the Visual Studio 6
> documentation, not VS.NET.
>
>[/color]
http://msdn.microsoft.com/library/de...htmleditor.asp[color=blue]
>
> Are you sure the feature is supported in .NET's editor? It doesn't seem[/color]
like[color=blue]
> it.
>
>
>
>
> "Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in[/color]
message[color=blue]
> news:aptHb.182430$ea%.146642@news01.bloor.is.net.c able.rogers.com...[color=green]
> >I have been adding client code manually but upon reading some of the docs[/color][/color]
I[color=blue][color=green]
> > notice that I should be able to create the stub for events in client
> > script
> > using the IDE menus.
> >
> > Now this would save time (something an IDE is supposed to do), but like
> > way
> > too many things in the VS 2003 IDE it will not work. I followed the
> > instructions
> >[/color][/color]
(ms-help://MS.VSCC.2003/MS.MSDNQTR.2004JAN.1033/vsintro7/html/csconCreatingS[color=blue][color=green]
> > criptsInHTMLEditor.htm)
> > but the menu item "View Client Script" is disabled. Well on to the next
> > paragraph.
> >
> > It states that the code for a newly added button looks like (see above).
> > Well the code is different and any attempt to follow the instructions is
> > met
> > with defeat. PLEASE MS, fix the IDE. The constant barrage of wait[/color][/color]
until[color=blue][color=green]
> > the next release is getting stale.
> >
> > I have the page using JScript as client but those instructions still do
> > not
> > work.
> >
> > Lloyd Sheen
> >
> >[/color]
>[/color]


Ken Cox [Microsoft MVP]
Guest
 
Posts: n/a
#6: Nov 18 '05

re: More problems with IDE and documentation


Not really. See Visual InterDev.

"Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in message
news:8FCHb.187867$ea%.16334@news01.bloor.is.net.ca ble.rogers.com...[color=blue]
> Cannot be since there is no notion of HTML in VS6. And I had filtered to
> only use VS 2003.
> See other response, it seems that VS2003 does not understand that ASP
> pages
> can have client code.
>
> Lloyd
>
> "Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> wrote in message
> news:%23z4wGgQzDHA.1724@TK2MSFTNGP10.phx.gbl...[color=green]
>> The item you are interested in seems to be in the Visual Studio 6
>> documentation, not VS.NET.
>>
>>[/color]
> http://msdn.microsoft.com/library/de...htmleditor.asp[color=green]
>>
>> Are you sure the feature is supported in .NET's editor? It doesn't seem[/color]
> like[color=green]
>> it.
>>
>>
>>
>>
>> "Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in[/color]
> message[color=green]
>> news:aptHb.182430$ea%.146642@news01.bloor.is.net.c able.rogers.com...[color=darkred]
>> >I have been adding client code manually but upon reading some of the
>> >docs[/color][/color]
> I[color=green][color=darkred]
>> > notice that I should be able to create the stub for events in client
>> > script
>> > using the IDE menus.
>> >
>> > Now this would save time (something an IDE is supposed to do), but like
>> > way
>> > too many things in the VS 2003 IDE it will not work. I followed the
>> > instructions
>> >[/color][/color]
> (ms-help://MS.VSCC.2003/MS.MSDNQTR.2004JAN.1033/vsintro7/html/csconCreatingS[color=green][color=darkred]
>> > criptsInHTMLEditor.htm)
>> > but the menu item "View Client Script" is disabled. Well on to the
>> > next
>> > paragraph.
>> >
>> > It states that the code for a newly added button looks like (see
>> > above).
>> > Well the code is different and any attempt to follow the instructions
>> > is
>> > met
>> > with defeat. PLEASE MS, fix the IDE. The constant barrage of wait[/color][/color]
> until[color=green][color=darkred]
>> > the next release is getting stale.
>> >
>> > I have the page using JScript as client but those instructions still do
>> > not
>> > work.
>> >
>> > Lloyd Sheen
>> >
>> >[/color]
>>[/color]
>
>[/color]

Closed Thread