Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 16011 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET 4.0 > How to Achieve this event fire ...
Jayakumars

How to Achieve this event fire

Replies: 2 | Posted by: Jayakumars on 8/11/2011 | Category: ASP.NET 4.0 Forums | Views: 647 | Status: [Member] | Points: 10  


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

Regards
Email Id: kumaraspcode2009@gmail.com


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Laghaterohan
Laghaterohan  
Posted on: 8/11/2011 3:04:00 AM
Level: Starter | Status: [Member] | Points: 25

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. | Reply | Alert Moderator 

Learningtorise
Learningtorise  
Posted on: 4/16/2013 10:22:39 AM
Level: Starter | Status: [Member] | Points: 25

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);
}

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

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/18/2013 6:26:53 PM