In this article, I want to share about Ext.Net. Before we begin to learn, we need to know what it, according to the official web of are.

Ext.Net is ported to .Net Programming Ext JS, Ext JS is actually also be used in .Net programming, but this Ext.Net easier for developers because it has been created controls can be drag directly to the webform.

Things need to be prepared are:

  • IDE for .Net Programming, here I am using Visual Studio 2010
  • Ext.Net, which can be downloaded on the official website download, in sharing this time I used 2.0.0.rc2 community edition version.
  • Extract the downloaded, in which there
  • ASP.Net with C # code behind.

When you get all the things that needed to be prepared:

  • Create a project, select Visual C # => Web, and then select ASP.Net Web Application
  • Give the name of this project
  • In the ToolBox window, usually on the left side of the screen, or if no can press Ctrl + Alt + X, right-click the toolbox and select Add Tab, named Ext.Net
  • Right-click the Toolbox Ext.Net, select Choose Items.
  • On the .Net Framework Components, click Browse, find then click OK
  • Now the ToolBox Ext.Net already charged components
  • The next step is to create a webform, named WebForm1.aspx
  • Add a ResourceManager to WebForm1.aspx (ResourceManager can be found in the ToolBox ResourceManager is needed by each component
  • Add Ext: Button, set property looks like this:
    <ext:Button ID="Button1" runat="server" Text="Direct Event">
              <Click OnEvent="Button1_Click" />

    Button1 DirectEvents method to perform the action.
  • Then, we move on Code Behind of Webform1.aspx, open webform1.aspx.cs or by pressing the F7 key or you can also select the menu View => Code.
  • On Windows Code Behind, on the declaration using (top) add using Ext.Net;
  • Then, add the following method Button1_Click
    protected void Button1_Click(Object sender, DirectEventArgs e)
       X.Msg.Notify("DirectEvent", DateTime.Now.ToLongTimeString()).Show();
  • Back again to WebForm1.aspx by pressing the Shift + F7 keys or select menu View => Designer.
    Add an Ext: Button again into Webform1.aspx, set its properties as follows.
    <ext:Button ID="Button2" runat="server" Text="Direct Method">
              <Click Handler=";" />
  • Then, add Method Do Something in Code Behind (press F7 to switch to Code Behind window.
    public void DoSomething()
       X.Msg.Notify("DirectMethod", "Akhirnya bisa Ext.Net").Show();
  • When finished, open the Web.Config the solution Explorer, add the following script.
       <add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" />
  • Run the Project by Press F5 or select Debug menu => Start Debugging ASP.NET 5 Hosting
European best, cheap and reliable ASP.NET hosting with instant activation. is #1 Recommended Windows and ASP.NET hosting in European Continent. With 99.99% Uptime Guaranteed of Relibility, Stability and Performace. security team is constantly monitoring the entire network for unusual behaviour. We deliver hosting solution including Shared hosting, Cloud hosting, Reseller hosting, Dedicated Servers, and IT as Service for companies of all size.