Usercontrol derived from Usercontrol - masterpage init is fired tw

Discussion in 'ASP .Net' started by =?Utf-8?B?Q2FwdGFpbiBTZW5zaWJsZQ==?=, Feb 3, 2006.

  1. Hello!

    I created a master page and load usercontrols dynmamically during runtime.
    So far so good. But for getting a unique frame with functionality buttons
    like Add, save etc. I created a usercontrol "TemplateUserControl" with a
    table, within this table a placeholder, where I wanna put in another user
    control. So I get a unique look for all plus the benefit , that I can check
    the permissions for the content in the Template control ( in one single
    event).
    In short; a template usercontrol that loads another usercontrol.
    But, by doing this, the masterpage as initialized twice (init-event). I
    don`t know why. Does someone out there know how to handle this??

    Many thanks in advcance,


    Stefan
     
    =?Utf-8?B?Q2FwdGFpbiBTZW5zaWJsZQ==?=, Feb 3, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tony Cheng
    Replies:
    1
    Views:
    8,218
    Juan T. Llibre
    Feb 24, 2006
  2. Replies:
    1
    Views:
    664
    Jules
    Aug 18, 2005
  3. Jess
    Replies:
    4
    Views:
    444
  4. Replies:
    1
    Views:
    397
    myork
    May 23, 2007
  5. Replies:
    1
    Views:
    389
    Victor Bazarov
    May 23, 2007
Loading...

Share This Page