Get text of dynamicly created DisplayField

  1. #1

    Get text of dynamicly created DisplayField

    I want to retrieve the text of a dynamicly created DisplayField-control.

    Ext.Net.X.GetCmp(Of Ext.Net.DisplayField)(ControlID).Text
    But the Text is always empty...
    Accessing values of all other types of form controls (textfield, date, ...) works fine, except for the displayfield.

    Thanx!
  2. #2
    Hi,

    DisplayField has no HTML input element, so it's not submitted on server automatically.

    You should save that Text on server or send from client manually.

Similar Threads

  1. Replies: 1
    Last Post: Jul 17, 2012, 5:53 PM
  2. Replies: 2
    Last Post: Jan 25, 2012, 3:18 PM
  3. [CLOSED] [1.0] Issue with dynamicly created user controls (viewstate)
    By klaus.schwarz in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Nov 11, 2010, 12:12 PM
  4. Replies: 14
    Last Post: Nov 03, 2010, 3:40 PM
  5. [CLOSED] [1.0] Tabstrip with dynamicly created items - items.count always 0
    By klaus.schwarz in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 07, 2010, 11:40 AM

Posting Permissions