Mar 24, 2012, 5:36 PM
[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]