C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

One button to another button how to call simple examples


Posted Date: 04 Jul 2009      Posted By: karthikeyan      Member Level: Bronze     Points: 1   Responses: 2



one button to another button how to call simple examples




Responses

Author: Devendra    04 Jul 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

If you want to call click event of Another button by pressing First Button then you have to make same signature for both

Like

protected void btnSubmit_Click(object sender, imageeventargs e)
{
}

For HTML Pages

Add Clcik Event
<asp:ImageButton ID="ImageButton1" runat="server" BorderStyle="None" ImageUrl="~/images/ActionButtons/Add.gif" OnClick="btnSubmit_Click" TabIndex="8" ValidationGroup="ENTRY" />



Author: K'ran    05 Jul 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

just like this simple

protected void Button1_Click(object sender,eventargs e)
{
button2_Click(object sender,eventargs e);
]

Kiran Kumar Koyelada



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Generation of key word
Previous : Error in crystal report
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use