Suggestion: Controls like Community Server

4 posts, 0 answers
  1. Chris
    Chris avatar
    66 posts
    Member since:
    Sep 2008

    Posted 21 Sep 2008 Link to this post


    Some useful controls that I would like to see are some of the ones that Community Server has developed.  In particular, they have the control for html content that if the user has permission to edit it, they can mouse over it, a border will appear, and then if you double-click you can edit the text from a pop-up and then it refreshes that region.  Very nice.

    Also, they have a sort of auto-complete box for comma-separated values (for tags), which is also very nice.

    If I had those things, then, it would be much easier for some of my clients to customize their look and feel.
  2. Sebastian
    Sebastian avatar
    9934 posts

    Posted 22 Sep 2008 Link to this post

    Hi Chris,

    Thank you for sharing your idea with us.

    The controls from our suite which provide the closest functionality to the one you describe are RadEditor and RadComboBox. You may be interested reviewing them and utilize them to edit html content of implement auto-complete box with comma-separated values.

    Best regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
  4. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 22 Sep 2008 Link to this post

    In addition to RadEditor and RadCombobox, you'll also need to use RadWindow for the "popup".

    You'll need to have a RadWindow on the same page that is displaying your content.  Have that page render the content in a container, with something like:

    <div onmouseover="ToggleHighlight(this,true)" onmouseout="ToggleHighlight(this,false)" ondblclick="OpenForEditing(PageId)">
    ...content goes here...

    <script language="javascript" type="text/javascript">
      function ToggleHighlight(element, toggle) {
        if (toggle) {
          // show the border / change the background
        else {
          // return the original borders / backgrounds

      function OpenForEditing(ID) {
        // open a RadWindow, specifying the url to the page that contains the RadEditor, and including the ID to grab the current content from the DB

    You'll probably want the page that does the editing to be able to close the RadWindow after saving, and then refresh the parent page as well.  Hope that helps,

  5. Chris
    Chris avatar
    66 posts
    Member since:
    Sep 2008

    Posted 22 Sep 2008 Link to this post

    Hi Shaun,

    Thanks for responding.  I know that these things are possible, but I just wanted to suggest it as a possible control since I'm sure it's a pretty common feature people would use if it was provided.  (For me, the point of buying controls is that I have to do less coding, so if I need to code it myself, that's fine, but boy it'd be nice if it was included!)

    Thanks again!

Back to Top