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 / 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 |
What type of code (server or client) is found in a Code-Behind class?
Is it possible to migrate visual interdev design-time controls to asp.net?
which event in global.asx that fires for every request of same user?
how can i inharit multiple classes?
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?
What is shared and private assembly?
What are server side controls?
What event fired during, when datagrid click?
What is view state? where it stored? can we disable it ?
Security types in ASP/ASP.NET? Different Authentication modes?
4 Answers QuadLabs Technologies,
What is a url string?