Radwindow parent is null




















You should use the getRadWindow. When creating your RadWindow in Parent. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to close the radwindow on serverside and refresh the parent page Ask Question.

Asked 8 years, 9 months ago. Active 5 years, 3 months ago. Viewed 31k times. I want to close the RadWindow and refresh the parent : how to do this server side : I have the following case: Two pages say : parent. Improve this question. Anyname Donotcare Anyname Donotcare Add a comment. Active Oldest Votes. Just add the following code and script in Child Page. No code is needed in parent page. Improve this answer. To load the content page and show the dialog use setUrl and show respectively.

Sets the value indicating the opacity of the Boolean. Note that if it is a postback element, its server-side handlers will not fire. Sets a value indicating whether the RadWindow should create an overlay element.

Sets a value indicating whether the page that is loaded in the RadWindow should be loaded every time from the server or whether the browser's default behavior will be left.

Sets a value indicating whether the page that is loaded in the RadWindow should be shown during the loading process or when it has finished loading. Sets the RadWindow's title. Note that if the content page has its own title set in the Page directive or in the section, this title will override the RadWindow's declaratively configured one.

Sets the vertical offset relative to its offset element in pixels. Corresponds to the Top server property. Sets the visibility of the RadWindow's status bar. Sets the visibility of the RadWindow's titlebar. Adds the specified shortcut string to the given command.

Takes two string parameters: the command and its shortcut. Changes RadWindow's size to fit the content page. You cannot use the autoSize method with pages from other domains due to browsers' security restrictions. You can optionally call the autoSize method with an argument set to true. This will make the autosizing perform an animation while adjusting the size. Centers the RadWindow in the middle of the page or its restriction zone if set.

Closes the RadWindow. Must be called from a RadWindow object, not from the window object when in a content page. You can pass an argument to it that is easily obtained from the main page. See this article for details. Returns the size and position of the RadWindow. Indicates whether a certain AutoSize behavior is enabled for the RadWindow. WindowAutoSizeBehaviors and returns a Boolean value. Indicates whether a certain behavior is enabled for the RadWindow. WindowBehaviors and returns a Boolean value.

Indicates whether a certain initial behavior is enabled for the RadWindow. Returns True if there is a shortcut added to the command. The command name is passed as a string argument.

Sets the position of the RadWindow in pixels. Takes two integer arguments: Left and Top in this order. Reloads the content page in the RadWindow. The page should come from the same server as the parent page due to JavaScript's cross-site scripting limitations. Takes a Boolean argument that, if true , makes the RadWindow the active topmost window on the page, otherwise when the passed parameter is false , the setActive method makes the control lose focus.

Sets the size of the RadWindow in pixels. Takes two integer arguments for the width and height in this order. It will load the content page and create the markup of the dialog even if it has not been shown yet. Shows the RadWindow if it was invisible. If it does not exist, show creates it. Adds a function that will be called when a RadWindow is activated.

The name of this function can also be declared in the OnClientActivate property. Adds a function that will be called when a RadWindow has finished resizing when the AutoSize functionality has taken effect.

Adds a function that will be called before RadWindow is closed. The following code illustrates the possibilities for using radopen.

Note, you could replace the call to radopen with a call to GetRadWindowManager. The following markup shows how to use radopen , GetRadWindowManager. RadWindow Object. RadWindowManager Object. All Rights Reserved. See Trademarks for appropriate markings.

Since no url is provided, the NavigateUrl property set on the server will be used. In this article. Not finding the help you need? Contact Support. Was this article helpful?



0コメント

  • 1000 / 1000