3 Answers, 1 is accepted
0
Accepted
Princy
Top achievements
Rank 2
answered on 01 Mar 2013, 03:36 AM
Hi,
Try setting the Behaviors property of the RadWindow to Close so that the close button alone will be shown and other buttons are removed from the RadWindow title bar.
ASPX:
Thanks,
Princy.
Try setting the Behaviors property of the RadWindow to Close so that the close button alone will be shown and other buttons are removed from the RadWindow title bar.
ASPX:
<
telerik:RadWindow
ID
=
"RadWindow1"
runat
=
"server"
Modal
=
"true"
Title
=
"Telerik"
OpenerElementID
=
"RadButton1"
Behaviors
=
"Close"
>
</
telerik:RadWindow
>
Thanks,
Princy.
0
Pratik
Top achievements
Rank 1
answered on 30 Jun 2016, 04:07 AM
Hi,
I want to hide title bar buttons e.g Maximized,Minimized,Refreshed and Pinned.. also the background coming for radwindow.. i'm using javascript to open window also calling parent window from javascript
P.S attached file
function
ShowWindow(url, title) {
debugger;
var
oWnd = window.parent.radopen(url, title);
oWnd.setSize(850, 450);
oWnd.set_visibleStatusbar(
false
);
oWnd.SetTitle(title);
oWnd.get_enableShadow();
// oWnd.add_close(OnClientClose)
oWnd.set_modal(
true
);
oWnd.set_visibleTitlebar(
true
);
oWnd.center();
}
0
Hello Pratik,
You should use the set_behaviors() method and list the commands/behaviors you want available: http://docs.telerik.com/devtools/aspnet-ajax/controls/window/client-side-programming/radwindow-object.
As for the appearance issue—it is most likely caused by mixed render modes or global CSS rules: http://docs.telerik.com/devtools/aspnet-ajax/general-information/troubleshooting/skins-troubleshooting#incorrect-or-distorted-appearance.
Regards,
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.