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

ext : System.Exception: Sequence contains more than one matching element

Why is this error happening? Any idea ?! (I insert data from a form to the database by using a sqldatasource) I've set the ShowWarningOnFailure="true" and the error window tells me this. { serviceResponse: { success: false, …
user1865552
0
votes
1 answer

Ext.Net GridPanel filters not working

I have a ext:GridPanel. What happens is the First Column's filter works fine, but it loads that same filter for all other columns as well, and they all filter the first column. Can you please have a look at my GridPanel
Armand
  • 9,847
  • 9
  • 42
  • 75
0
votes
1 answer

Filling data in Ext.net FormPanel

I am using Ext.net 2.0 and I am trying to load the first record of the store inside a form panel. I always get no records (getCount() = 0) in the store ? Am I missing something ? @(Html.X().Store() .ID("myStore") …
Oday Hazeem
  • 405
  • 4
  • 7
0
votes
1 answer

How to Display dynamic data in extension .net grid panel?

I have a Grid Panel of extension .net control in my web application .Now the grid panel is bind with Store . I have encrypted login user name & the database stores encrypted login name . Now I want the grid panel to show the actual decrypted data in…
user1782587
0
votes
4 answers

How to generate popup(usercontrol or div) on click of hyperlink residing in usercontrol of aspx?

Project is based on Nhibernate & spring framework with ext.net controls . I have a usercontrol UCA.ascx which has a hyperlink on click of which I want to generate a popup to show details . So what can be done ? Any help is welcome
user1782587
0
votes
3 answers

extjs/c# Yes saves to the database

I have a simple question. I have a FormView, with a save button. When the button is clicked, it saves to databse. I've added an EXT message box to confirm if user wants to save the data or not. when he click yes on the messagebox yes button, then it…
Mark
  • 218
  • 1
  • 4
  • 12
0
votes
2 answers

Ext.net 2.0 ComboBox Store

I have a ComboBox Control: In my code I populate the ComboBox Store by: comboDatabase.Store.Primary.DataSource = dbList comboDatabase.Store.Primary.DataBind() However, in my javascript, when I do…
slee
  • 344
  • 3
  • 5
  • 15
0
votes
1 answer

Ext.Net approach to desktop implementation

i wanto to start use a Ext.Net desktop (i use it as "normal page" for other application). i want to know the best approach of initialization desktop from database data. my actual approach is: 1. start with "minimal" desktop page (start menu ecc...)…
maurox
  • 1,254
  • 1
  • 19
  • 33
0
votes
0 answers

record is not set as dirty when store is updated directly extjs

I have an Ext.net mvc grid, and a store has been bind to the grid. The grid is collapsed on initial load, in once scenario we will be updating the model in controller and bind model back to the store again as below StorePlanDetails.DataSource =…
Ramesh
  • 1
  • 1
0
votes
1 answer

How to convert Datatable to IList C#

While i build the Project, It have a error like this: Server Error in '/' Application. The model item passed into the dictionary is of type 'System.Data.DataTable', but this dictionary requires a model item of type…
trungle.it
  • 97
  • 2
  • 8
0
votes
2 answers

How to fill a GridPanel with data from a database with Ext.Net?

I found this example but am completely new to this and so it is too advanced for me... I understand what's going on in the view, but how and where am I supposed to actually connect to the database, with a username and password and all? What should…
Kalina
  • 5,504
  • 16
  • 64
  • 101
0
votes
2 answers

Get selected values from MultiCombo in Ext.NEt via JS

I am using Ext.Net I have a form with a ComboBox which I have just changed to a MultiCombo. Previously I used "SelectEnquiry.getValues()" to retrieve the selected item and pass it into a parameter used with a Button Direct Event. How do I get the…
DazManCat
  • 3,540
  • 5
  • 30
  • 33
0
votes
1 answer

use javascript function with ext.net control

I wrote this function in javascript function CheckBeforeAddNew(btnId, gridSelected) { $(btnId).click(function () { for (var i in gridSelected) { return true; }; Ext.Msg.alert('Add', 'Can not do without selected item'); …
Harry89pl
  • 2,415
  • 12
  • 42
  • 63
0
votes
1 answer

Is it possible to show a tooltip on an ext.net grid?

In an Ext.Net grid, is it possible to show a tooltip containing text based on the row/column where mouse is positioned ?
stighy
  • 7,260
  • 25
  • 97
  • 157
0
votes
1 answer

set mintime and maxtime of timefield dynamically in ext.net

I am working with EXT.NET 1.2 I want to set minTime and maxTime from codebehind(from cs Page). I ha dwritten following code but not working that code.. is their any mistake or is ther any another method(through Javascript)?? Code tmFrom.Increment =…
Smily
  • 2,646
  • 4
  • 23
  • 31