[CLOSED] Selected value of ComboBox is null or empty - Ext.NET.WebForms.Pro.2.2.0

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Selected value of ComboBox is null or empty - Ext.NET.WebForms.Pro.2.2.0

    Last edited by Daniil; Nov 19, 2013 at 5:55 AM. Reason: [CLOSED]
  2. #2
    Hello!

    Could you provide a full sample to reproduce? Here you can get some good practices: http://forums.ext.net/showthread.php?3440
  3. #3
    Hi Baidaly,

    i changed my example.
  4. #4
    Hi,

    Running your example I see nothing. Well, because of Hidden="true" setting. So, I removed it.

    Also we do not have "l_reporter". So, I replaced it with:
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!X.IsAjaxRequest)
        {
            st_cb_reporter.DataSource = new object[] 
            { 
                new 
                { 
                    Name = "Name 1", 
                    Value = "Value 1"
                }
            };
            st_cb_reporter.DataBind();
        }
    }
    Also I add an alert call.
    var value = cb_who_report.getValue();
    
    alert(value);
    Finally, I select the ComboBox's item and clicked the Button. I see "Value 1" in an alert box. It is expected. I tested with the v2.2 release and with the trunk. Same results with both.

    In the next post, please provide a standalone runnable ASPX page which we can copy, paste and run without any change. Also please describe exact steps:

    1. Do...
    2. Do...
    3. etc.

    Thank you.

Similar Threads

  1. selected Value become empty in combobox
    By praveencat123 in forum 1.x Help
    Replies: 1
    Last Post: Jun 04, 2013, 6:09 PM
  2. Replies: 0
    Last Post: Mar 14, 2013, 3:37 PM
  3. Replies: 0
    Last Post: Apr 05, 2012, 5:28 AM
  4. Replies: 0
    Last Post: Jun 26, 2009, 11:32 AM

Posting Permissions