This question is locked. New answers and comments are not allowed.
Dear Telerik,
My project has a need to display a popup window without the titlebar (including title, buttons, etc). I tried "$('.t-window-titlebar t-header').hide();" in the document ready function but it doesn't work. Perhaps the div element name is incorrect?
Thanks for the help
My project has a need to display a popup window without the titlebar (including title, buttons, etc). I tried "$('.t-window-titlebar t-header').hide();" in the document ready function but it doesn't work. Perhaps the div element name is incorrect?
Thanks for the help
4 Answers, 1 is accepted
0
Hello Wai Kei,
Atanas Korchev
the Telerik team
This will work:
$('.t-window-titlebar').hide();
Atanas Korchev
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
Wai Kei
Top achievements
Rank 1
answered on 07 Dec 2010, 02:51 PM
Thanks Atanas. I have two telerik windows on the view. Is it possible to hide the titlebar for one of the windows only? Could I do something like
$(
"#Window1 t-window-titlebar").hide();? I tried different ways but it does not work. Hope you could shed some lights.
Thanks again.
0
Wai Kei
Top achievements
Rank 1
answered on 07 Dec 2010, 02:57 PM
Actually, $("#Window .t-window-titlebar").hide(); would work. But now I am facing another problem of having two Telerik windows on one view and hope you could shed some lights.
Telerik window #1: modal popup to view a list of author of a letter (initiall invisible and will show after a button click).
Telerik window #2: non-model window as the working area of a letter (always showing on the screen, can't be closed).
When I pop up window #1 on the view, it gets rendered under the window #2 (I guess it's because the control is rendered before window #2 ??? not sure). Since both windows are in different user controls I really cannot place window#1 after window#2 in the code. I am wondering if there is any client event that I can use to get the window #1 to show on top of window #2? or even make window #2 "disabled" until window #1 is closed?
thank you.
Telerik window #1: modal popup to view a list of author of a letter (initiall invisible and will show after a button click).
Telerik window #2: non-model window as the working area of a letter (always showing on the screen, can't be closed).
When I pop up window #1 on the view, it gets rendered under the window #2 (I guess it's because the control is rendered before window #2 ??? not sure). Since both windows are in different user controls I really cannot place window#1 after window#2 in the code. I am wondering if there is any client event that I can use to get the window #1 to show on top of window #2? or even make window #2 "disabled" until window #1 is closed?
thank you.
0
Hi Wai Kei,
Alex Gyoshev
the Telerik team
Beyond using the window styling, why do you need such a scenario? If we provide you with a way to style a <div> element like the window, the problem that you describe will disappear -- is this applicable in your scenario?
Regards,Alex Gyoshev
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