TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
SIVA
NA
742
707.4k
How to hide the HTML button at runtime
Feb 10 2012 9:33 AM
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?
Reply
Answers (
1
)
web application
When we define clean up destructor