iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
<table cellpadding="0" cellspacing="8" style="margin-bottom:5px;" class="gradient_panel" height="150px" > <tr> <td width="10%" class="label_cell">Event Name: </td> <td width="16%" colspan="1"> <ISWebInput:WebInput ID="txtEventName" runat="server" Width="150px" BackColor ="white" /> </td> <td class="label_cell">Event Code:</td> <td colspan="3"> <ISWebInput:WebInput ID="txtEventCode" runat="server" Width="150px" BackColor ="white" /> </td> <td rowspan = "6" class="separator"> </td> <td width="25%" rowspan = "6" > <asp:Panel runat="server" ID="panEdit" Visible="true"> <table width="100%"> <tr> <td style="text-align:center"> <DT:WebButton runat="server" ID="btnSave" Text="Save" /> <DT:WebButton runat="server" ID="btnCancel" Text="Cancel" OnClientClick="OnEditOrCancel();return false;" /> </td> </tr> </table> </asp:Panel> </td> </tr> <tr> <td colspan = "2"> <DT:CustomValidator ID="vldEventNameRequired" runat="server" Display="Dynamic" ControlToValidate="txtEventName" ValidateEmptyText ="true" ErrorMessage=""/> </td> <td colspan = "4"> <DT:CustomValidator ID="vldEventCode" runat="server" Display="Dynamic" ControlToValidate="txtEventCode" ValidateEmptyText ="true" ErrorMessage=""/> </td> </tr> <tr> <td class="label_cell">Event Type:</td> <td> <ISWebCombo:WebCombo ID="cboEventType" runat="server" Width="150px" UseDefaultStyle="true" > <LayoutSettings AlwaysShowAllRowsOnDropdown="true" AlwaysShowHelpButton="false" > <ClientSideEvents OnAfterItemSelected = "OnValChanged" OnError="alert('error');" /> </LayoutSettings> </ISWebCombo:WebCombo> </td> <td width="8%" class="label_cell">Begin:</td> <td width="15%"> <ISWebInput:WebInput ID="txtBeginDate" runat="server" Width="150px" BackColor="white"> <ClientSideEvents OnAfterValueChanged="OnAfterDateChanged"></ClientSideEvents> <DisplayFormat IsEnabled="true" Type="DateTime"> </DisplayFormat> <DateTimeEditor IsEnabled="true" EditValueByEditorOnly="true"> <WindowInfo DisplayPosition="Bottom" /> <Behavior DropdownDisplayPosition="Right" DropdownButtonToolTip="Pick the date" /> </DateTimeEditor> </ISWebInput:WebInput> <asp:HiddenField ID="hdBeginDate" ClientIDMode="Static" runat="server" /> </td> <td width="6%" class="label_cell">End:</td> <td width="20%"> <ISWebInput:WebInput ID="txtEndDate" runat="server" Width="150px" BackColor="white"> <ClientSideEvents OnAfterValueChanged="OnAfterDateChanged"></ClientSideEvents> <DisplayFormat Type="DateTime" IsEnabled="true" > </DisplayFormat> <DateTimeEditor IsEnabled="true" EditValueByEditorOnly="true"> <WindowInfo DisplayPosition="Bottom" /> <Behavior DropdownDisplayPosition="Right" DropdownButtonToolTip="Pick the date" /> </DateTimeEditor> </ISWebInput:WebInput> <asp:HiddenField ID="hdEndDate" ClientIDMode="Static" runat="server" /> </td> </tr> <tr > <td colspan = "2"> <DT:CustomValidator ID="vldEventType" runat="server" Display="Dynamic" ControlToValidate="cboEventType" ValidateEmptyText ="true" ErrorMessage=""/> </td> <td colspan = "2"> <DT:CustomValidator ID="vldBeginDate" runat="server" Display="Dynamic" ControlToValidate="txtBeginDate" ValidateEmptyText ="true" ErrorMessage=""/> </td> <td colspan = "2"> <DT:CustomValidator ID="vldEndDate" runat="server" Display="Dynamic" ControlToValidate="txtEndDate" ValidateEmptyText ="true" ErrorMessage=""/> </td> </tr> <tr> <td class="label_cell">Event Priority:</td> <td colspan = "1"> <ISWebInput:WebInput ID="txtPriority" runat="server" Width="50px" EmptyAsNull="false" MaxLength="2" SkinID="Numeric" BackColor ="white" NumericInput ="true" ClientSideEvents-OnKeyDown ="event.keyCode = (event.keyCode != 110 && event.keyCode != 190) ? event.keyCode : 0;" /> <DT:WebInputManager ID="ctlWebInputMgr" runat="server" > <Configurators> <DT:WebInputIntegerConfigurator Name="txtPriority" MaxLength="2" MinValue="0" MaxValue = "99" /> </Configurators> </DT:WebInputManager> </td> <td class="label_cell">Impact Type:</td> <td colspan = "3"> <asp:RadioButtonList ID="lstImpactType" runat="server" RepeatDirection="Horizontal" RepeatLayout ="Flow" > <asp:ListItem Value = "M" Selected ="True" >Multiplicative</asp:ListItem> <asp:ListItem Value = "A">Additive</asp:ListItem> </asp:RadioButtonList> </td> </tr> <tr> <td colspan = "2"> <DT:CustomValidator ID="vldTxtPriority" runat="server" Display="Dynamic" ControlToValidate="txtPriority" ValidateEmptyText ="true" ErrorMessage="Priority is required"/> </td> </tr> </table>
I had used Intersoft WebCombo control in one of the form. It was working fine. when we upgraded with latest version then we are getting this error
Object reference not set to an instance of an object
At page load it is working fine. But after post back it is throwing this error.
Stack Trace is like this
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture) at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index) at ISNet.Serialization.XmlSerialization.XmlSerializer.ApplyProperty(Object currentObject, Pair pair) at ._9.(ArrayList , XmlSerializer , WebControl ) at ._9.(_10 , Object[] , XmlSerializer , WebControl ) at ISNet.WebUI.ISNetControl.LoadViewState(Object savedState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) at System.Web.UI.Control.LoadViewStateRecursive(Object savedState) at System.Web.UI.Page.LoadAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) Inner Exception --------------- Type : System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Object reference not set to an instance of an object. Source : ISNet.WebUI.WebInput Help link : Data : System.Collections.ListDictionaryInternal TargetSite : Boolean (System.String) HResult : -2147467261 Stack Trace : at ISNet.WebUI.WebControls.MaskValidator.(String ) at ISNet.WebUI.WebControls.MaskValidator.(Object ) at ISNet.WebUI.WebControls.WebInput.set_Value(Object value)**
I created a simple sample page which uses the latest version of WebCombo and was unable to reproduce the reported problem in my local end. The sample is uploaded in here.
Please have the sample evaluated on your end and let us know if you have different result.
Hi
I had fix the issue. By removing this 2 line code. which was there in SetEventControlsProperty(). and this was calling on page load.
But it was throwing strange issue description in stack tarce.
txtBeginDate.DateTimeEditor.IsEnabled = True txtEndDate.DateTimeEditor.IsEnabled = True
Glad to hear the good news.
Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname