Originally Posted by
vladimir
Hi,
You have server side exception
In my case
- ElearningID has no value but you try to convert it to int
- i test under Meduim trust level therefore FileInfo constructor raises security exception
You can easly see the error if remove your Failure handler from the Save direct event or replace it by the following handler
Failure="Ext.Msg.alert('', response.responseText);"
I have commented all in "SaveData", change Security to Low level or Trusted sites, but on click on Save button I still get following error:
"
Object reference not set to an instance of an object.
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:
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.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] Ext.Net.ComboBox.LoadPostData(String postDataKey, NameValueCollection postCollection) +261 Ext.Net.Field.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +13 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +690 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1743
"
I don't know why.
Please, help me while I have deadline for my project.
Best regards,
Sasa