EXT.NET 3.2 RELEASED! With Tablet Support!
We have been working hard and are happy to announce the release of Ext.NET 3.2. Click here for a full list of changes and make sure you visit our download page now to get the latest version.
Results 1 to 3 of 3

Thread: Binding data to DropdownField ext.net control

  1. #1
    Join Date
    Mar 2011

    Binding data to DropdownField ext.net control

    Hello Team Members,

    I am very new to Ext.Net and just starting by trying some proof of concepts. I am an asp.net developer, hence when working on ext.net i am searching for some control properties that we have in asp.net, but without any doubt i know both are different programming models.

    In this POC, i am using a DropDownField, and i have a datasource that contains one table with data OR i also have a List of Entity containing data that i want to bind to the DropDownField Control. In asp.net, we have a DataSource Property to which we can bind the data and the control shows the values.

    Can someone please tell me how can i bind my available datasources to the ext.net DropDownField control. As i am very new, i obviously dont have any examples that i can show. But i have just dropped the DropDownField control on my aspx page and trying to figure out how would i achieve this.

    I have downloaded the latest version of Ext.Net - 3.5 and installed the control library to my Visual Studio 2010 Professional Edition.

    Please help!


  2. #2
    Object.NET + Ext.NET Vladimir's Avatar
    Join Date
    Mar 2008
    Saint-Petersburg, Russia

    DropDownField is a control which shows popup widget under own field

    It is not databound control because its logic depends from popup control

    I guess that you need to use ComboBox widget. ComboBox can work with a Store (Store is databound control which has DataSource and DataSourceID properties) or you can define Items for combo directly
    Vladimir Shcheglov
    Sr. Developer

  3. #3
    Join Date
    Mar 2011
    Thanks vladmir.

    In the DropDownField example, i saw the below code, what do these Listeners signify?

                                        <ItemClick Handler="#{Field2}.setValue(menuItem.text);" />

Similar Threads

  1. [CLOSED] Example of loading user control with data binding
    By jmcantrell in forum 1.x Premium Help
    Replies: 12
    Last Post: Aug 18, 2012, 8:01 AM
  2. [CLOSED] ComboBox in user control binding but not showing data
    By Digital.Dynamics in forum 2.x Premium Help
    Replies: 7
    Last Post: May 08, 2012, 1:09 PM
  3. [CLOSED] Data binding to NetTiers data entity objects
    By vadym.f in forum 1.x Premium Help
    Replies: 7
    Last Post: Apr 09, 2012, 4:35 PM
  4. Data Binding
    By Deepak in forum 1.x Help
    Replies: 3
    Last Post: Nov 04, 2010, 11:27 AM
  5. Combobox not binding data
    By Satyanarayana murthy in forum Open Discussions
    Replies: 0
    Last Post: Jun 27, 2009, 1:22 PM

Posting Permissions