Radwindow double click

3 posts, 0 answers
  1. Brian Roy
    Brian Roy avatar
    4 posts
    Member since:
    Oct 2007

    Posted 11 Feb 2010 Link to this post

    1. if you create a link to open a radwindow.
    2. double or tripple click on the link
    Problem --it sometimes opens the window with disorted dimensions (tall and skinny window or fat and short)
    3. Can do it in firefox 3.5.7 I could not create it in IE

    To recreate this I created a link:



    asp:HyperLink ID="linkText" runat="server" Text="More Details" Style="cursor:pointer;cursor:hand"></asp:HyperLink>

    I added this onclick event to link


    "onclick", "javascript:OpenPreviewWindow('" + winUrl + "');");


    I added the following manager in the aspx page:



    telerik:RadWindowManager ID="RadWindowManager1" runat="server">






    <telerik:RadWindow ID="RadProductSelectionWindow" runat="server" Title="Select Product"



    Width="830" Height="620" VisibleStatusbar="false" VisibleTitlebar="true" Modal="true"



    Animation="FlyIn" ShowContentDuringLoad="false" IconUrl="/favicon.ico" KeepInScreenBounds="true"



    Behaviors="Close" ClientCallBackFunction="ProductSelectionCallback">












  2. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 12 Feb 2010 Link to this post

    Hey Brian,

    What does the OpenPreviewWindow function do? If you want the HyperLink control to open the RadWindow, you just need to set the OpenerElementId property of the window. Or is the OpenPreviewWindow doing something else other than just opening the window?
  3. DevCraft R3 2016 release webinar banner
  4. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 16 Feb 2010 Link to this post

    Hello Brian,

    The code that you posted looks OK - I would only recommend to cancel the postback after calling the function -
    linkPicture.Attributes.Add("onclick", "javascript:OpenPreviewWindow('" + winUrl + "'); return false;");

    If this doesn't help, please open a support ticket and send a small sample project that reproduces the problem so we could check it.

    Best wishes,
    Georgi Tunev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top