Loading user controls many times in a page is a good solution?

Discussion in 'ASP .Net Web Controls' started by Quentin Huo, Apr 2, 2004.

  1. Quentin Huo

    Quentin Huo Guest

    Hi,

    One of the features in my project is to show the content one by one. We have
    several types of content, such as "Articles", "Books", "Images" and so on.
    The different type has different look. For example, we don't need show
    authors for the "Images" content; we need to show the link to the bookshops
    online for the "Books" content; and .... So I think using "user control"
    might be a solution here. The different type has different "user control"
    and the dynamic loading is used for the different user control.

    But we need show 20 pieces of content (they may be a same type and maybe
    not) in each page, so that the user control(s) will be loaded 20 times. So I
    am doubt this is not a good solution because it may be low efficient.

    How do you think? If not, any suggestion?

    Thank you!

    Q.
    Quentin Huo, Apr 2, 2004
    #1
    1. Advertising

  2. Quentin Huo

    ccallen Guest

    Have you looked at using / extending one of the templated controls like such
    as a DataList or Repeater control, or building your own?

    ccallen

    "Quentin Huo" <> wrote in message
    news:...
    > Hi,
    >
    > One of the features in my project is to show the content one by one. We

    have
    > several types of content, such as "Articles", "Books", "Images" and so on.
    > The different type has different look. For example, we don't need show
    > authors for the "Images" content; we need to show the link to the

    bookshops
    > online for the "Books" content; and .... So I think using "user control"
    > might be a solution here. The different type has different "user control"
    > and the dynamic loading is used for the different user control.
    >
    > But we need show 20 pieces of content (they may be a same type and maybe
    > not) in each page, so that the user control(s) will be loaded 20 times. So

    I
    > am doubt this is not a good solution because it may be low efficient.
    >
    > How do you think? If not, any suggestion?
    >
    > Thank you!
    >
    > Q.
    >
    >
    ccallen, Apr 4, 2004
    #2
    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. =?Utf-8?B?bWF2cmlja18xMDE=?=

    SetAuthCookie works some times and fails some times?

    =?Utf-8?B?bWF2cmlja18xMDE=?=, Mar 23, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    500
    =?Utf-8?B?bWF2cmlja18xMDE=?=
    Mar 23, 2006
  2. =?Utf-8?B?bWF2cmlja18xMDE=?=

    Forms Authentication Fails some times and not some times???

    =?Utf-8?B?bWF2cmlja18xMDE=?=, Mar 28, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    484
    =?Utf-8?B?bWF2cmlja18xMDE=?=
    Mar 28, 2006
  3. Bob Rock
    Replies:
    1
    Views:
    616
    Cowboy \(Gregory A. Beamer\)
    Sep 17, 2006
  4. Andy B
    Replies:
    3
    Views:
    453
    Andy B
    Nov 19, 2008
  5. Quentin Huo

    Loading user controls many times in a page is a good solution?

    Quentin Huo, Apr 2, 2004, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    119
    ccallen
    Apr 4, 2004
Loading...

Share This Page