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
18
votes
5 answers

What is the difference between .aspx and .aspx.cs?

I'm not new to programming but am new to Visual Studio, MVC, C#, ASP.NET, and EXT.NET, i.e. all of the tools I am trying to use. I am trying to create an Ext.Net 2.0 MVC4 project and was given a similar (in functionality) non-MVC project for…
Kalina
  • 5,244
  • 16
  • 59
  • 98
11
votes
3 answers

Ext.Net and Ext.JS

Good Day Guys, I know this may sound like a stupid question. However, I wonder if someone can please explain to me the difference between EXT.NET and EXT.JS.. I have been trying to understand both of them, but the result is zero. As far as I know,…
Kiki Chandra
  • 187
  • 1
  • 15
6
votes
1 answer

How to perform a RowClick (ExtNet Store) in runtime

I have 2 grids, and the second is many to one form the first grid's rows, so, whenever I load the page, I need a row selected in the first grid. I tried to do this: X.Call("myFunctionRowSelectJS(#{grpMyGridStore});"); but is'nt working, did I…
maxgomes
  • 329
  • 3
  • 12
6
votes
2 answers

SqlDependency issue with the asp.net

I am trying get the changed values from the sqlserver using the server_broker feature. my code is like below protected void Page_Load(object sender, EventArgs e) { GetData2(); } private void GetData2() { List lst = new List(); …
sakir
  • 3,228
  • 8
  • 29
  • 50
5
votes
1 answer

Progressbar C# with Command Pattern part -1

I have to implement a progressbar in EXT.NET. I have a command "Process" as in processing a transaction. I have to keep track of the total number of transactions and transactions that failed and succeeded. E.g. "There are in total 60 transactions.…
Danny
  • 221
  • 1
  • 6
  • 17
5
votes
1 answer

How to resize ext.net container with border layout on browser window resize

Below is the markup i am using to render an EXT.NET container containing a collapsible panel(west) and another panel containing my content (center). how do i make it resizable when i resize my browser? currently its not resizing as i specified width…
RobertKing
  • 1,713
  • 7
  • 26
  • 53
4
votes
2 answers

Right-to-left direction for Ext.NET TextField

I need to align the Ext:TextField control along with its FieldLabel attribute, as right-to-left direction. By setting LabelAlign to right and body dir="rtl", I can only align all the control to the right. And I get this format displayed:…
amartine
  • 779
  • 9
  • 23
4
votes
2 answers

Application Pool Mode Problem: Classic Or Integrated

I am facing an issue and was hoping if you could please provide me with some guidance: I have a Asp.net 4.0 website application that uses spring.net and ext.net libraries. I have deployed it in IIS 7 using classic application pool mode and it…
InfoLearner
  • 13,592
  • 17
  • 65
  • 108
4
votes
1 answer

two dimensional array ext.net grid view

I have a two dimensional Array for (int i = 0; i < rowList.GetLength(0); i++) { for (int j = 0; j < rowList.GetLength(1); ++j) { System.Diagnostics.Debug.WriteLine(rowList.GetValue(i,j)); …
Mahabub
  • 51
  • 4
4
votes
3 answers

Ext.NET not integrating with ASP.NET MVC 4

I created a MVC 4 web application in VS 2012. Downloaded Ext.Net 2 via NuGet. In my view/home/index.cshtml file, I am trying to type : @Html.X().ResourceManager() I am getting the following when I run: CS1061: 'System.Web.Mvc.HtmlHelper' does not…
user1175857
  • 115
  • 1
  • 11
4
votes
1 answer

How-to setup Ext.NET 2.0 in a VS2012 MVC4 Project?

i have high doubts that my question will be answered, but i'll try here since my frustration levels are so high that maybe it will help myself lower them! So, what i want to do is: Install VS2012 from scratch (okey, click .exe and go!) Create a new…
Valerio
  • 1,748
  • 2
  • 20
  • 29
4
votes
2 answers

browser does not cache resources after restart

This is more a general caching question. In my project I have pages with a couple ext.net 2.0 beta controls with asp.net-mvc3/razor So for these pages, from the data I gather in firebug, I think that the browser isn't caching the ext.axd resource…
nilesh
  • 315
  • 2
  • 10
  • 24
3
votes
2 answers

Use C# to write ASP code on a page

I have ASP code like this:

some text

More text[...]

I would like to generate the…
hardmax
  • 425
  • 1
  • 8
  • 15
3
votes
0 answers

Assistance needed: Keyboard navigation in ExtJS GridPanel - GroupingView

I'm currently working on converting my public facing ExtJS (actually Ext.NET) app to allow keyboard navigation with clear focus indication. So far I've managed to get a TabPanel, and a basic GridPanel (almost) working, with a custom re-work of the…
AndyPC
  • 113
  • 6
3
votes
3 answers
1
2 3
42 43