Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. catch sender outside the event handler

catch sender outside the event handler

Scheduled Pinned Locked Moved ASP.NET
javascriptquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SABhatti
    wrote on last edited by
    #1

    is it possible to catch sender in any other function than the actual event handler? what I want is to catch save button click event in pageload or itemcreated. I know I can do it using javascript and hidden field, but is it possible with out javascript? thanks in advance. -----

    D 1 Reply Last reply
    0
    • S SABhatti

      is it possible to catch sender in any other function than the actual event handler? what I want is to catch save button click event in pageload or itemcreated. I know I can do it using javascript and hidden field, but is it possible with out javascript? thanks in advance. -----

      D Offline
      D Offline
      Daniel Santillanes
      wrote on last edited by
      #2

      Interesting... why would you want to know that in the page load or itemcreated event? what's your special need? Just wondering, cause I think it's not possible. I just hope I'm very very wrong :P. daniero

      S 1 Reply Last reply
      0
      • D Daniel Santillanes

        Interesting... why would you want to know that in the page load or itemcreated event? what's your special need? Just wondering, cause I think it's not possible. I just hope I'm very very wrong :P. daniero

        S Offline
        S Offline
        SABhatti
        wrote on last edited by
        #3

        well :-D i thought if I catch thi then I can validate the data and replace the textbox with dropdownlist... but it won't help because in itemcreated... you cannot get values of datagrid items.. these are only accessible after itembound... so I may have to go for someother approach.. to retain the dropdownlist after next postback.. ;P -----

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups