How will U encapsulate button trigger event into text_box event of Pressing Enter key?

Answers were Sorted based on User's Feedback



How will U encapsulate button trigger event into text_box event of Pressing Enter key?..

Answer / ram

by using textchanged event u can fire trigger

Is This Answer Correct ?    8 Yes 3 No

How will U encapsulate button trigger event into text_box event of Pressing Enter key?..

Answer / sandipan4allinterview

protected void Button1_KeyDown(object sender, EventArgs e)
{
if(e.KeyCode == Keys.Enter)
{
///do your stuff
}
}

Is This Answer Correct ?    1 Yes 0 No

How will U encapsulate button trigger event into text_box event of Pressing Enter key?..

Answer / arvind kumar

encapsulation is a process in which we can get all the
imformation .

Is This Answer Correct ?    0 Yes 10 No

Post New Answer

More C Sharp Interview Questions

What is the base class for array types?

0 Answers  


What do you know about WM_CHAR message?

0 Answers   C DAC,


What is or operator in c#?

0 Answers  


What is anonymous method in c#?

0 Answers  


What is interface used in c#?

0 Answers  


What is the difference between Static, Const and read only?

0 Answers  


which access modifier we can declare the abstract class?

5 Answers   IBM,


What is an arraylist in c#?

0 Answers  


What are iterators?

5 Answers   TCS,


Is array passed by reference in c#?

0 Answers  


How do I unload an application domain?

0 Answers  


Why ienumerable is used in c#?

0 Answers  


Categories