Prb: Moving objects from codebehind til markup

  1. #1

    Prb: Moving objects from codebehind til markup



    Hi

    To overcome some of the problems I have I tried to move more or less static objects from codebehind to markup
    But this causes the generated clientside scripts to break

    Moving eg Viewport, BorderLayout and GridPanel to markup should be fairly straightforward
    How do I mix static objects created in markup with dynamic objects created in codebehind?
    Is this possible at all?

    - Peter
  2. #2

    RE: Prb: Moving objects from codebehind til markup

    How do I mix static objects created in markup with dynamic objects created in codebehind?

    Is this possible at all?
    </p>

    Yes. It doesn't really make a difference whether the object is created in markup or code-behind. They are essentially the same thing. Markup is basically created during the OnInit event of the Page.*</p>

    Posting a simplified code sample demonstrating the scenario would help us understand exactly what you're attempting to accomplish.*</p>


    </p>
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Moving the <ext:XScript out of the Markup page ??
    By Fahd in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 19, 2012, 5:34 PM
  2. [CLOSED] Access ext objects in codebehind
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jun 22, 2010, 4:57 PM
  3. Access to objects created in codebehind
    By Tror in forum 1.x Help
    Replies: 1
    Last Post: Jun 22, 2010, 4:30 AM
  4. Replies: 6
    Last Post: Apr 30, 2010, 2:57 PM
  5. Why use Markup instead of Codebehind?
    By dbassett74 in forum 1.x Help
    Replies: 1
    Last Post: Apr 21, 2009, 7:51 PM

Posting Permissions