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 are Memory foot print of an exe?

0 Answers   MCN Solutions,


Constructor to an arbitrary base constructor?

0 Answers  


What do you know about WM_CHAR message?

0 Answers   C DAC,


Are constructors inherited c#?

0 Answers  


What is the difference between list and dictionary in c#?

0 Answers  


How do namespaces work?

0 Answers  


While debugging a C# application can you change the value of a variable?

0 Answers   Siebel,


What is dll hell, and how does .net solve it?

0 Answers  


What is exe in c#?

0 Answers  


i want o/p 011242110 in c# code.

0 Answers   TCS,


How more than one version of an assembly can keep in same place?

0 Answers  


Why static variables are used?

0 Answers  


Categories