[FIXED] [2.5.3] Ext.Net.Default nuget sample page exception

  1. #1

    [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:

    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:
    1. Install ext.net nuget package in an empty web project
    2. (Mark the Ext.NET.Default.aspx as the start page if necessary)
    3. Run the project
    4. Enter a message in the message box
    5. 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]
  2. #2
    Hi @Mimisss,

    Thank you for the report. Agree, it is very frustrating that we released v2.5.2 with such a bug and it breaks our demo page.

    I think it has been fixed after this similar report.
    http://forums.ext.net/showthread.php?36961
  3. #3
    You're welcome. Just reporting :)
  4. #4
    It is finally OK with the v2.5.3 release.

Similar Threads

  1. Replies: 6
    Last Post: Feb 28, 2014, 2:57 AM
  2. Replies: 0
    Last Post: Jan 24, 2014, 4:57 PM
  3. [CLOSED] Sample on how to override default tree node check box
    By RCM in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 06, 2013, 10:31 PM
  4. Replies: 0
    Last Post: Jun 03, 2011, 4:45 PM
  5. Replies: 3
    Last Post: Aug 25, 2009, 12:12 PM

Posting Permissions