Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Alireza C

@Alireza C
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Cant find onClick function in C#
    A Alireza C

    Your Welcome Dear Friend.

    C# csharp sysadmin help question

  • Cant find onClick function in C#
    A Alireza C

    Amit Answer is enough for you to solve your problem but I want to tell you about setting events in Asp.net Forms. When you create control in Asp.net Form and then you want to create event for that,You can create event code in C# code of Asp.net Page. Because of this you should set the type of event and name of it by tag in Asp.net page then go to the C# page of it and create the handle code for your event. For example I want to create onclick event for button in my page. First you write the button code in Asp.net Page same as this code:

    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />

    Then go to C# page and create event for that button same as this code:

    protected void Button1_Click(object sender, EventArgs e)
    {

    }

    The important thing is the name of event in the tag and the name event in c# code should be same. It's very simple and I believe you can do it so if it works let me know.

    C# csharp sysadmin help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups