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

[Solved] DynamicHyperLink Column new Window Settings

1 Answer 92 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jarrod
Top achievements
Rank 1
Jarrod asked on 03 Feb 2011, 11:57 AM
Hi There,

I am wondering if it is possible to configure the DynamicHyperLink or HyperLink columns so that when you open a new window you can disable the toolbars, menubars, etc. I'm currently doing this in the codebehind like so

        private static void PopUpNewWindow(string path)
        {
            var options = new HtmlPopupWindowOptions
                              {
                                  Left = 0,
                                  Top = 0,
                                  Width = 800,
                                  Height = 600,
                                  Menubar = false,
                                  Toolbar = false,
                                  Location = false,
                                  Directories = false,
                                  Status = false,
                                  Resizeable = true
                              };

            if (HtmlPage.IsPopupWindowAllowed)
                HtmlPage.PopupWindow(new Uri(path), "new", options);
        } 
but this requires me to capture the click event and do a lot of additional work which I was hoping I could get at more easily.

Any help would be greatly appreciated.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 03 Feb 2011, 12:24 PM
Hi,

 The column will use simple HyperlinkButton and everything else is up to the platform and browser. We do not have any additional code for popups. 

Greetings,
Vlad
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
Jarrod
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or