Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
126 views
Howdy,

I just finishing battling getting the MOSSRadEditor into WSS3. The hyperlink manager works and things look good. Before I switched to MOSSRadEditor I was using RadEditor and it worked very well, I specified font sizes, and some custom toolbars. When I switch it to MOSSRadEditor I lost all of this cool stuff, AND the toolbar only appears when I click the content area, I'd rather it stay available at all times.

Here's my HTML

<rad:MOSSRadEditor ID="RadEditor1" runat="server" ToolbarMode="Default" ToolsFile="tools.xml"   
   ContentAreaCssFile="edit.css" OnClientCommandExecuting="OnClientCommandExecuting">  
    <realfontsizes> 
        <telerik:EditorRealFontSize Value="10pt" /> 
        <telerik:EditorRealFontSize Value="12pt" /> 
        <telerik:EditorRealFontSize Value="14pt" /> 
        <telerik:EditorRealFontSize Value="16pt" /> 
        <telerik:EditorRealFontSize Value="18pt" /> 
    </realfontsize> 

Some javascript
<script type="text/javascript">  
    //<![CDATA[  
 
 
    function OnClientCommandExecuting(editor, args) {  
        var name = args.get_name(); //The command name  
        var val = args.get_value(); //The tool that initiated the command  
 
        if (name == "DynamicDropdown" || name == "DynamicSplitButton") {  
            editor.pasteHtml(val);  
            //Cancel the further execution of the command  
            args.set_cancel(true);  
        }  
    }  
    //]]>  
</script> 

code behind is

    EditorToolGroup toolbar = new EditorToolGroup();  
    RadEditor1.Tools.Add(toolbar);  
    EditorDropDown ddn = new EditorDropDown("DynamicDropdown");  
    ddn.Text = "Layout Elements";  
    ddn.Attributes["width"] = "110px";  
    ddn.Attributes["popupwidth"] = "240px";  
    ddn.Attributes["popupheight"] = "100px";  
    ddn.Items.Add("2 Column Table", "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"620\"><tbody><tr><td style=\"font-weight: bold\" valign=\"top\" width=\"120\"></td>" +  
            "<td valign=\"top\" width=\"400\"></td></tr><tr><td colspan=\"2\"><hr/></td></tr><tr><td style=\"font-weight: bold\" valign=\"top\" width=\"120\"></td>" +  
            "<td valign=\"top\" width=\"400\"></td></tr><tr><td colspan=\"2\"><hr/></td></tr><tr><td style=\"font-weight: bold\" valign=\"top\" width=\"120\"></td>" +  
            "<td valign=\"top\" width=\"400\"></td></tr></tbody></table><p>&nbsp;</p><p>&nbsp;</p>");  
    ddn.Items.Add("Page Break", "<div class=\"page_break\" style=\"page-break-after:always\"></div>");  
    ddn.Items.Add("Section Header", "<table border=\"1\" style=\"border-color: Black;\" width=\"620px\" cellpadding=\"5\" cellspacing=\"0\">" +  
            "<tr class=\"borderedtitle\"><td>V. Section Title</td></tr></table><p>&nbsp;</p><p>&nbsp;</p>");  
    toolbar.Tools.Add(ddn);  
    RadEditor1.ToolbarMode = EditorToolbarMode.Default; 


and the display is attached.
Delphi
Top achievements
Rank 1
 answered on 13 May 2010
1 answer
95 views
Hi

I want to know that is it possible to add 2 or 3 icons parallel in Tree Node like in attachment?


thx
Yana
Telerik team
 answered on 13 May 2010
1 answer
101 views

Hi,

I am unable to bind EntiryDataSource control for RADGRID in SharePoint 2010 Visual Web Part.
but it's working fine for ASP.NET Web site.
Any clue or alternative approach will be highly appriceated.

Regards,
Suresh Kumar Udatha.

Iana Tsolova
Telerik team
 answered on 13 May 2010
1 answer
163 views
I installed RadControls for ASP.net AJAX Latest version 2010.1.415    and found that they could not be used with the asp.net ajax controle toolkit.  I downloaded the latest internal build and created a tab in the toolbox and imported the controls.

I am getting the following error.

Error Rendering Control - ScriptManagerAn unhandled exception has occurred.
[A]Telerik.Web.UI.RadScriptManager cannot be cast to [B]Telerik.Web.UI.RadScriptManager. Type A originates from 'Telerik.Web.UI, Version=2010.1.415.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location 'C:\Users\Dennis E Chipps\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\gcacis4j01\telerik.web.ui.dll'. Type B originates from 'Telerik.Web.UI, Version=2010.1.504.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location 'C:\Users\Dennis E Chipps\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\j9ejbnwh01\Telerik.Web.UI.dll'.
Iana Tsolova
Telerik team
 answered on 13 May 2010
