Question { TCS, 7050 }
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
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 !!