Click here to Skip to main content
15,891,993 members
Home / Discussions / C#
   

C#

 
AnswerRe: Can an Attribute class find out, to which class it is actually attached? Pin
BobJanova5-Oct-12 1:15
BobJanova5-Oct-12 1:15 
GeneralRe: Can an Attribute class find out, to which class it is actually attached? Pin
Andy4116-Oct-12 2:25
Andy4116-Oct-12 2:25 
QuestionReturning Object From HashTable Pin
AmbiguousName4-Oct-12 1:10
AmbiguousName4-Oct-12 1:10 
AnswerRe: Returning Object From HashTable Pin
Smart Arab4-Oct-12 1:54
Smart Arab4-Oct-12 1:54 
AnswerRe: Returning Object From HashTable Pin
Member 94836444-Oct-12 1:59
Member 94836444-Oct-12 1:59 
AnswerRe: Returning Object From HashTable Pin
Manfred Rudolf Bihy4-Oct-12 2:22
professionalManfred Rudolf Bihy4-Oct-12 2:22 
AnswerRe: Returning Object From HashTable Pin
Bernhard Hiller4-Oct-12 21:05
Bernhard Hiller4-Oct-12 21:05 
Questionbusiness process management Pin
Sagar Pulidindi4-Oct-12 1:04
Sagar Pulidindi4-Oct-12 1:04 
AnswerRe: BUSINESS PROCESS MANAGEMENT Pin
OriginalGriff4-Oct-12 9:34
mveOriginalGriff4-Oct-12 9:34 
QuestionC# Pin
S Akshay4-Oct-12 0:19
S Akshay4-Oct-12 0:19 
AnswerRe: C# Pin
Eddy Vluggen4-Oct-12 0:42
professionalEddy Vluggen4-Oct-12 0:42 
QuestionJQUERY in C# Pin
JabbarJahambana3-Oct-12 22:00
JabbarJahambana3-Oct-12 22:00 
AnswerRe: JQUERY in C# Pin
Pete O'Hanlon3-Oct-12 22:30
mvePete O'Hanlon3-Oct-12 22:30 
AnswerRe: JQUERY in C# Pin
palakshamb4-Oct-12 23:42
palakshamb4-Oct-12 23:42 
I hope it may help you..

JQuery:
JavaScript
$(document).ready(function () {
$('#button1').click(function (event) {
                $('#button2').click();
                event.preventDefault();
                return false;
            });
});

HTML:
ASP.NET
<asp:Button runat="server" ID="btn1" onclick="btn1_Click" Text="Button One" ClientIDMode="Static" />
        <asp:Button runat="server" ID="btn2" onclick="btn2_Click" Text="Button Two" ClientIDMode="Static" />
        <asp:Label runat="server" ID="lbl2"></asp:Label>



code behind for button2 click event:
C#
protected void btn2_Click(object sender, EventArgs e)
{
            var test2 = "test2";
            lbl2.Text = "btn2_Click";
}


Paly
QuestionTagLibSharp help needed Pin
joost.versteegen3-Oct-12 20:42
joost.versteegen3-Oct-12 20:42 
AnswerRe: TagLibSharp help needed Pin
Smart Arab3-Oct-12 21:18
Smart Arab3-Oct-12 21:18 
AnswerRe: TagLibSharp help needed Pin
joost.versteegen3-Oct-12 21:41
joost.versteegen3-Oct-12 21:41 
QuestionEquation on c# Pin
sabuhi_asad3-Oct-12 20:41
sabuhi_asad3-Oct-12 20:41 
AnswerRe: Equation on c# Pin
Richard MacCutchan3-Oct-12 21:41
mveRichard MacCutchan3-Oct-12 21:41 
QuestionImplementing Private Inheritence Pin
AmbiguousName3-Oct-12 19:07
AmbiguousName3-Oct-12 19:07 
AnswerRe: Implementing Private Inheritence Pin
Peter_in_27803-Oct-12 19:21
professionalPeter_in_27803-Oct-12 19:21 
GeneralRe: Implementing Private Inheritence Pin
AmbiguousName3-Oct-12 19:33
AmbiguousName3-Oct-12 19:33 
GeneralRe: Implementing Private Inheritence Pin
Peter_in_27803-Oct-12 19:50
professionalPeter_in_27803-Oct-12 19:50 
AnswerRe: Implementing Private Inheritence Pin
Pete O'Hanlon3-Oct-12 22:19
mvePete O'Hanlon3-Oct-12 22:19 
AnswerRe: Implementing Private Inheritence Pin
jschell4-Oct-12 11:39
jschell4-Oct-12 11:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.