Dynamic Javascript & ASP.NET

Last post 06-15-2008 2:19 PM by chsword. 1 replies.

Sort Posts:

  • Dynamic Javascript & ASP.NET

    06-15-2008, 8:50 AM
    • Loading...
    • andyscott12
    • Joined on 06-15-2008, 12:47 PM
    • Posts 2

    Hi :)

    I had a question in relation to Javascript and MVC. Is there any MVC way/method which can register a JS function script dynamically i.e. from the server (C# Code?)

    I've searched everywhere in MVC forums/examples but cant seem to find any code/tutorials for doing this ? There is other posts for doing it statically but not from the server ?

    Any help/code would be very appreciated.

    Thanks,

    Andy 

    Filed under: ,
  • Re: Dynamic Javascript & ASP.NET

    06-15-2008, 2:19 PM
    • Loading...
    • chsword
    • Joined on 11-25-2006, 1:52 AM
    • Posts 29

    I think there's no method to register a block of javascript

    because js is runat  client ,it will be controled with View but Controller
     

    弃我去者,昨日之日不可留。 乱我心者,今日之日多烦忧。
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter