PDA

View Full Version : Bug with numberfield and setdisabled(true) when close windows



alfall
Jan 08, 2009, 12:31 PM
Hi all,

I have an error when after I have disabled a numberfield field in a ext:windows when I click on cancel button or on cross of the windows.
I lost the instance of object like you see below :



<h2>Object reference not set to an instance of an object. </h2>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


<table width="100%" bgcolor="#ffffcc">
<tbody>
<tr>
<td><code>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code> </td></tr></tbody></table>
Stack Trace:


<table width="100%" bgcolor="#ffffcc">
<tbody>
<tr>
<td><code></code>[NullReferenceException: Object reference not set to an instance of an object.]
Coolite.Ext.Web.NumberField.LoadPostData(String postDataKey, NameValueCollection postCollection) +173
Coolite.Ext.Web.Field.System.Web.UI.IPostBackDataH andler.LoadPostData(String postDataKey, NameValueCollection postCollection) +36
System.Web.UI.Page.ProcessPostData(NameValueCollec tion postData, Boolean fBeforeLoad) +661
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1194
</td></tr></tbody></table>
<v:shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600">

<v:shapetype id="_x0000_t75" stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600">If I not disabled the numberfield, I have no problem.

Thanks for you help.</v:shapetype></v:shapetype>