This is a migrated thread and some comments may be shown as answers.

RadOpen Method Flicks the Window first time opening

5 Answers 65 Views
Window
This is a migrated thread and some comments may be shown as answers.
Gaurav
Top achievements
Rank 1
Gaurav asked on 23 Jul 2010, 10:34 AM
Hi,

i am opening a window from my page on click of a hyperlink on its client side event Onclick()  which Flicks the windows first time opening from Hyperlink . Is there any way so that the parent window stop flicking while opening a new Window in existing parent window .

Following is the code i am using to open it .

If there is something missing in my code then please let me know

 <asp:ScriptManager ID="scriptmanager" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="upPanel1" runat="server">
            <ContentTemplate>
                <a href="javascript:void(0)" runat="server"  onclick="javascript:window.radopen('/member/common/dialogvideo.aspx?vd=diary','MainWindow',700,600)">
                    Test</a>
                <radW:RadWindowManager Visible="true" ID="Singleton" runat="server"  VisibleOnPageLoad="false"  VisibleStatusbar="false"
                    VisibleTitlebar="false">
                    <Windows>
                        <radW:RadWindow runat="server" Width="765px" Height="500px" VisibleOnPageLoad="false" Modal="True" Skin="Default"
                            ShowContentDuringLoad="true" Behavior="move,pin" VisibleStatusbar="False" ID="DetailWindow">
                        </radW:RadWindow>
                    </Windows>
                </radW:RadWindowManager>
            </ContentTemplate>
        </asp:UpdatePanel>
       


Thanks
Gaurav Bhardwaj

5 Answers, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 23 Jul 2010, 05:58 PM
In your onclick property you don't need to include "javascript:window", just "radopen" is fine. You only need the javascript prefix when it's in the href, which may be the cause of the "flick".

I hope that helps.
0
Gaurav
Top achievements
Rank 1
answered on 26 Jul 2010, 04:56 AM
I tried with this but it doesn't work for me Is there any other solution for this . Please do me favour i need this very urgent .Please post me any solution regarding this .




Thanks
Gaurav Bhardwaj
0
Petio Petkov
Telerik team
answered on 26 Jul 2010, 04:44 PM
Hello Gaurav,

I tried the code you sent in a RadWindow, but the page doesn't flick.
Please provide us a running project or a live url, where we can observe the problem locally. Also, please, send us your browser's version. Once we receive them, we will do our best to help you.

Greetings,
Petio Petkov
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
0
Gaurav
Top achievements
Rank 1
answered on 28 Jul 2010, 04:57 AM
hi ,

I have posted a ticket with my code there

Telerik Ticket NO 332688

And i am using  IE 8 as browser


Thanks
Gaurav
0
Georgi Tunev
Telerik team
answered on 30 Jul 2010, 02:33 PM
Hello Gaurav,

I tried the code that you sent in your support ticket and it worked as expected. Please check the movie I sent you in the ticket and let me know if I have missed something.


Sincerely yours,
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
Tags
Window
Asked by
Gaurav
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Gaurav
Top achievements
Rank 1
Petio Petkov
Telerik team
Georgi Tunev
Telerik team
Share this question
or