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
What is the difference between System.console.WriteLine() and System.console.Write() function?example?
What is parse method in c#?
What is written in c#?
What is Event - Delegate?
What is dynamic dispatch?
how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used
What is the purpose of escape sequence?
Is c# the same as d flat?
What is the difference between interface and inheritance in c#?
What is generic delegate in c#?
What is an icollection in c#?
How to update the gui from another thread in c#?
What does addressof operator do in background ?
What are the Configuration files in .net?
What do you mean by stack and heap in c#?