More in this section

Forums / Developing with Sitefinity / Database-linked Dynamic User Control Property

Database-linked Dynamic User Control Property

2 posts, 0 answered
  1. John
    John avatar
    21 posts
    Registered:
    25 Nov 2008
    27 Feb 2009
    Link to this post
    Hi,

    Per this thread:


    I was wondering if it is possible, in version 3.6 of Sitefinity, to have a property of a User Control that is populated dynamically from a database?  I'd like to be able to add a user control to a page, click Edit for that control, and have a dropdown list in that editing window be populated based on a database query.  Is this possible?

    Thanks,
    John
  2. Dido
    Dido avatar
    149 posts
    Registered:
    24 Sep 2012
    27 Feb 2009
    Link to this post
    Hi John,

    Generally, it is possible to add any type of user controls to Sitefinity. Database or no database, the user control is still a user control. So, the short asnwer is yes- you can do anything with the user controls (and custom controls for that matter) in Sitefinity. Sitefinity provides you with the presentation layer, and with out-of-the-package functionallity you can still achieve a lot.

    However, Sitefinity does not solve all possible problems a user might encounter. I would recommend you to get aquainted with the Dev Manual.

    You should have in mind, though, that if you mean simple persistence, Sitefinity will do that for you automatically, and you needn't worry about it.

    Sincerely yours,
    Dido
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered