Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Javascript and VS.NET
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00806726
Message ID:
00806752
Views:
13
Hi Cathi,
I didn't even know that JavaScript should go in the code behind. And I will read the tip in your link. Thank you very much for your help!

>Hi Dmitry,
>
>You can put the Javascript code in the aspx file or in the code behind. To see how to put the code in the code behind, here is a link to a .NET tip from December:
>
>http://www.levelextreme.com/Magazine/December2002/Page3.asp
>
>
>>This is probably a very "newbie" question but I can't find an answer in VS.NET help.
>>
>>When you need to put Javascript code in your asp.net page, do you just go to HTML code (header section) and add it there "manually"? Or is there another way or writing Javascript code in VS.NET? That is, similar to how you can add Javascript in Dreamweaver in Design View.
>>
>>The reason I am asking is I want to be sure that if I write it "manually" VS.NET does not change/reformat the code upon saving it.
>>
>>TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform