Questions tagged [ext.net]

Ext.NET is an ASP.NET Component framework that integrates the Sencha Ext JS JavaScript framework. The framework allows the user interface to be built decoratively using ASP.NET tag based markup, code-behind or inline fluent syntax, rather than programmatically through JavaScript. Both ASP.NET WebForms and ASP.NET MVC are supported, including the Razor View Engine.

Ext.NET is an ASP.NET Component framework that integrates the Sencha Ext JS JavaScript framework. It allows the Ext JS user interface to be built declaratively using ASP.NET tag based markup, code-behind or inline fluent syntax, rather than programmatically through JavaScript.

Full source code samples available in the Ext.NET Examples Explorer. Online API docs at http://docs.ext.net/.

Rather than writing JavaScript code similar to:

var win = new Ext.Window({
    id     : 'win-id',
    width  : 400,
    height : 300,
    title  : 'Window Title',
    loader : { 
        url: 'http://www.lipsum.com/',
        autoLoad: true
    }
});

Markup such as the following can be written:

<ext:Window 
    ID="win-id" 
    runat="server" 
    width="400" 
    height="300" 
    title="Window Title">
    <Loader
        runat="server"
        Url="http://www.lipsum.com/"
        AutoLoad="true" />
</ext:Window>

Code-behind such as the following can be written:

var win = new Window {
    ID = "win-id",
    Width = 400,
    Height = 300,
    Title = "Window Title",
    Loader = new ComponentLoader()
    {
        Url = "http://www.lipsum.com/",
        AutoLoad = true
    }
};

RazorView such as the following can be written:

@(Html.X().Window()
    .ID("win-id")
    .Width(400)
    .Height(300)
    .Title("Window Title")
    .Loader(new ComponentLoader()
    {
        Url = "http://www.lipsum.com/",
        AutoLoad = true
    })
)
641 questions
3
votes
2 answers

Asp.net and Ext.Net validation

Does anybody show me an example of ext.net validation? I want to mix asp.net and ext.net validation. Or use ext.net validation only. I've already saw these examples http://examples.ext.net/#/Form/Validation/Custom_VType/ and…
Alexandre
  • 12,176
  • 33
  • 111
  • 172
3
votes
2 answers

How do I position a GridPanel inside an Ext.NET window?

I can't seem to set the position of an Ext.NET GridPanel inside an Ext.NET window and I wonder why?
Alexandre
  • 12,176
  • 33
  • 111
  • 172
3
votes
2 answers

Ext.net: how to set a width in percent instead pixel?

i would like to set GridPanel width, to 100%. My gridpanel is in a table. I know i can only set gridpanel width in fixed pixel. So my question is: how to set width of panel, gridpanel etc. in percent in ext.net ? Is it possible ? I don't want to…
stighy
  • 7,395
  • 22
  • 82
  • 147
3
votes
1 answer

Is Ext.NET a server side library?

This is a little "vague" question. I would like to know how the Ext.NET library works. I know it is a "wrapper" on top of extjs, but my question is: Is Ext.NET usable by server code and not via "complicated" javascript client side code?
stighy
  • 7,395
  • 22
  • 82
  • 147
3
votes
2 answers

Varbinary max image

I am storing images in database in a varbinary(max) field. I am try to show an image on my form. I've tried many different ways but it did not show it. This is my Code: //I am adding an image in my form Ext.Net.Image image = new…
John
  • 41
  • 1
  • 4
3
votes
1 answer

How can I set timeout grid or store at Ext.Net

I will show 375 record in ext.net page but ext.net grid or store default timeout 30 second I need to 130 second but I cant set timeout. my ext.net version is 2.4. How can I set? I try this way but doesnt work.