[CLOSED] error after last update

  1. #1

    [CLOSED] error after last update



    Hi
    I get an error after my update. All i do is to insert html in a panel that exists inside a tabpage. This insert is made from a AjaxMethod. please help. The error I get is "Html property and Body template can't be used at one time."

    /ContentPanel.cs
            protected override void SweepControls(WebControl item)
            {
                base.SweepControls(item);
    
    
                if(this.Body != null && !string.IsNullOrEmpty(this.Html))
                {
                    throw new ArgumentException("Html property and Body template can't be used at one time.");
                }
    
    
                if (this.BodyContainer != null &amp;&amp; !this.DesignMode) <-- Marks this line in the sourcecode
                {
                    this.BodyContainer.ID = string.Concat(this.ID, "_Body");
                    this.BodyContainer.Attributes.Add("class", "x-hidden");
                }
            }
    /Mikael
  2. #2

    RE: [CLOSED] error after last update

    Hi Mikael,

    Please ensure that your panel has no Body tags when you use Html.
    Html and Body using is forbidden in one time
    *
  3. #3

    RE: [CLOSED] error after last update

    Yes, thats it! thanks!

    /Mikael

Similar Threads

  1. [CLOSED] Error after update from SVN
    By Stefanaccio in forum 1.x Legacy Premium Help
    Replies: 16
    Last Post: Aug 06, 2010, 4:13 PM
  2. [CLOSED] Error After Update From SVN
    By dev in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 30, 2010, 1:56 PM
  3. [CLOSED] another SVN update error
    By skyone in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jul 23, 2010, 5:07 PM
  4. [CLOSED] error after update
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Mar 31, 2009, 1:09 PM
  5. [CLOSED] Error after update
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Nov 15, 2008, 4:54 PM

Posting Permissions