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
  1. Home
  2. Web Development
  3. ASP.NET
  4. Custom Web component

Custom Web component

Scheduled Pinned Locked Moved ASP.NET
htmlsysadminhelp
2 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.
  • K Offline
    K Offline
    Kanjinghat
    wrote on last edited by
    #1

    Dear all, :confused: I have developed a custom toolbar control. The toolbar control is entirely developed of a html table. on the click event of the cells of the table i added a server side method. it is working fine, clicking the cell will execute the corresponding server side method and gets post back. Know my requirement is that i have to add client side method which has to be executed first and depending up on the result i have to call the server method or simply ignore the click event. When i add the client side method to its clck event the server method is not at all being called on the click event. it just executes the client method and not allowing me to take the decission. Can any body help me regarding this. i have tested return true and return false too. no use :confused: ThanX in advance.

    Ramesh.Kanjinghat

    M 1 Reply Last reply
    0
    • K Kanjinghat

      Dear all, :confused: I have developed a custom toolbar control. The toolbar control is entirely developed of a html table. on the click event of the cells of the table i added a server side method. it is working fine, clicking the cell will execute the corresponding server side method and gets post back. Know my requirement is that i have to add client side method which has to be executed first and depending up on the result i have to call the server method or simply ignore the click event. When i add the client side method to its clck event the server method is not at all being called on the click event. it just executes the client method and not allowing me to take the decission. Can any body help me regarding this. i have tested return true and return false too. no use :confused: ThanX in advance.

      Ramesh.Kanjinghat

      M Offline
      M Offline
      M LN Rao
      wrote on last edited by
      #2

      function func() { //evaluate your result if (resultOk) { __doPostBack("",""); } } for more details search google on Manually calling __doPostBack

      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