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
What is application state?
How to turn off cookies for a page?
I have created a configuration setting in my web.config and have kept it at the root level. How do I prevent it from being overridden by another web.config that appears lower in the hierarchy?
What is the request flow used for asp.net mvc framework? : asp.net mvc
Why we go for mvc instead of asp.net? : Asp.Net MVC
Is sql backend or frontend?
Why select Web API?
Why is global asax is used?
What is difference between viewstate and session in asp net?
What is the advantage of using Windows authentication in a Web application?
What is viewstategenerator?
What is the use of view state?
What is inheritance and an how it be used, example with an example?
What is a Cookie? Where is it used in ASP.NET?
What is validation in asp.net?