1. Birgit
    Birgit avatar
    7 posts
    Member since:
    Oct 2012

    Posted 05 Nov 2012 Link to this post

    Hi

    I have a couple of things in my query:
    1. I spotted an bug in the Metro touch skin , on your demos as well as my implementation the alignment property on the bootm drop down does not allow you to select an alignment , this happens on tables too, also the fileds are so big that they flow over the editor.

    2. I am developing a dynamic form designer , what i would like to do is create pre defined elements that can be dragged on to the designer. and when selected display a property panel with pre defined properties.These elements will be of combined markup for example.
    <div class="designElement" id="element1">
    <table>
    <tr>
    <td>Some Text</td>
    <td><img src="img.png"></td>
    </tr>
    </table>
    </div>

    For this to be able to work I wish to block the inner html of the for being edited by the designer.
    also I would like to know is there a javascript method I can Use in order to get the element that is selected.

    So In short I would like to select the element (of class designelement) in the designer and return the ID when clicked but I down want any element in the inner HTML of that div to be changeable through the designer.

  2. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 07 Nov 2012 Link to this post

    Hi Brigit,

    We are aware of the metro touch issue and it is logged in our TO-DO list. Unfortunately I can not provide you with an exact estimation of when this will be fixed.

    On the second matter I can not help you with a full implementation, however if you provide me with a step by step scenario. I can give you some pointers of how to get references to certain elements.

    Here are some key functionalities:
    OnClientSelectionChange
    getSelectedElement
    getParentElement
    getRange

    Also keep in mind that you can access the integrated in Telerik.Web.UI jQurey by the $telerik.$ variable.


    All the best,
    Stanimir
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Birgit
    Birgit avatar
    7 posts
    Member since:
    Oct 2012

    Posted 08 Nov 2012 Link to this post

    Thank you for the Reply,

    I have found the secetable items , properties that can be added , though I must say the functionality is a bit dodgy when switching between views and using the DOM inspector. I think for now I will just do it with images.

    What will help me is if you can tell me a way I can add a custom {a href} target to the link dialog dropdown of the editor using server side code.

    Thank you

  4. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 08 Nov 2012 Link to this post

    Hello,

    Are you referring the Custom Links dropdown, which is described in  the following online help article: Custom Links

    Regards,
    Stanimir
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. Birgit
    Birgit avatar
    7 posts
    Member since:
    Oct 2012

    Posted 08 Nov 2012 Link to this post

    No I am refering to the target property of a link

    "{a href} target to the link dialog "

    attched image

    what i wish to do is add a custom target using server side code, becuase I use the target property to open a fancybox window
  6. Stanimir
    Admin
    Stanimir avatar
    1654 posts

    Posted 09 Nov 2012 Link to this post

    Hello Brigit,

    There is a way of modifying the built in dialogs of RadEditor. Review the following online help article and demo:
    ExternalDialogsPath property
    Editor / Customize Built-in Dialogs

    You should know though that adding server side functionality is a little bit tricky. Since the only files you can edit according the articles are ascx and there is no server side code in them, you can create your own server control, where you write your server code and refer it in the respective dialog ascx file.


    All the best,
    Stanimir
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top