If i have a web page, and one web user control, where in web
page contains a text box, and web user control have check
box, if i place a web user control in the webpage, when i
check the check box, the out put should show it is checked
or not. How we can do this?

Answer Posted / mithun

Define a EventHandler in the usercontrol. in the user control when the checkbox checkedchanged event is fired, raise the usercontrol event. in checkchanged event set a propety.

in the web page, user control shld fire the event, get the property value in usercontrol and set it to textbox.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a reflection?

653


What is the difference between response.redirect and server.transfer?

617


What is the application pool?

628


What do you mean by caching in asp.net?

638


How do we ensure view state has not tampered?

696






Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj

2935


What is voluum?

639


What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?

859


How do I open an ashx file?

613


Which browsers support the xmlhttprequest object?

613


Explain MVC model binders?

700


Do you know using sql cache invalidation?

626


How to do state management in ASP.NET?

682


what is loosely coupled solution? How it can be used?

642


Which is better php or asp.net?

597