Hey, I have an ASP.NET usercontrol inside which I am enbedding the Silverlight usercontrol. I have two events in the asp.net usercontrol - EDit and View . In the view mode I want all the controls on the Silverlight side to be disabled . So, How can I disable the controls from my asp.net code. Thanks
views:
39answers:
2
A:
You can use javascript check out this blog Silverlight communication
alejandrobog
2010-04-29 14:16:51
A:
LINQ-based code:
parentControl.Controls.Foreach(c => c.Enabled = false);
VMAtm
2010-05-18 11:22:42