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
Why and where this web.config file is used?
How do session tokens work?
Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?
We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?
What is asp.net globalization?
Explain how can we access static variable?
What kind of data can be stored in viewstate?
Why asp.net is used?
What are the 3 levels at which content pages can be attached to Master Page?
Differentiate between globalization and localization.
3. What goals do you have in your career?
What is routing in MVC?
Which namespace is used by ado.net?
Disable browser cache for entire ASP.NET website?
What is the life cycle of web page?