How to hide the HTML button at runtime
Hi All,
Based on my requirement i need to hide the HTML button at runtime..
I have given credentials for 2 groups.. ex: ABC &XYZ
In my application I have created textboxes dynamically by using Javascript when user clicks the HTML button( here if i use ASP button it will go to the postback)
Now my requirement is
--> if the ABC group user login to the page with his ID(ex:123) the button should be in visible.
-->if the XYZ group user login to the page with his ID(ex:789) then the Button will be in Hidden mode.
Can anybody give the solution for this
--> Instead of HTML button I can use ASP Button but it will go to the Postback.Can we restric it?
-->Or else by using Javascript can we check the credentials & Can i hide the HTML button at runtime.
-->Or else Is there any alternate solution for this?