[CLOSED] DirectSelect event of ComboBox not working

  1. #1

    [CLOSED] DirectSelect event of ComboBox not working

    When i use the latest Beta dll for the following code

    <script type="text/C#" runat="server">
        
        protected void UnitofMeasuretypecomboselect(object sender, DirectEventArgs e)
        {
            
        }
    </script>
    <body>
        <form id="form1" runat="server">
        <ext:ResourceManager runat="server">
        </ext:ResourceManager>
        <ext:ComboBox runat="server" ID="UnitOfMeasureComboBox" FieldLabel="Unit of measure *"
            LabelAlign="Top" DisplayField="Text" ValueField="Value" OnDirectSelect="UnitofMeasuretypecomboselect">
            <Items>
                <ext:ListItem Value="1" Text="1" />
                <ext:ListItem Value="2" Text="2" />
            </Items>
        
        </ext:ComboBox>
        </form>
    </body>
    I am getting the following exception when i change the selection

    [NullReferenceException: Object reference not set to an instance of an object.] Ext.Net.Observable.FireAsyncEvent(String eventName, ParameterCollection extraParams) +59 Ext.Net.ResourceManager.RaisePostBackEvent(String eventArgument) +988 System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +176 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
    Last edited by Daniil; Mar 29, 2012 at 10:47 PM. Reason: [CLOSED]
  2. #2
    You have to update from SVN, beta has a bug with direct events
    Please update from
    http://svn.ext.net/premium/branches/2.0

Similar Threads

  1. Replies: 4
    Last Post: Jul 20, 2013, 7:01 PM
  2. [CLOSED] Calendar Add Event is not working in IE 9.0 browser
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 24, 2012, 8:04 AM
  3. MenuItem Click event is not working
    By krishna in forum 1.x Help
    Replies: 1
    Last Post: Mar 31, 2011, 5:36 AM
  4. Ajax Event not working
    By vickygajula in forum 1.x Help
    Replies: 3
    Last Post: Dec 09, 2010, 5:19 PM
  5. Replies: 1
    Last Post: May 19, 2010, 9:12 AM

Tags for this Thread

Posting Permissions