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 927723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:53:53+00:00 2026-05-15T19:53:53+00:00

I have a dynamic object built inside IronPython and I would like to build

  • 0

I have a dynamic object built inside IronPython and I would like to build controls on my asp.net page dynamically based on what types of objects are nested inside my dynamic object:

dynamic variousComplexObjects = IronPythonApp.GetControls();
repeater.DataSource = variousComplexObjects;
repeater.DataBind();

Can someone write me a quick example of what to do next? I’m sure there is a tutorial out there doing something similar, but I’m having a bit of trouble googling it. Feel free to recommend me the correct keywords or point me in the direction of properly consuming DLR data in an asp.net app.

Thanks!!

  • 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-15T19:53:53+00:00Added an answer on May 15, 2026 at 7:53 pm

    Assuming you use .net 4, you can just use dynamic in your databound event.

    repeater.ItemDataBound += OnItemDataBound;
    
    protected void OnItemDataBound(object sender, RepeaterItemEventArgs e)
    {
      dynamic dynObj = (dynamic)e.DataItem;
      string text = dynObj.Text; // Etc.
    }
    

    I’d probably have a type property or similar to check on – otherwise you’re stuck with trying to use GetType() which I’m not certain whether works with IronPython.

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

Sidebar

Ask A Question

Stats

  • Questions 499k
  • Answers 499k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The easiest way I found to do this is to… May 16, 2026 at 12:43 pm
  • Editorial Team
    Editorial Team added an answer You have an opening bracket that is not closed: $apps… May 16, 2026 at 12:43 pm
  • Editorial Team
    Editorial Team added an answer The method you are using to update is wrong, it… May 16, 2026 at 12:43 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have asked the question Is there something like master page in desktop applications?
I am trying to create a dynamic table that is being built based on
IIS enables us to also configure Asp.Net file mappings. Thus besides aspx, IIS also
So Im trying to make an object dynamically, please see below code from my
I have problem with reflection, dynamic invoking objects and reading collection values. In Referenced
I have the following code: int intNumber1 = 100; object intNumber2 = 100; bool
I have no problems getting the Json to work and parse the json return.
I have a class ( MyClass ) that inherits most of its functionality from
I'm not sure if this is even possible, but here goes: I have a
I have this SQL change script that runs as part of my nant orchestrated

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.