Run Javascript at GridView Edit

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?cm9kY2hhcg==?=

    #1

    Run Javascript at GridView Edit

    hey all,
    when a user hits the edit button of a gridview row is there a way to execute
    a javascript function after the row has been rendered?

    thanks,
    rodchar
  • Harshal

    #2
    Re: Run Javascript at GridView Edit

    Little hacky.. but OnRowCreated willl give u the row, then you can
    FindControl and then add onclick attribute to edit button/link.

    --
    Thanks,
    Harshal Pachpande

    "rodchar" <rodchar@discus sions.microsoft .comwrote in message
    news:86519E61-310F-4282-A25A-56809AD12488@mi crosoft.com...
    hey all,
    when a user hits the edit button of a gridview row is there a way to
    execute
    a javascript function after the row has been rendered?
    >
    thanks,
    rodchar

    Comment

    • =?Utf-8?B?cm9kY2hhcg==?=

      #3
      RE: Run Javascript at GridView Edit

      Thank you for the help.
      rod.

      "rodchar" wrote:
      hey all,
      when a user hits the edit button of a gridview row is there a way to execute
      a javascript function after the row has been rendered?
      >
      thanks,
      rodchar

      Comment

      Working...