JavaScript features available in .NET 2.0?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rob R. Ainscough

    #1

    JavaScript features available in .NET 2.0?

    Has anyone compiled a list of JavaScript features/functionality that is now
    available directly (aka code behind) in .NET 2.0 web apps?

    For example the Screen object or the document object?

    I'm doing my best to NOT use JavaScript, but I'm finding that difficult with
    ..NET 2.0.

    Thanks, Rob.


  • Marina Levit [MVP]

    #2
    Re: JavaScript features available in .NET 2.0?

    You can't have a good user experience in the browser with just serving up
    HTML without javascript.

    And a lot of things are just impossible to do without javascript, so it has
    to be done whether or not you like it.

    Javascript is your friend. Sure it is interpreted, not type safe, etc. But
    it is also very powerful, and really allows you to make your application
    very usable.

    "Rob R. Ainscough" <robains@pacbel l.net> wrote in message
    news:%23CiMAxZh GHA.3572@TK2MSF TNGP04.phx.gbl. ..[color=blue]
    > Has anyone compiled a list of JavaScript features/functionality that is
    > now available directly (aka code behind) in .NET 2.0 web apps?
    >
    > For example the Screen object or the document object?
    >
    > I'm doing my best to NOT use JavaScript, but I'm finding that difficult
    > with .NET 2.0.
    >
    > Thanks, Rob.
    >[/color]


    Comment

    • Ken Cox [Microsoft MVP]

      #3
      Re: JavaScript features available in .NET 2.0?

      Hi Rob,

      I don't have a list, but I think you'll find that most of the sophisticated
      controls in ASP.NET 2.0 emit JavaScript for one purpose or another. You
      might want to experiment with forcing ASP.NET to render the down-level HTML
      for its controls to see if there's less JavaScript in that mode.

      Nowadays, it's pretty hard to use the RAD controls without getting into
      client-side code.

      Ken
      Microsoft MVP [ASP.NET]

      "Rob R. Ainscough" <robains@pacbel l.net> wrote in message
      news:%23CiMAxZh GHA.3572@TK2MSF TNGP04.phx.gbl. ..[color=blue]
      > Has anyone compiled a list of JavaScript features/functionality that is
      > now available directly (aka code behind) in .NET 2.0 web apps?
      >
      > For example the Screen object or the document object?
      >
      > I'm doing my best to NOT use JavaScript, but I'm finding that difficult
      > with .NET 2.0.
      >
      > Thanks, Rob.
      >[/color]


      Comment

      • Mark Rae

        #4
        Re: JavaScript features available in .NET 2.0?

        "Marina Levit [MVP]" <someone@nospam .com> wrote in message
        news:ewE0X7ZhGH A.1276@TK2MSFTN GP03.phx.gbl...
        [color=blue]
        > You can't have a good user experience in the browser with just serving up
        > HTML without javascript.
        >
        > And a lot of things are just impossible to do without javascript, so it
        > has to be done whether or not you like it.
        >
        > Javascript is your friend. Sure it is interpreted, not type safe, etc.
        > But it is also very powerful, and really allows you to make your
        > application very usable.[/color]

        I couldn't agree more.


        Comment

        Working...