Call Java function

2 posts, 0 answers
  1. Herman
    Herman avatar
    28 posts
    Member since:
    Jun 2011

    Posted 20 Jul 2011 Link to this post


    I use the following java function to call a sharepoint ModalDialog popup :

        function OpenDialog() {

            var options = SP.UI.$create_DialogOptions();
            options.url = 'http:/...Catalogue.aspx'
            options.dialogReturnValueCallback = Function.createDelegate(null, CloseCallback);
            options.width = 700;
            options.height = 400;
    I call the function with this:
    "<a id="newc" runat="server" onclick="newc_Click" href="Javascript:OpenDialog();">New Catalogue</a>





    I want to use my RibbonBar Buttons to call this functions

  2. Simon
    Simon avatar
    2281 posts

    Posted 21 Jul 2011 Link to this post

    Hi Herman,

    You can hook to the ButtonClicked client-side event of RadRibbonBar and call your function from there. Please see the linked help topic for more info and an example.

    I hope this helps.

    Best wishes,
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top