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
AMD
NA
1
0
Tab Controls
Sep 22 2004 8:44 AM
Hey, i was wondering if any1 cud help me. I must make a realestate program. There must b a tabControl with 2 pages. Wen a guest logs in i want 2 hide tabPage2 Bcoz only the admin users must be able 2 c that tab, but it doenst wana work... this is the code im using: if (userName == "Guest") { tabPage2.Hide(); } else if (userName == "Admin") { tabPage2.Show(); } wat am i doing wrong? Or can any1 plz tell me a better way 2 do it? Thanks
Reply
Answers (
1
)
ASP.NET with C#
Setting background color of datagrid