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
    })
)
643 questions
0
votes
1 answer

How to add an InputMask plugin?

How to add an InputMask plugin, and a mask, in a textfield dynamically, via JS? I already tried: field.addPlugins(new InputMask( { Mask: result })); but didn't work.
JoaxAzevedo
  • 123
  • 1
  • 11
0
votes
1 answer

Why is the grid View only updated on second function call?

i have following direct event Handler in Code-Behind: public void changeBlock(string blockname) { IntraNetEntities ent = new IntraNetEntities(); var query = from x in ent.Mailings_blocked where x.blocked == blockname select x; if…
Vogel612
  • 5,620
  • 5
  • 48
  • 73
0
votes
2 answers

onclick defined text-var returns emptystring on log

var listname=$(this).parents(".x-grid3-row-table").children(".x-grid3-cell-inner.x-grid3-col-1").text(); console.log(listname); the console.log returns following: (an empty string) can you help me on why listname is empty? and could you also tell…
Vogel612
  • 5,620
  • 5
  • 48
  • 73
0
votes
1 answer

how do I define a nested store for ext.js using ext.net

Platform - Ext.net 2.1 in an MVC project. The data is coming back as json from a DirectMethod and I'm binding on the client. I'm returning the results of a dataset with multiple tables with relationships defined between the tables. I want to bind…
Shmuly
  • 155
  • 8
0
votes
2 answers

Ext.net MVC Razor Cell double click on gridpanel

I want to double click on a cell of a gridpanel an call another action/view with extra parameter example: The gridpanel is in .../Student and I want to show the details of one student in another page ex: /Student/Detail/1 double clicking on…
0
votes
1 answer

Filter Issue in Ext.Net Grid Panel

I am developing an application using Ext.Net, here in the Gridpanel I am facing problem with filters in it. After I searched for the desired string in the filter the paging in the grid is not working properly and some times the filter option is…
shrujan
  • 1
  • 2
0
votes
2 answers

Ext.Net Rtl="true"

according to ExtJS you can use rtl:true for mirroring right to left does Ext.Net 2.1 support this ? How to use this property with Ext.Net ? UPDATE As answered , it's not yet supported but I found this css and js to be very useful mirror.css,…
bit8bug
  • 97
  • 1
  • 1
  • 12
0
votes
1 answer

Ext.net 2.1 Multicolumn ComboBox from Codebehind

How to create a simple two column combobox as shown at http://examples.ext.net/#/Form/ComboBox/Two_Columns/ from the code behind? When creating exactly the same control by translating the markup to codebehind, few null reference errors occur…
Nancy
  • 147
  • 2
  • 18
0
votes
1 answer

Ext.Net 2.1 is it possible to create custom user controls?

I've tried to find way how i can create custom user control with ext.net, but unsuccessfull. What i've tried and found: 1) Create .ascx user control - it is impossible to add this control to ext.net parent, only through control loading, but 2) if i…
Anton
  • 575
  • 2
  • 7
  • 27
0
votes
1 answer

How to force a page to be displayed inside an ext:Panel?

This is about ext.net. I have a link in West section, by clicking which, a webpage should be displayed in the Center section in a tab. But how to prevent the page from being rendered in a new browser window or tab (by shift click, or right click,…
Blaise
  • 21,314
  • 28
  • 108
  • 169
0
votes
1 answer

How to load Panel in TabPanel after click Tab extjs?

When page load, all Panel in TabPanel autoload. I don't want it. How to load Panel after click to this Tab?
0
votes
1 answer

Ext , Grid , scrolling after edit cell with RTL

I have a RTL webpage with a Ext.Net c# Grid control. I allow scrolling for the grid. This all works fine. After I change value of a cell in RTL "Ext grid" , scroll bar lose correct size.
Dead Line
  • 1
  • 3
0
votes
1 answer

Want to display and store images from database

I have a Client table in my database. in which there is one field image, in which the name of the file is stored. Now i want that when i save the data the image should store in image folder of my project and the name of image(filename) should store…
vaishali
  • 153
  • 1
  • 7
  • 19
0
votes
1 answer

Exclusion validation

I'm validating a gridpanel column against its model but having trouble with exclusion validation. All values except 0 are valid but using the code bellow i'm getting always invalid. Any ideas of what I' might be doing wrong?
tonymayoral
  • 4,797
  • 2
  • 26
  • 27
0
votes
2 answers

How To integrate flowplayer in ext.net2.0?

I try to integrate Flow Player in Ext.net. How to Set Video src in code (.cs file).
Pavan V Parekh
  • 1,906
  • 2
  • 19
  • 36