Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
29 views
Forget it I fixed it somehow.
Alex
Top achievements
Rank 1
 asked on 22 Dec 2010
4 answers
241 views
How can you set the default justification for the rad editor?  For some reason my editors are defaulting to no justification but I want them left justified by default.  I can't find the right property to set.


<telerik:RadEditor ID="reContent" Skin="Office2007" runat="server" EditModes="Design" >
    <Tools>
        <telerik:EditorToolGroup>
                <telerik:EditorTool Name="AjaxSpellCheck" />
                <telerik:EditorTool Name="FontName" />
                <telerik:EditorTool Name="FontSize" />
                <telerik:EditorTool Name="Bold" />
                <telerik:EditorTool Name="Italic" />
                <telerik:EditorTool Name="Underline" />
            <telerik:EditorSeparator />
                <telerik:EditorTool Name="JustifyLeft" Enabled="true" />
                <telerik:EditorTool Name="JustifyCenter" />
                <telerik:EditorTool Name="JustifyFull" />
                <telerik:EditorTool Name="JustifyRight" />
                <telerik:EditorTool Name="JustifyNone" />
                <telerik:EditorSeparator />
                <telerik:EditorTool Name="Indent" />
                <telerik:EditorTool Name="Outdent" />
                <telerik:EditorSeparator />
                 
                <telerik:EditorTool Name="InsertOrderedList" />
                <telerik:EditorTool Name="InsertUnorderedList" />
                <telerik:EditorSeparator />
                <telerik:EditorTool Name="Undo" />
                <telerik:EditorTool Name="Redo" />
        </telerik:EditorToolGroup>
    </Tools>
</telerik:RadEditor>
eric
Top achievements
Rank 1
 answered on 22 Dec 2010
0 answers
32 views
This has been resolved.
Greg
Top achievements
Rank 1
 asked on 22 Dec 2010
2 answers
90 views
Hi,
I am having a problem with the filtering on a RadGrid. The grid functions perfectly when running the code locally or on our Dev server, but fails when in out Test or Production environments. The only difference between the 4 environments is that each has incrementally more data in the database. Locally I am trying to filter about 2000 records, where as in Production it is closer to 4000. The only place I receive any indication that there is a problem is when using firebug. After typing in the box and selecting 'Contains' I get the following from the response :-
53|error|500|Object reference not set to an instance of an object.|

If I check the response from the Dev environment I get a full page response.

Please let me know If someone can help.....



Matthew
Top achievements
Rank 2
 answered on 22 Dec 2010
1 answer
79 views
Technically, this may not be a Telerik issue - however, it does cause problems with RadEditor. We have legacy controls that use the Microsoft ASP.NET Menu control, which do not render nicely under Safari unless you force the Page.ClientTarget = "uplevel" setting (or similar solution).  Unfortunately, this has a side effect - it seems to prevent the toolbars from appearing in the RadEditor under Safari.
Rumen
Telerik team
 answered on 22 Dec 2010
1 answer
84 views

Hi All
I have put together a series of collapsible splitters with some nested sliding panes,
I am using this in Full screen mode and have set the two main panes to occupy percentages of the screen,
Everything works as expected until the browser is re-sized!
The lower pane then encroaches on almost all of the screen,
When the screen is returned to full size the panes stay the same and are not as they initialy was i.e 60% & 40 % of the screen.

I would appriciate it if someone could point me in the right direction with this please.

Many Thanks

Regards
Darren

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Testgrid.aspx.vb" Inherits="Testgrid" Title="Testgrid" debug="true"%>
  
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <title></title>
    <style type="text/css">
        html, body, form , a img
        {
            height: 100%;
            margin: 0px;
            padding: 0px;
            overflow: hidden;
            border: 0;
        }       
    </style>
