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
Explain the difference between overriding and overloading?
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?
How can we create Tree control in asp.net?
What are the different types of sessions in asp.net? Name them?
What are Authentication and Authorization?
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
Explain the difference between an exe and a dll?
Why is this service branded with windows livetm?
Explain different types of Caching techniques in ASP.NET?
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
What are the new data controls in asp.net 2.0?
Explain the benefits of viewstate?
What is the use of placeholder control? Can we see it at runtime?
What is query string?
Explain about asp.net 2.0 themes?