I'm working with Visual Studio 2015 with a Web Forms Project without a Masterfile page.
I want to have as much code as possible in a C# Code Behind file.
I tried to integrate an ej:Button in my Project, but it won't call the onclick method.
Then i tried the same with an asp:Button and it simply works.
Here is some of my code:
//aspx file:
<ej:Button runat="server" OnClick="onSaveClick"></ej:Button>
//aspx.cs file (the code behind file):
protected void onSaveClick(object sender, EventArgs e)
{
Debug.WriteLine("Saved");
}
Generally speaking, i have a hard time following the documentation,the samples and the API.
I searched for ej:Button and other things in all of them and most examples are without a proper C#
way of doing it. Often there is only a javascript way of doing so.
Am I missing some documentation or is this simply the wrong way im trying to program?
Thanks in advance,
Fabian Lorenz