How to Achieve this event fire

Posted by Jayakumars under Regular Expressions on 8/11/2011 | Points: 10 | Views : 1401 | Status : [Member] [MVP] | Replies : 2
hi

i need How to fire Image button event from textbox keypress web application

I am design my asp.net page like this Textbox after imagebutton imagebutton
write the methods for save the records i need

when i will type textbox value press entry key i need fire the image button
automatically how will do this or

my image button code like this

protected void Save_Click(object sender, ImageClickEventArgs e)
{
===} here my save record code
}
or how to textbox change event fire this image button events
how will do this
i know web application no need
because easy to type to client so

Mark as Answer if its helpful to you


Responses

Posted by: Laghaterohan on: 8/11/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,

Can you be more clear of your requirement and the scenario?

Best Regards,
Rohan Laghate

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Learningtorise on: 4/16/2013 [Member] Starter | Points: 25

Up
0
Down
ASPX PAGE:
________________________________________________________________________________________________
<asp:TextBox ID='Textbox1' runat='server' OnTextChanged='HandleTextbox1OnTextChanged'>
</asp:TextBox>

Code-Behind
_______________________________________________________________________________________________
public void HandleTextbox1OnTextChanged(Object sender, EventArgs e)
{
Button1_Click(Button1, EventArgs.Empty);
OR
Save_Click(Save, EventArgs.Empty);
}

http://hashtagakash.wordpress.com/

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response