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?



If i have a web page, and one web user control, where in web page contains a text box, and web use..

Answer / 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

More ASP.NET Interview Questions

Can one dll file contains the compiled code of more than one .net language?

0 Answers  


what are webservices?In which circumstances we can go for webservices?

3 Answers   Microsoft,


Which adapter should you use, if you want to get the data from an access database?

0 Answers  


Can you explain autopostback?

0 Answers  


Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?

0 Answers  






What is role manager work in web.config? how to restrict perticular pages from the users using the role manager?

1 Answers   Infosys,


What is the meaning of TestApi?

0 Answers  


What is binding in web service ?

1 Answers   TCS,


about view state and how validation controls will be executed on client and server

3 Answers   Wipro,


To match the two different controls which control would we use ?

2 Answers   Siebel,


In early binding will the method invoked on com component will verify it?s existance in the system or not ?

0 Answers   DELL,


what is state management?

2 Answers  


Categories