Calling Javascript from codebehind...

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ekken Zuiber (anonymous_at_discussions.microsoft.com)
Date: 06/04/04


Date: Thu, 3 Jun 2004 17:31:03 -0700

hiye people, i know this have been ask multipletimes over the past year, but i cant find any here in the new group so here goes...

in my code behind, i'm going to do some validation and use javascript to throw the msg out to them, these errors msg are query from the db.
1st, how can i call a javascript function from codebehind. is there any other way besides response.write = "<script></script>" ???
2nd, can someone recommend me ways i can pass parameters from codebehind into my javascript?

thanks in advance...

Zuiber



Relevant Pages

  • Re: Windows Form Dictionary
    ... intBookId (INT) ... I show this content in webBrowser  control. ... i cant use html file or tag or link style or other ... I obtain the word which double click with javascript, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Help with IE6/Javascript
    ... >> Whenever I go to this page from my laptop or home computer I cant ... >> JavaScript in your browser to switch the measurements on this page ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Execute Javascript From Buttons Inside Datagrid
    ... so you cant do it that way. ... > "Jon" wrote in message ... > column would come up in a popup window. ... I have the javascript to do the ...
    (microsoft.public.dotnet.general)
  • Re: WWW:Mechanize with Menu
    ... The problem is that I cant see the code. ... I dont know if it is ... Javascript. ...
    (perl.beginners)