|
-
Feb 10th, 2004, 11:53 AM
#1
Thread Starter
Hyperactive Member
How to...change button text?
I have a LEFT and RIGHT frame. The left have buttons (i.e. LOGIN, HOME, etc.). When I click on the login button, I redirect my RIGHT frame to the login page (Login.aspx) for a user to get authenticated.
If they are successful, how do I change the text of the login button (LEFT frame via Menu.aspx) to "LOGOUT" since my VB code is being called in from another page?
Thanks.
-
Feb 10th, 2004, 05:40 PM
#2
Fanatic Member
frames frames frames, dreaded frames!!!
I'd stop using frames now you're using asp.net. They were great for html but now they cause more problems than they solve.
Any components that you would usually put into a frame you should use to build a custom web control and then add it to each page you build.
Don't ask me how to build a custom web control though!!! I just know the theory!!
Cheers
Nick
-
Feb 10th, 2004, 05:47 PM
#3
PowerPoster
a custom web control may be overboard, a web user control for each frame is probably what shoudl be used.
-
Feb 10th, 2004, 05:50 PM
#4
Fanatic Member
oooops that's what i meant
-
Feb 11th, 2004, 08:34 AM
#5
Thread Starter
Hyperactive Member
I have a "beginner level" with asp.net and have decided to remove the frame instead to facilitate good progress on my project.
I'd probably look into a more "complicated" asp scripting when I have a better idea on how to handle things.
Thanks both for your inputs.
-
Feb 12th, 2004, 08:40 PM
#6
Fanatic Member
hi again,
i saw this article and it reminded me of you! It's in c# but shouldn't be a problem to translate.
http://www.dotnetjohn.com/articles/articleid107.aspx
hope it helps
Nick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|