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 virtual in c#?

0 Answers  


What is difference between a function and a method?

0 Answers  


How do you declare a variable in c#?

0 Answers  


What is parallel foreach c#?

0 Answers  


What are the types of threading models ?

4 Answers   Digital GlobalSoft,






write a C# Program add two matrix ?

0 Answers   Wipro,


Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?

0 Answers  


What is args c#?

0 Answers  


What is a lambda expression in c#?

0 Answers  


Explain Constructor and destructor?

0 Answers  


What is lazy keyword in c#?

0 Answers  


Can you specify an access modifier for an enumeration?

0 Answers  


Categories