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
2 answers

How to get the Success response text when a event is created on Bryntum Scheduler

How do I get a success response text when any event is created in Bryntum Scheduler? I have made a success event on the event store but I cannot get any response text in that. The following is the full code for the scheduler. What I want is that…
Manish Gautam
  • 516
  • 2
  • 7
  • 19
0
votes
1 answer

Export Issue with Datatable to CSV

I have used ext.net 1.6 tool. I tried to convert data datatable to csv but i am getting error status code : 200 and status text : Bad Request. And I also exported data from ext.net gridpanel to csv but now i want to export directly datatable to…
0
votes
1 answer

Error throwing while loading GridPanel on button click

I am getting a javascript error while trying to load GridPanel on a button click. The same function is working while calling on page_load event. Code: private DataTable GetDataTable() { DataTable table = new DataTable(); …
0
votes
1 answer

ext:Button not showing up, even though rendered=true

so I got some quite simple markup containing a button inside a Toolbar. The problem now is, even though the button is "correctly" written to DOM it does not show up. See this screenshot for details: would someone mind explaining why setting fixed…
Vogel612
  • 5,620
  • 5
  • 48
  • 73
0
votes
2 answers

Add more than one item in LayoutColumn in Ext.net

I am trying to create 2 different columns, and within each column I want to have multiple items. For instance a ComboBox, and 2 DateFields in one column. I publish the code, and it gives me and error when I try to run it saying "Only one Component…
webminer07
  • 293
  • 4
  • 8
  • 25
0
votes
1 answer

migration of Ext.Net 1.6 to Ext.Net 2.1 with MVC destroys renderer functionality

So i have some large project for which i am creating a sample of migration from Ext.Net 1.6 to Ext.Net 2.1 with MVC 4. Doing so i have stumbled upon the Error, that (after making my web-application conform with my Master Page) the renderer for my…
Vogel612
  • 5,620
  • 5
  • 48
  • 73
0
votes
1 answer

javascript error on ext.net

I am new on ext.net framework and I require lots of help. To begin with the problem I managed to solve the problem regarding the web.config file. Now I can use the ext.net with ease and no references problem has arrived but now I am having trouble…
shunilkarki
  • 85
  • 2
  • 3
  • 17
0
votes
1 answer

Remove space between FieldLabel and Radio Buttons in Ext.net

I am having a problem with the radiogroup FieldLabel because when I dont have the field label in the same column, all the radio buttons are fine and grouped together, but I need the field label to be above all 3 buttons in 1 column. But when i put…
webminer07
  • 293
  • 4
  • 8
  • 25
0
votes
3 answers

having trouble on using ext.net with razor

i am new to ext.net framework. I am trying to use the ext.net frame work along with razor to develop an web application using MVC4. Ext.net being an open source technology i downloaded it and tried to run it . I am having lots of trouble using this…
shunilkarki
  • 85
  • 2
  • 3
  • 17
0
votes
1 answer

Combo box listener in ext.net

I have an Ext.Net.ComboBox. It has been populated by using a sql query. Now I need to filter the elements of the combo box based on the text entered. For eg. comboBox contains the following value. Test1 Test2 MyTest ComboTest So when I…
Chitra B
  • 13
  • 5
0
votes
1 answer

How to dynamically change text of textfield inside toolbar in Ext.net

I'm working on a project with ext.net which has a paginator inside the toolbar of an HtmlEditor Markup is:
Th0rndike
  • 3,406
  • 3
  • 22
  • 42
0
votes
1 answer

Ext.NET using FormPanelFor multiple times raises error

I've 2 FormPanelFor definitions: .Items ( x.FormPanelFor(m => m.SelectedSection).ID("selectedSection"), x.FormPanelFor(m => m.SelectedGroup).ID("selectedGroup") ) And have model definitions: public class Model_Section { [Field(FieldLabel =…
Cankut
  • 667
  • 1
  • 9
  • 22
0
votes
1 answer

Converting C# MVC-4 View to Web-Application

So i got a small aspx View on a running MVC-4 / Ext.Net 2.1 application. i want to covert it to a "Web-Application" with code-behind and designer. When first clicking "Convert to web-application" in the context menu of the View i got following Error…
Vogel612
  • 5,620
  • 5
  • 48
  • 73
0
votes
1 answer

GroupCommand Extra Param (record.data.)

When I click in my GroupCommand, I get this error: "ReferenceError: record is not defined" This is the code:
fassoline
  • 191
  • 1
  • 1
  • 6
0
votes
1 answer

Add new Window from C# Code-Behind in ext.net

I'd like to add a new Window with working Listeners and DirectEvents from code-behind to realize an admin-interface on Button-Click. So far I have following Code (minimalized): Window editwindow = new Window(){ ID="Window_Edit", width = 380, …
Vogel612
  • 5,620
  • 5
  • 48
  • 73