954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

enable LinkButton from another page

hi there,
I am designing ASP.net over VB
I have a linkButton in the master page and it is disabled, in the login page the login Button must enable that linkButton
when I use it immediately like this:

stdMaster.ChangeModeBtn.enable(True)
it does not work , it gives me something about the protected withEvents "is not accessible in this context because it is protected"

I know that I am missing something but I do not know what is it
please tell me

urgent help please

knowledgelover
Junior Poster in Training
86 posts since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

u should use page_loadcomplete event in content page event to findcontrol of linkbutton u had in master page.u should use findcontrol of master page to find control of link button.
hope this helps

greeny_1984
Posting Whiz
372 posts since Apr 2007
Reputation Points: 25
Solved Threads: 29
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You