GridView + JS?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paulo

    GridView + JS?

    Hi, I've a GridView wich shows

    Qtt Price Total
    (Qtt*Price)

    The price is a combo/DropDownList from 0 to 50 and Price is a Decimal
    formatted to show currency.

    When the user changes the Qtt, the Total should change too... but how to do
    that? any examples? via JavaScript?

    VS 2005 asp.net C# 2.0

    Thanks!


  • Paulo

    #2
    Re: GridView + JS?

    Sorry, the Qtt is a combo not the Price.
    "Paulo" <eris_paulo@ter ra.com.brescrev eu na mensagem
    news:ep3BUwduIH A.1504@TK2MSFTN GP05.phx.gbl...
    Hi, I've a GridView wich shows
    >
    Qtt Price Total
    (Qtt*Price)
    >
    The price is a combo/DropDownList from 0 to 50 and Price is a Decimal
    formatted to show currency.
    >
    When the user changes the Qtt, the Total should change too... but how to
    do that? any examples? via JavaScript?
    >
    VS 2005 asp.net C# 2.0
    >
    Thanks!
    >

    Comment

    • Mark Rae [MVP]

      #3
      Re: GridView + JS?

      "Paulo" <eris_paulo@ter ra.com.brwrote in message
      news:ep3BUwduIH A.1504@TK2MSFTN GP05.phx.gbl...
      I've a GridView which shows
      >
      Qtt Price Total
      (Qtt*Price)
      >
      The price is a combo/DropDownList from 0 to 50 and Price is a Decimal
      formatted to show currency.
      >
      When the user changes the Qtt, the Total should change too... but how to
      do that? any examples? via JavaScript?
      JavaScript would certainly allow you to do this without a roundtrip to the
      server...




      --
      Mark Rae
      ASP.NET MVP


      Comment

      Working...