How will U encapsulate button trigger event into text_box
event of Pressing Enter key?i.e only after pressing Enter
after the text is typed the button trigger event should
activate?
Answer Posted / sandipan
Your question is not exactly cleat to me !
But then also assuming your ques i am answering this
[ I THINK YOU WANT TO CAPTURE BUTTON CLICK EVENT WITH ENTER KEY ]
protected void Button1_KeyDown(object sender, EventArgs e)
{
if(e.KeyCode == Keys.Enter)
{
///do your stuff
}
}
REPLY YOUR FEEDBACK !!
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is cli same as the clr?
What is data types in c#?
What do you mean by hashtable c#?
What is the difference between delegates and superdelegates?
What is the purpose of namespace in c#?
What is null propagation c#?
In gridview in editmode if we want to display information in one combobox based on
What is using keyword in C#?
Why is c# better than java?
What are satellite assemblies? How will you get the different language strings?
Is string nullable in c#?
What is an indexer in c#?
What is lazy class in c#?
Explain dataadapter.update method in .net?
Why do we need reflection in c#?