Click here to Skip to main content
15,907,492 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am having a master page,a default aspx page that inherit that master page on that default page i am having content and in that i have update panel in which i have button create .so all user control page load on that update panel but now i want to acess that button from default pages update panel and disable it how can i do that

What I have tried:

i have tried many website like yours and many more even i have used some code
Posted
Comments
F-ES Sitecore 8-Feb-16 4:27am    
Update your question to include the markup on your master and default page so we have a better idea what it is you're trying to do.

1 solution

JavaScript
$('.className').attr("disabled", true);
// Jquery


C#
btn.Enabled = false;

// C#
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900