Jul 25, 2014, 9:05 AM
[FIXED] [2.5.3] Ext.Net.Default nuget sample page exception
Good morning,
I guess this is a funny bug not worth mentioning for seasoned ext.net developers but can be a laugh-at for newcomers. The following exception is thrown when the Ext.NET.Default.aspx page in your nuget package is run:
And here is my configuration:
:)
I guess this is a funny bug not worth mentioning for seasoned ext.net developers but can be a laugh-at for newcomers. The following exception is thrown when the Ext.NET.Default.aspx page in your nuget package is run:
System.Exception was unhandled by user code
HResult=-2146233088
Message=You have to set widget's ID to call its methods (widget - Ext.Net.ResourceManager)
Source=Ext.Net
StackTrace:
at Ext.Net.BaseControl.CheckID()
at Ext.Net.BaseControl.CallTemplate(ScriptPosition position, String template, String name, Object[] args)
at Ext.Net.BaseControl.Call(ScriptPosition mode, String name, Object[] args)
at Ext.Net.BaseControl.Call(String name, Object[] args)
at Ext.Net.ResourceManager.RegisterIcon(Icon icon)
at Ext.Net.Notification.ToScript()
at Ext.Net.ScriptClass.Render()
at Ext.Net.Notification.Show()
at ASP.ext_net_default_aspx.Button1_Click(Object sender, DirectEventArgs e) in c:\Users\Dimitris\Documents\Visual Studio 2010\Projects\ExtNet2Empty\ExtNet2Empty\Ext.NET.Default.aspx:line 8
at Ext.Net.ComponentDirectEvent.OnEvent(DirectEventArgs e)
at Ext.Net.Observable.FireAsyncEvent(String eventName, ParameterCollection extraParams)
at Ext.Net.ResourceManager.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException:
Here are the steps to reproduce:- Install ext.net nuget package in an empty web project
- (Mark the Ext.NET.Default.aspx as the start page if necessary)
- Run the project
- Enter a message in the message box
- Hit the Submit button
And here is my configuration:
- Visual Studio 2010
- asp.net 4.0
- latest ext.net nuget package
:)
Last edited by Daniil; Nov 19, 2014 at 5:46 AM.
Reason: [FIXED] [2.5.3]