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

What type of code (server or client) is found in a Code-Behind class?

3 Answers   Siebel Systems,


Is it possible to migrate visual interdev design-time controls to asp.net?

0 Answers  


which event in global.asx that fires for every request of same user?

4 Answers   FactorH,


how can i inharit multiple classes?

3 Answers  


You are using the try? catch block seen in the following code segment, but no exceptions are ever caught by the catch block. What is the problem? SqlConnection cn =new sqlConnection(strSQL); SqlDataSet ds; try { cn.open(); //perform the data processing steps ??.. } catch (OleDbException e) { ?.. } a) The exception class is wrong; it should be sqlErrors. b) The exception class is wrong; it should be sqlSyntaxExceptios. c) The exception class is wrong; it should be sqlExceptions. d) The exception class is wrong; it should be sqlExcptions.

2 Answers   Microsoft, Syntax Softtech,






What is Partial PostBack in ASP.NET?

0 Answers   Viscus Infotech,


What is shared and private assembly?

1 Answers   Accenture,


What are server side controls?

0 Answers  


What event fired during, when datagrid click?

1 Answers  


What is view state? where it stored? can we disable it ?

1 Answers  


Security types in ASP/ASP.NET? Different Authentication modes?

4 Answers   QuadLabs Technologies,


What is a url string?

0 Answers  


Categories