Hi,
I need to run some code when user press enter after some text. I tried just like that:
on load:
txtSearch.KeyDown += txtSearch_KeyDown;
private void txtSearch_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Return || e.KeyCode == Keys.Enter)
cmdSearch_Click(sender, e);
}
txtSearch_KeyDown is never called. Did I miss something?
Hello Adrian,
Unfortunately, we weren’t able to reproduce this issue.
Can you tell us what version of Wisej you’re using?
If it’s possible, can you send a small test case too?
Thank you,
Alaa
Please login first to submit.