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. OnClientClick Event

OnClientClick Event

Scheduled Pinned Locked Moved ASP.NET
sysadmintutorial
3 Posts 3 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
    KhandelwalA
    wrote on last edited by
    #1

    Is it possible to call onClientClick event on a specific condition at server side.....I mean i m entering prodcut reviews from user and it is necessary for user to login and for that i m using animation extender on click event i want to check whether logged in or not if yes then save the reviews else show animation window for login........i created animation extender at desing view ....plz guide me a bit.....:)

    C V 2 Replies Last reply
    0
    • K KhandelwalA

      Is it possible to call onClientClick event on a specific condition at server side.....I mean i m entering prodcut reviews from user and it is necessary for user to login and for that i m using animation extender on click event i want to check whether logged in or not if yes then save the reviews else show animation window for login........i created animation extender at desing view ....plz guide me a bit.....:)

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      KhandelwalA wrote:

      Is it possible to call onClientClick event on a specific condition at server side.....

      Not without the code in question making an AJAX call to check the status on the server side, or the status on the server being passed to the client beforehand.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • K KhandelwalA

        Is it possible to call onClientClick event on a specific condition at server side.....I mean i m entering prodcut reviews from user and it is necessary for user to login and for that i m using animation extender on click event i want to check whether logged in or not if yes then save the reviews else show animation window for login........i created animation extender at desing view ....plz guide me a bit.....:)

        V Offline
        V Offline
        Vimalsoft Pty Ltd
        wrote on last edited by
        #3

        If you are using Sessions to check if the user is logged in then it can be done on the server side by check the null for the session. or you can still do it on the client site.

        Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

        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