[CLOSED] DirectMethod from inside Dynamic User Control

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] DirectMethod from inside Dynamic User Control

    I'm sure this is somewhere but I've been fighting over this simple issue for the past day. I'm loading a user control using the LoadUserControl and i need to execute a DirectMethod from inside that user control after it's been loaded, for example a button. If the control is added to the page there are no issues, but loading it via LoadUserControl doesn't work and I'm guessing it has something to do with the page controls and it not being added because it can't find the user control generated ID method, would I do this in the LoadUserControl function? Whats the best way to do this?

    Just need a simple example.

    Error is: The control with ID 'UC2625' not found (Client ID of my userControl that is dynamically loaded)
    Last edited by Baidaly; Jun 15, 2013 at 1:50 AM. Reason: [CLOSED]

Similar Threads

  1. Replies: 2
    Last Post: May 09, 2013, 3:41 PM
  2. Replies: 2
    Last Post: Mar 07, 2012, 8:29 PM
  3. Replies: 2
    Last Post: Feb 06, 2012, 9:06 AM
  4. DirectMethod in user control
    By Ealirene in forum 1.x Help
    Replies: 2
    Last Post: Oct 04, 2010, 5:08 PM
  5. [CLOSED] [1.0] Dynamic user control inside tab - Help
    By MP in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Mar 12, 2010, 6:26 PM

Tags for this Thread

Posting Permissions