[CLOSED] VS2010 sln solution broken when in WebForm NET35 Release mode

  1. #1

    [CLOSED] VS2010 sln solution broken when in WebForm NET35 Release mode

    Getting the following error when building Ext.Net.vs2010 sln in WebForm NET35 Release configuration.

    Error    70    'Ext.Net.Container' does not contain a definition for 'ClientIDMode' and no extension method 'ClientIDMode' accepting a first argument of type 'Ext.Net.Container' could be found (are you missing a using directive or an assembly reference?)    C:\Program Files\Ext.NET\current\Ext.Net\Utility\ScriptBuilders\UserControlScriptBuilder.cs    85    24    Ext.Net
    Error    71    The type or namespace name 'ClientIDMode' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)    C:\Program Files\Ext.NET\current\Ext.Net\Utility\ScriptBuilders\UserControlScriptBuilder.cs    85    53    Ext.Net
    Wrapping the ClientIDMode line in NET40 temporarily fixes it.
                    if (config.Items)
                    {
                        ct.Layout = "auto";
                        ct.AddBeforeClientInitScript("<ext.net.container>");
                        ct.AddAfterClientInitScript("</ext.net.container>");
                        ct.ID = "Ext_Net_Temp_Container";
                        ct.RenderXType = false;          
    #if NET40
                        ct.ClientIDMode = System.Web.UI.ClientIDMode.Static;
    #endif
                        ct.ContentContainer = new ContentContainer(false);
                    }
    Last edited by Daniil; Feb 18, 2013 at 1:34 PM. Reason: [CLOSED]
  2. #2
    Thanks for the report, fixed in SVN

Similar Threads

  1. ext.net 2.0 and webform
    By Akane in forum Open Discussions
    Replies: 1
    Last Post: Jun 06, 2012, 5:17 PM
  2. Replies: 5
    Last Post: Apr 16, 2012, 9:17 PM
  3. Ext.Net+ASP WebForm Big project small DLL good??
    By Martin.Vecchione in forum Open Discussions
    Replies: 3
    Last Post: Apr 05, 2012, 3:40 PM
  4. Ext.Net webform and Ext.Net MVC
    By wadhah in forum 1.x Help
    Replies: 0
    Last Post: Oct 25, 2011, 10:13 AM
  5. [CLOSED] [1.0] Intellisense in VS2010 Release Candidate
    By danielg in forum 1.x Legacy Premium Help
    Replies: 46
    Last Post: Apr 12, 2010, 3:38 PM

Posting Permissions