OnClientClick Event
-
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.....:)
-
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.....:)
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.
-
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.....:)
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/