Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
129 views

I am having some problems with the telerik editor templates. For instance, the ImageAndTitle.htmtemplate that came with the editor  does not seem to be reading its stylesheet, ImageAndTitle.css. This is a simple template with an image floating to the left and text wrapping around the image.

When the template is previewed, it looks fine, but once it is applied to the editor interface the formatting is lost.  I am using the editor with DotnetNuke 5.6.1. My goal is to create a custom template, but I want to understand why this one is not working before I create a custom template. 

Below is the code for the ImageAndTitle htmtemplate and css.

Template code:

<div class="template imageandtitle"
  <div class="container region content"
    <img width="100"; height="100" alt="image placeholder" title="replace with your own image" /> 
    <h3>Type the title here</h3
    <p>Type the text here. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ornare, nisl ac vehicula  
    
volutpat, tellus sem congue sem, et varius ipsum neque in tortor. Curabitur massa nunc, ultricies ac mollis id,  
    
varius ac sapien. Duis nec dolor ac velit semper malesuada eget non dolor. Vestibulum mollis ligula vel ipsum  
    
lobortis a adipiscing mauris imperdiet.</p
    </div
</div>

CSS code:
@charset "utf-8"; 
/* CSS Document with styles necessary for default HtmlEditor HTML "snippet" templates */
    
/* Styles for ALL Default Templates */
div.template 
 text-align: left; 
 width: 100%; 
 overflow: auto; 
    
div.template div.container 
 clear: both; 
 margin: 0; 
 padding: 0; 
 overflow: auto; 
 position: relative; 
    
div.template div.region 
 padding: 5px; 
 margin: 0; 
    
/* Styles for "Image And Title" template */
div.template.imageandtitle h3
 margin-top: 0; 
    
div.template.imageandtitle img 
 float: left; 
 margin: 0; 
 margin-right: 10px; 
}

Thanks for your help.
Gayle
Rumen
Telerik team
 answered on 11 Jul 2011
5 answers
94 views
Hello,

Does anyone know where I can find the documentation for the old version (2008.1.515.20)?  I can't seem to find it anywhere.

Thanks in advance.
Georgi Tunev
Telerik team
 answered on 11 Jul 2011
1 answer
95 views
hi,
i have a situation that I would love to hear if anyone knows a solutions.
Here is the issue: 

i have a Radwindow openned that allows user to upload files to my server, once the files are processed they then need to be downloaded back to the local computer.  the problems is on somoe computer IE, i receive a popup notification that informs the user that IE is blocking the download, and if they want to download it they need to verify and accept the it.

no problem so far...

now when the user accepts to download the files from the IE popup, the screen get refeshed and my Radwindow now disappears.
which means all the files they uploaded, are no longer there to retrieve

My question:
is there a way to keep the Radwindow open even though this IE accpt process forces refresh?  even though the refresh happens, it should refresh right back to the page with the radwindow openned....hoever it is not.

any ideas?

thanks
Georgi Tunev
Telerik team
 answered on 11 Jul 2011
6 answers
180 views
Hi,

I have a grid on page1 and it contain the record that can expend. After expend we can redirect on the page2 and on page2 we have a link button "Back to list". I want to ask that is it possible that can i get it back in expended mode when i came to from page2 ?
Please help in this matter as soon as possible.


Thanks
Manish
Manish
Top achievements
Rank 2
 answered on 11 Jul 2011
2 answers
73 views
How can I customise the popup for better lookup of "OK" and "cancel" button.
May I change the title of popup. If possible all thing then Please let me know
and also suggest me code for customisation .

Thanks
Jaichand
Georgi Tunev
Telerik team
 answered on 11 Jul 2011
1 answer
92 views
i want to know how to display image next to group by column name
Princy
Top achievements
Rank 2
 answered on 11 Jul 2011
3 answers
267 views
Hi,
I have a button. When I click on the button, the Rad window pop up. How can I set the window maximize itself when opens?
Thanks
Georgi Tunev
Telerik team
 answered on 11 Jul 2011
1 answer
174 views
Hello. We are using a RadFormDecorator on our pages. What we want to do is that when you change the value of DownDown #1, you change the background color of DropDown #2. We need to do this on the client side to prevent an unnecessary postback.

We cannot figure out how to do this. Here is the code:

var eventType = $get("<%=ddlEventType.ClientID %>");
var moveType = $get("<%=ddlMoveType.ClientID %>");
var decorator = Telerik.Web.UI.RadFormDecorator.getDecoratedElement(moveType);
if (eventType.options[eventType.selectedIndex].text == "foo") {
    decorator.style.backgroundColor = "blue";
}
else {
   decorator.style.backgroundColor = "blue";
}

This code has no effect. Note that when I do Telerik.Web.UI.RadFormDecorator.set_enabled(moveType, false) - the control disables just fine. I just can't get the color changed.

Does anyone know how to do this? Thanks in advance for the help.
Bozhidar
Telerik team
 answered on 11 Jul 2011
4 answers
659 views

I am using a RadWindowManager for 2 different popups on my page. I took the 'black' skin and created my own called "OnlineStore". The first popup is a regular popup window and works fine.
The second popup is a radalert. But I want to change the background to be white rather than the black.
I have tried 2 different RadWindowManagers, and other things.
I have changed the font color and removed the warning symbol on the radalert by adding this to my custom skin:

.RadWindow_OnlineStore .rwWindowContent .radalert
{
    font-weight: 500;
    color: white;
    background-image: none !important;   /* takes out the yellow triangle warning symbol*/
 background-color: White;
}


<telerik:RadWindowManager ID="rwm" runat="server" Skin="OnlineStore" EnableEmbeddedSkins="false">
       <Windows>
       <telerik:RadWindow ID="rwAddlOptionsAndEquip" runat="server" NavigateUrl="PnPAddlOptionsEquip.aspx" ShowContentDuringLoad="False"
           KeepInScreenBounds="true"  VisibleTitlebar="true" Title="Additional Services and Equipment" 
           Modal="true" VisibleStatusbar="False" Left="100" Top="55" InitialBehavior="None" Width="999px" height="690px" BorderWidth="1"
           Behaviors="Close, Move, Resize"   >
       </telerik:RadWindow>
      </Windows>
      </telerik:RadWindowManager>


I just can't figure out how to make the background white. I want to keep the titlebar black. Any suggestions?
Marin Bratanov
Telerik team
 answered on 11 Jul 2011
10 answers
437 views
What does this mean?

Improved: RadStyleSheetManager to combine style sheets in a designated external folder

We can combine css not in assemblies now?
Dimitar Terziev
Telerik team
 answered on 11 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?