</head>
<body bgcolor="#002440" >
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager2" runat="server">
    </telerik:RadScriptManager>    
    <div id="Div1" style="height: 100%;">
        <telerik:RadSplitter ID="RadSplitter1" runat="server" Height="100%" LiveResize="True"
            Orientation="Horizontal" Skin="Web20" Width="100%" VisibleDuringInit="false"
            FullScreenMode="True" BorderColor="0" SplitBarsSize="">
            <telerik:RadPane ID="RadPane1" runat="server" Scrolling="Y" Index="1" Height="60%">
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Both">
            </telerik:RadSplitBar>
            <telerik:RadPane ID="RadPane3" runat="server" Scrolling="None" Index="2" Height="40%">
                <telerik:RadSplitter ID="RadSplitter2" runat="server" Orientation="Vertical" Skin="Web20"
                    VisibleDuringInit="false" BorderColor="0">
                    <telerik:RadPane ID="RadPane2" runat="server" Scrolling="None">
                        <telerik:RadSplitter ID="RadSplitter3" runat="server" Orientation="Horizontal" RegisterWithScriptManager="False"
                            Skin="Web20" FullScreenMode="True">
                            <telerik:RadPane ID="RadPane5" runat="server">
                                <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" SlideDirection="Bottom"
                                    DockedPaneId="RadSlidingPane2">
                                    <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title="Test Pane1"
                                        ViewStateMode="Inherit" IconUrl="Images/Icons/cmove16.png" Scrolling="None" Height="250">
                                    </telerik:RadSlidingPane>
                                    <telerik:RadSlidingPane ID="RadSlidingPane2" runat="server" Title="Test Pane2"
                                        ViewStateMode="Inherit" IconUrl="Images/Icons/note16.png" Scrolling="None" Height="250">
                                    </telerik:RadSlidingPane>
                                </telerik:RadSlidingZone>
                            </telerik:RadPane>
                        </telerik:RadSplitter>
                    </telerik:RadPane>
                    <telerik:RadSplitBar ID="RadSplitBar2" runat="server" CollapseMode="Both">
                    </telerik:RadSplitBar>
                    <telerik:RadPane ID="RadPane4" runat="server">
                        <telerik:RadSplitter ID="RadSplitter4" runat="server" Orientation="Horizontal" Skin="Web20">
                            <telerik:RadPane ID="RadPane6" runat="server" Scrolling="None">
                                <telerik:RadSlidingZone ID="RadSlidingZone2" runat="server" SlideDirection="Bottom">
                                    <telerik:RadSlidingPane ID="RadSlidingPane3" runat="server" Title="Future Stuff"
                                        ViewStateMode="Inherit" IconUrl="Images/Icons/cmove16.png" Scrolling="None" Height="250">
                                    </telerik:RadSlidingPane>
                                </telerik:RadSlidingZone>
                            </telerik:RadPane>
                        </telerik:RadSplitter>
                    </telerik:RadPane>
                </telerik:RadSplitter>
            </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    </form>
</body>
</html>

Dobromir
Telerik team
 answered on 22 Dec 2010
1 answer
52 views
Hi

We have a requirement to allow users to be able to specify an alternative description for multimedia which they upload via the built in image/media/flash managers in the radEditor.  At the moment in our custom provider code we are having to default the image alt description to the name of the uploaded file which for site accessibility is not ideal.

Ideally we would like to add a textbox labelled "Alt Description" next to or underneath each of the file upload controls displayed on the upload dialog - see attached file.  Having customised some of the other radEditor dialogs I can see no trace of the upload control in the \Dialogs folder. 

Can you provide a suggestion on how we achieve this ?

This may be a feature which you may want to allow for out of the box in future releases to allow for better site accessibility compliance.

Thanks in advance
Dobromir
Telerik team
 answered on 22 Dec 2010
2 answers
115 views

Is a node's child node count available in the NodeDataBound event? 

This code...

protected void RadTreeView1_NodeDataBound(object sender, RadTreeNodeEventArgs e) 
{     
    if (e.Node.Nodes.Count > 0) 
        throw new Exception("bang"); 
}

...never seems to throw an exception. 

It makes sense that it might not have the child nodes count until the tree is fully databound, but I just wanted to make sure that is the case or if I'm overlooking something.

Thanks... Russ
Russ
Top achievements
Rank 1
 answered on 22 Dec 2010
1 answer
115 views

Hi,
We have a web page that uses the Telerik.Web.UI.WebResource.axd script.

However, we only have one server that this script is launch when browsing the web page, and it take about 15 seconds to complete. (here'S the request : http://www.dfsinvestmentinsurance.ca/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3afr-FR%3a663073a9-f154-4e37-923f-5a912ece8950%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.701.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3afr-FR%3a7e598a31-3beb-49a1-914c-5f530240f0ea%3a16e4e7cd%3aed16cbdc%3a874f8ea2%3af7645509%3a24ee1bba%3a19620875%3a33108d14%3abd8f85e4).

All other test we have done with other machine, we do not have this HTTP request.

The page is : http://www.dfsinvestmentinsurance.ca/en/Pages/access-portfolio.aspx?navigation=fn_portefeuille

I am not web developper. I need to know two things :

1- Why only one server have this script launch
2- Why it is taking so long.

Hope I'm clear enough.

Thanks

Simon
Telerik team
 answered on 22 Dec 2010
1 answer
50 views
Hi Team,

I am using RadEditor --> ImageManager to upload the new image. How do i get the uploaded image file name at runtime programmatically using FileUpload event.

   <ImageManager ViewPaths="~/Assets/content/media/images" UploadPaths="~/Assets/content/media/images" />
   <ImageManager ViewPaths="~/Assets/content/media/images" UploadPaths="~/Assets/content/media/images" />
   <ImageManager ViewPaths="~/Assets/content/media/images" UploadPaths="~/Assets/content/media/images" />
<ImageManager ViewPaths="~/Assets/content/media/images" UploadPaths="~/Assets/content/media/images" />

Regards,
Anjan


Dobromir
Telerik team
 answered on 22 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?