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

How do you name a variable in c#?

0 Answers  


What is the use of flag in c#?

0 Answers  


Describe the ways of cleaning up objects in c#.

0 Answers  


Explain about generics in c#.net?

0 Answers  


Which class comes after the SortedList class?

0 Answers   Siebel,






Why we use get and set method in c#?

0 Answers  


How main method is called in c#?

0 Answers  


Write code for palindrome?

10 Answers   Tech Mahindra,


What are the ways to deploy an assembly?

3 Answers  


What is join in c#?

0 Answers  


what is IFormatable

0 Answers   Wipro,


What is wpf application in c#?

0 Answers  


Categories