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

Rich Content in a window

4 Answers 177 Views
Window
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
sitefinitysteve asked on 13 Sep 2011, 10:12 PM
How do I define the following inside the window?

<div id="mi-singledetails-mobile">
            <div id="mi-singletemplate-mobile">
            </div>
            <div id="dt_launchContainer-mobile">
                <telerik:RadButton ID="launchButtonMobile" runat="server" Text="Launch Player" Height="65px" CssClass="Green" AutoPostBack="false" UseSubmitBehavior="false" OnClientClicking="onPlayerOpenClicking" ClientIDMode="Static" EnableViewState="false">
                    <Icon SecondaryIconUrl="~/App_Themes/Medportal/images/launchplayer.png" />
                </telerik:RadButton>
            </div>
        </div>

When I Kendo that, it becomes this
<div class="t-widget t-window" style="padding-top: 35px; width: 700px; height: 550px; display: block; top: 255px; left: 610px; -moz-transition: none 0s ease 0s ; opacity: 1; -moz-transform: scale(1);"><div class="t-window-titlebar t-header" style="margin-top: -35px;"> <span class="t-window-title">Details</span><div class="t-window-actions t-header"><a class="t-window-action t-link" href="#"><span class="t-icon t-close">Close</span></a></div></div><p id="mobile-details-window" class="t-window-content t-content">
        </p></div>

4 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 14 Sep 2011, 10:08 AM
Hi Steve,

I could not reproduce a problem -- the window loaded just fine, see this jsFiddle. Could you provide more details?

All the best,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 14 Sep 2011, 02:00 PM
I think I'm running a different version than the fiddle...this one you guys sent me?

It's also causing issues here too

**EDIT** I should note the window LOADS fine (pops up)...but is missing all the content I had in it

(Side note: Can any element be a kendoWindow?...like it doesn't need to be a <p> ?)
0
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 14 Sep 2011, 02:31 PM
Another thing I noticed...in that fiddle you used a kendo button style...does this mean there's plans for a kendo BUTTON control?

Reason I ask is I'm a HUGE user (abuser) of the RadButton because of it's ability to block postback and have clickING and clickED events.
0
Alex Gyoshev
Telerik team
answered on 15 Sep 2011, 10:59 AM
Hello Steve,

Does the <telerik:RadButton> tag produce a button outside of the window? Since the window works with the produced HTML (client-side), it should work properly (this is what the new jsFiddle shows). It all depends on what HTML is generated from the RadButton. Could you please update the jsFiddle with the generated HTML?

> does this mean there's plans for a kendo BUTTON control?
This is hardly a button control, because we don't see many features that can be implemented for it (i.e. blocking of postback does not really make sense as a feature outside of WebForms, since there are no postbacks elsewhere). However, you can freely use the button styling by adding a t-button class to a simple <button> element, and attach whatever functionality you need with jQuery.

Regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Window
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Alex Gyoshev
Telerik team
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
Share this question
or