1 answer
107 views
Hello,m

How to show the radscheduler events in grid control  with recurrence events for given dates range.

I want to show like “Agenda View” like timeline in radscheduler.

REgards
Samir

Veronica
Telerik team
 answered on 13 May 2010
3 answers
201 views
Hi,
I would like to disable the RadDock control in client side.  I am using following method to disable the RadDock its working fine in IE,
But it's not working on Google chrome browser. How to resolve this problem? any idea let me know...

function disableDock()  
{  
    var dock = $find("<%= RadDock1.ClientID%>");  
    var outerDiv = dock.get_element();  
    outerDiv.disabled = true;  
} 

Thanks
Sabarish
Pero
Telerik team
 answered on 13 May 2010
1 answer
156 views
I am getting this error when trying to access a radscheduler

Type 'Telerik.Web.UI.RadScheduler' does not have a public property named 'ResourceStyles'.

I have no idea why that would happen, any thoughts?
T. Tsonev
Telerik team
 answered on 13 May 2010
4 answers
164 views

When specifying the raddock's content width to be 100%, Firefox 3.6 and IE8 appear to function as expected; however, Safari(4.0.5) and Chrome(4.1.249.1064) seem to lose some width after the raddock control is collapsed, and then expanded.

Perhaps I'm doing something wrong?  Any help is greatly appreciated.

Below is a snippet of the code:

 

<form id="form1" runat="server" method="post">  
    <telerik:RadScriptManager ID="scriptManager1" runat="server"></telerik:RadScriptManager> 
    <telerik:RadDockZone runat="server" ID="dzLeft" Orientation="Vertical" FitDocks="true">  
        <telerik:RadDock runat="server" ID="raddock1" Title="RadDock1" DefaultCommands="ExpandCollapse">  
            <ContentTemplate> 
                <div style="background: grey; width: 100%;">&nbsp;</div> 
            </ContentTemplate> 
        </telerik:RadDock> 
    </telerik:RadDockZone> 
</form> 
 

Thanks,

 

 

Mike

 

edit: attached before and after images.

Michael
Top achievements
Rank 1
 answered on 13 May 2010
4 answers
197 views
Hi all,

             I am new to telerik controls. I am using a radgrid with usercontrol insert from inside a modal popup. I am getting variable names as inputs.
ex)
If user enters the string in this format //variablename//. Then is should consider variablename as a variable. All the string parsing is done in the server side and i am getting list of all variables. Now i should show the list of identified variables in a confirmation popup and proceed with the insert if the user clicks ok and stay in the popup mode if he clicks cancel. I tried some attempts using radconfirm, but i am not able to do it completely.

Kindly guide me right from opening a radconfirm with customized text, avoiding insert on click of cancel, and proceed with insert if ok is clicked. Or if exists any better option to do this requirement, please suggest.

Regards,
Saravanan K
Princy
Top achievements
Rank 2
 answered on 13 May 2010
2 answers
106 views
Hi,

I'm newbe in MOSS so maybe my question will not be exactly described.

I have problem with RAD editor in my MOSS solution. I use RAD Editor version of the Telerik RadControls is 2008.3.1314.35.

Problem is in that it change HMTL content definition of my macromedia flash. When I update it, everything is ok, HTML is succesfully saved and work. But when Iedit the page later, then without my change is changed HTML code of this flash.

I change another webpart on the page, but after saving my changes without my intervention was changed webpart with the flash - Media content change itself too. Before my change of another webpart the HTML code of Media Content was

<object height="285" width="910" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="Movie" value="/SiteCollectionImages/Front%20page/intro_10.swf">
<param name="play" value="true">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<param name="loop" value="false">
<param name="menu" value="false"><embed src="/SiteCollectionImages/Front%20page/intro_10.swf" width="910" height="285" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" wmode="transparent" loop="false" menu="false"></embed></object>

And after, when I applied changes related to the another webpart in Media Content was only this HTML code

<embed src="/SiteCollectionImages/Front%20page/intro_10.swf" width="910" height="285" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" wmode="transparent" loop="false" menu="false"></embed>

And the flash stop working on the page.


I will be glad for any advice how to solve this problem.

Thanks

Jan



Jan Lichnovsky
Top achievements
Rank 1
 answered on 13 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?