Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6166675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:22:42+00:00 2026-05-23T22:22:42+00:00

I started looking at the dropthings portal and I don’t understand how the content

  • 0

I started looking at the dropthings portal and I don’t understand how the content within the widget gets loaded. My understanding is that the header is in an Updatepanel and the body of the widget is in an UpdatePanel with a ASP Panel in it. When the page loads, the ASP Panels of all the widgets load first before loading the User controls within the panels.

Can someone explain how this happens and point me to the code where this is setup?

Any help is appreciated

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:22:43+00:00Added an answer on May 23, 2026 at 10:22 pm

    I’m using version 2.7.5 (released Jan 11), so this might be a bit newer.

    Each widget is a user control, and is hosted in a WidgetContainer.ascx. The WidgetContainer provides all the common functions like the title renaming, positioning, expand/collapse, editing, etc. The source file is in the root “dropthings” folder. Looking at the Init method, we can see where the UserControl instantiated & added to the page:

    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
    
        var widget = LoadControl(this.WidgetInstance.Widget.Url);  //Here's the magic
        widget.ID = "Widget" + this.WidgetInstance.Id.ToString();
    
        WidgetBodyPanel.Controls.Add(widget);
        _WidgetRef = widget as IWidget;
        if (_WidgetRef != null) _WidgetRef.Init(this);        
    }
    

    So, first the WidgetContainer is added to the control tree for each Widget configured. Then as each container is initialized, it creates then adds the specific UserControl to the page. When

        WidgetBodyPanel.Controls.Add(widget);
    

    is called, it will initialize (OnInit) the specific widget. From there the contents of the widget are in it’s own hands.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently started looking into Google Charts API for possible use within the
I've just started looking at JQuery. I don't have any AJAX in my web
Hey all. I just started looking into the cocos2d library. I've heard that it's
When I first started looking into Rails and Django I was steered away from
Just some days ago I started looking into a unit test framework called check,
My company recently purchased TFS and I have started looking into the code analysis
I'm making a simple 2 player game in XNA and started looking into saving
I've installed PowerShell recently and one of the first things I started looking for
How would you test this scenario? I've just started looking into NHibernate and having
I'm looking for help getting started working programmatically with audio. Specifically, the platform I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.