Button Click- Server and Client

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello All

I have a Question. I have a button "Submit". If the user is not logged in I
want to him to Login. So I show him a div tag which asks him if he wishes to
login. I want this to implement on the client side. If the user is not logged
in I dont want any postback

But if the user is logged in and clicks on "Submit" I want it to be a post
back and submit some data to the database

How do I achieve this

Regards
 
Depending on how you're implementing the security - just make it so that the
button is visible only if logged in
 
Back
Top