Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
162 views
I'm using a TimePicker in my project.  Right now if I pick 2:00 PM from the list, the data I get out of the control says "2/14/2012 2:00:00 PM"
I want just "2:00 PM".  I'm using the latest build of the controls.

The DatePicker is the same way, I have to trim the time off of it to get it the way I want it.
dean.carrefour
Top achievements
Rank 1
 answered on 15 Feb 2012
3 answers
122 views
I can test Rad Scheduler on my local machine all day long and it works great.  It writes to my SQL Server database and the New Appointment screen appears when I click the "options" button.  However, when I publish my site to my server, Rad Scheduler appears on screen just fine, but does not allow for adding or editing the schedule.  HELP!
Anna Vaughn
http://schedule.cmecustomer.com

Plamen
Telerik team
 answered on 15 Feb 2012
3 answers
287 views
hi,

   Ive used hierarchical grid to display the Records of different levels. here my problem is I can set the background color for Level 1 and Level 3. as we are using GridTableView for displaying Level 2 records, there is no way to define either Grid or DIV tag. Ive also tried using CSS Class. but there is no use. I need to set the BGColor for better understanding.
<telerik:RadGrid ID="RadGrid1" OnPreRender="RadGrid1_PreRender" DataSourceID="SqlDataSource1"
                        runat="server" AllowSorting="True" AllowPaging="True" PageSize="5" GridLines="None"
                        Skin="WebBlue" ShowGroupPanel="True" OnItemCreated="RadGrid1_ItemCreated" CellSpacing="0"
                        AutoGenerateColumns="False" ShowFooter="true">
                        <PagerStyle Mode="NumericPages"></PagerStyle>
                        <MasterTableView DataSourceID="SqlDataSource1" DataKeyNames="RequirementID" AllowMultiColumnSorting="True"
                            PageSize="10">
                            <NestedViewTemplate>
                                <asp:Panel runat="server" ID="InnerContainer" CssClass="viewWrap" Visible="false">
                                    <telerik:RadTabStrip runat="server" ID="TabStip1" MultiPageID="Multipage1" SelectedIndex="0">
                                        <Tabs>
                                            <telerik:RadTab runat="server" Text="Scenario" PageViewID="PageView1">
                                            </telerik:RadTab>
                                            <telerik:RadTab runat="server" Text="CI (42)" PageViewID="PageView2">
                                            </telerik:RadTab>
                                        </Tabs>
                                    </telerik:RadTabStrip>
                                    <telerik:RadMultiPage runat="server" ID="Multipage1" SelectedIndex="0" RenderSelectedPageOnly="false">
                                        <telerik:RadPageView runat="server" ID="PageView1">
                                            <div>
                                                <asp:Label ID="Label1" Font-Bold="true" Font-Italic="true" Text='<%# Eval("RequirementID") %>'
                                                    Visible="false" runat="server" />
                                                <telerik:RadGrid runat="server" ID="RGTestCase" DataSourceID="SqlDataSource5" Skin="WebBlue"
                                                    AllowSorting="true" ShowFooter="true">
                                                    <MasterTableView AutoGenerateColumns="False" AllowPaging="true" DataKeyNames="ScenarioID"
                                                        PageSize="5" HierarchyLoadMode="ServerOnDemand">
                                                        <DetailTables>
                                                            <telerik:GridTableView AutoGenerateColumns="false" DataKeyNames="TestCaseID" DataSourceID="SqlDataSource2"
                                                                Width="100%" PageSize="5" AllowPaging="true" CssClass="detailBorder" ItemStyle-BackColor="white" ShowFooter="true">
                                                                <ParentTableRelation>
                                                                    <telerik:GridRelationFields DetailKeyField="TestCaseID" MasterKeyField="TestCaseID" />
                                                                </ParentTableRelation>
                                                                <Columns>
                                                                    <telerik:GridBoundColumn DataField="TestCaseID" FilterControlAltText="Filter TestCaseID column"
                                                                        HeaderText="TestCaseID" SortExpression="TestCaseID" UniqueName="TestCaseID">
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="Version" FilterControlAltText="Filter Version column"
                                                                        HeaderText="Version" SortExpression="Version" UniqueName="Version">
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="TestCaseDescription" FilterControlAltText="Filter TestCaseDescription column"
                                                                        HeaderText="TestCaseDescription" SortExpression="TestCaseDescription" UniqueName="TestCaseDescription">
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="ScenarioID" FilterControlAltText="Filter ScenarioID column"
                                                                        HeaderText="ScenarioID" SortExpression="ScenarioID" UniqueName="ScenarioID">
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="ToolName" FilterControlAltText="Filter ToolName column"
                                                                        HeaderText="ToolName" ReadOnly="True" SortExpression="ToolName" UniqueName="ToolName">
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="TransferType" FilterControlAltText="Filter TransferType column"
                                                                        HeaderText="TransferType" SortExpression="TransferType" UniqueName="TransferType">
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="CreatedDate" DataType="System.DateTime" FilterControlAltText="Filter CreatedDate column"
                                                                        HeaderText="CreatedDate" SortExpression="CreatedDate" UniqueName="CreatedDate">
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="CreatedBy" DataType="System.Int32" FilterControlAltText="Filter CreatedBy column"
                                                                        HeaderText="CreatedBy" SortExpression="CreatedBy" UniqueName="CreatedBy">
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="ModifiedyDate" DataType="System.DateTime" FilterControlAltText="Filter ModifiedyDate column"
                                                                        HeaderText="ModifiedyDate" SortExpression="ModifiedyDate" UniqueName="ModifiedyDate">
                                                                    </telerik:GridBoundColumn>
                                                                    <telerik:GridBoundColumn DataField="ModifiedBy" DataType="System.Int32" FilterControlAltText="Filter ModifiedBy column"
                                                                        HeaderText="ModifiedBy" SortExpression="ModifiedBy" UniqueName="ModifiedBy">
                                                                    </telerik:GridBoundColumn>
                                                                </Columns>
                                                                <NestedViewTemplate>
                                                                    <div class="viewWrap">
                                                                        <telerik:RadGrid runat="server" ID="rg" DataSourceID="SqlDataSource3" Skin="WebBlue"
                                                                            AllowSorting="true" ShowFooter="true">
                                                                            <MasterTableView AutoGenerateColumns="false" AllowPaging="true" DataKeyNames="DefectID"
                                                                                PageSize="5" HierarchyLoadMode="ServerOnDemand">
                                                                                <Columns>
                                                                                    <telerik:GridBoundColumn DataField="DefectID" FilterControlAltText="Filter TestCaseID column"
                                                                                        HeaderText="DefectID" SortExpression="DefectID" UniqueName="DefectID">
                                                                                    </telerik:GridBoundColumn>
                                                                                    <telerik:GridBoundColumn DataField="Version" FilterControlAltText="Filter Version column"
                                                                                        HeaderText="Version" SortExpression="Version" UniqueName="Version">
                                                                                    </telerik:GridBoundColumn>
                                                                                    <telerik:GridBoundColumn DataField="DefectDescription" FilterControlAltText="Filter DefectDescription column"
                                                                                        HeaderText="DefectDescription" SortExpression="DefectDescription" UniqueName="DefectDescription">
                                                                                    </telerik:GridBoundColumn>
                                                                                    <telerik:GridBoundColumn DataField="TestCaseID" FilterControlAltText="Filter TestCaseID column"
                                                                                        HeaderText="TestCaseID" SortExpression="TestCaseID" UniqueName="TestCaseID">
                                                                                    </telerik:GridBoundColumn>
                                                                                    <telerik:GridBoundColumn DataField="ToolName" FilterControlAltText="Filter ToolName column"
                                                                                        HeaderText="ToolName" ReadOnly="True" SortExpression="ToolName" UniqueName="ToolName">
                                                                                    </telerik:GridBoundColumn>
                                                                                    <telerik:GridBoundColumn DataField="TransferType" FilterControlAltText="Filter TransferType column"
                                                                                        HeaderText="TransferType" SortExpression="TransferType" UniqueName="TransferType">
                                                                                    </telerik:GridBoundColumn>
                                                                                    <telerik:GridBoundColumn DataField="CreatedDate" DataType="System.DateTime" FilterControlAltText="Filter CreatedDate column"
                                                                                        HeaderText="CreatedDate" SortExpression="CreatedDate" UniqueName="CreatedDate">
                                                                                    </telerik:GridBoundColumn>
                                                                                    <telerik:GridBoundColumn DataField="CreatedBy" DataType="System.Int32" FilterControlAltText="Filter CreatedBy column"
                                                                                        HeaderText="CreatedBy" SortExpression="CreatedBy" UniqueName="CreatedBy">
                                                                                    </telerik:GridBoundColumn>
                                                                                    <telerik:GridBoundColumn DataField="ModifiedyDate" DataType="System.DateTime" FilterControlAltText="Filter ModifiedyDate column"
                                                                                        HeaderText="ModifiedyDate" SortExpression="ModifiedyDate" UniqueName="ModifiedyDate">
                                                                                    </telerik:GridBoundColumn>
                                                                                    <telerik:GridBoundColumn DataField="ModifiedBy" DataType="System.Int32" FilterControlAltText="Filter ModifiedBy column"
                                                                                        HeaderText="ModifiedBy" SortExpression="ModifiedBy" UniqueName="ModifiedBy">
                                                                                    </telerik:GridBoundColumn>
                                                                                </Columns>
                                                                            </MasterTableView>
                                                                        </telerik:RadGrid>
                                                                    </div>
                                                                </NestedViewTemplate>
                                                            </telerik:GridTableView>
                                                        </DetailTables>
                                                        <Columns>
                                                            <telerik:GridBoundColumn DataField="ScenarioID" FilterControlAltText="Filter ScenarioID column"
                                                                HeaderText="ScenarioID" SortExpression="ScenarioID" UniqueName="ScenarioID">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Version" FilterControlAltText="Filter Version column"
                                                                HeaderText="Version" SortExpression="Version" UniqueName="Version">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="ScenarioName" FilterControlAltText="Filter ScenarioName column"
                                                                HeaderText="ScenarioName" SortExpression="ScenarioName" UniqueName="ScenarioName">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="ScenarioDescription" FilterControlAltText="Filter ScenarioDescription column"
                                                                HeaderText="ScenarioDescription" SortExpression="ScenarioDescription" UniqueName="ScenarioDescription">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="RequirementID" FilterControlAltText="Filter RequirementID column"
                                                                HeaderText="RequirementID" SortExpression="RequirementID" UniqueName="RequirementID">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="ToolName" FilterControlAltText="Filter ToolName column"
                                                                HeaderText="ToolName" ReadOnly="True" SortExpression="ToolName" UniqueName="ToolName">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="TransferType" FilterControlAltText="Filter TransferType column"
                                                                HeaderText="TransferType" SortExpression="TransferType" UniqueName="TransferType">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridCheckBoxColumn DataField="IsDeleted" DataType="System.Boolean" FilterControlAltText="Filter IsDeleted column"
                                                                HeaderText="IsDeleted" SortExpression="IsDeleted" UniqueName="IsDeleted">
                                                            </telerik:GridCheckBoxColumn>
                                                            <telerik:GridBoundColumn DataField="CreatedDate" DataType="System.DateTime" FilterControlAltText="Filter CreatedDate column"
                                                                HeaderText="CreatedDate" SortExpression="CreatedDate" UniqueName="CreatedDate">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="CreatedBy" DataType="System.Int32" FilterControlAltText="Filter CreatedBy column"
                                                                HeaderText="CreatedBy" SortExpression="CreatedBy" UniqueName="CreatedBy">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="ModifiedyDate" DataType="System.DateTime" FilterControlAltText="Filter ModifiedyDate column"
                                                                HeaderText="ModifiedyDate" SortExpression="ModifiedyDate" UniqueName="ModifiedyDate">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="ModifiedBy" DataType="System.Int32" FilterControlAltText="Filter ModifiedBy column"
                                                                HeaderText="ModifiedBy" SortExpression="ModifiedBy" UniqueName="ModifiedBy">
                                                            </telerik:GridBoundColumn>
                                                        </Columns>
                                                    </MasterTableView>
                                                </telerik:RadGrid>
                                            </div>
                                            <asp:SqlDataSource ID="SqlDataSource2" ConnectionString="<%$ ConnectionStrings:iTap_GS_DemoConnectionString %>"
                                                SelectCommand="SELECT Attribute1 AS TestCaseID, Attribute3 AS Version, Attribute10 AS TestCaseName, Attribute11 AS TestCaseDescription, Attribute2 as ScenarioID, 'TestCase' AS ToolName, Transfertype AS TransferType, IsDeleted, WhenCreated AS CreatedDate, CreatedBy, LastChanged AS ModifiedyDate, ChangedBy AS ModifiedBy FROM ToolAttributeValue
                                        WHERE (ToolId = 680 and Attribute2 in (5)) order by TestCaseID,Version" runat="server">
                                                <SelectParameters>
                                                    <asp:ControlParameter ControlID="Label1" PropertyName="Text" Type="String" Name="ScenarioID" />
                                                </SelectParameters>
                                            </asp:SqlDataSource>
                                            <asp:SqlDataSource ID="SqlDataSource3" ConnectionString="<%$ ConnectionStrings:iTap_GS_DemoConnectionString %>"
                                                SelectCommand="select Attribute1 AS DefectID, Attribute3 AS Version, Attribute10 AS DefectDescription, Attribute2 as TestCaseID, 'Defect' AS ToolName, Transfertype AS TransferType, WhenCreated AS CreatedDate, CreatedBy, LastChanged AS ModifiedyDate, ChangedBy AS ModifiedBy from toolattributevalue
                                    where (toolid=624  and Attribute2 in (10))" runat="server">
                                                <SelectParameters>
                                                    <asp:ControlParameter ControlID="Label1" PropertyName="Text" Type="String" Name="TestCaseID" />
                                                </SelectParameters>
                                            </asp:SqlDataSource>
                                            <asp:SqlDataSource ID="SqlDataSource5" ConnectionString="<%$ ConnectionStrings:iTap_GS_DemoConnectionString %>"
                                                SelectCommand="SELECT Attribute1 AS ScenarioID, Attribute3 AS Version, Attribute10 AS ScenarioName, Attribute11 AS ScenarioDescription, Attribute2 as RequirementID, 'Scenario' AS ToolName, Transfertype AS TransferType, IsDeleted, WhenCreated AS CreatedDate, CreatedBy, LastChanged AS ModifiedyDate, ChangedBy AS ModifiedBy FROM ToolAttributeValue
                                        WHERE (ToolId = 680 and Attribute2 in (@RequirementID)) order by ScenarioID,Version"
                                                runat="server">
                                                <SelectParameters>
                                                    <asp:ControlParameter ControlID="Label1" PropertyName="Text" Type="String" Name="RequirementID" />
                                                </SelectParameters>
                                            </asp:SqlDataSource>
                                        </telerik:RadPageView>
                                        <telerik:RadPageView runat="server" ID="PageView2">
                                            <div class="contactWrap">
                                                <telerik:RadGrid runat="server" ID="RGCI" DataSourceID="SqlDataSource4" Skin="WebBlue"
                                                    AllowSorting="true">
                                                    <MasterTableView ShowHeader="true" AutoGenerateColumns="False" AllowPaging="true"
                                                        DataKeyNames="CIID" PageSize="5" HierarchyLoadMode="ServerOnDemand">
                                                        <Columns>
                                                            <telerik:GridBoundColumn DataField="CIID" FilterControlAltText="Filter CIID column"
                                                                HeaderText="CIID" SortExpression="CIID" UniqueName="CIID">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Version" FilterControlAltText="Filter Version column"
                                                                HeaderText="Version" SortExpression="Version" UniqueName="Version">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="CI" FilterControlAltText="Filter CI column" HeaderText="CI"
                                                                SortExpression="CI" UniqueName="CI">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="RequirementID" FilterControlAltText="Filter RequirementID column"
                                                                HeaderText="RequirementID" SortExpression="RequirementID" UniqueName="RequirementID">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="ToolName" FilterControlAltText="Filter ToolName column"
                                                                HeaderText="ToolName" ReadOnly="True" SortExpression="ToolName" UniqueName="ToolName">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="TransferType" FilterControlAltText="Filter TransferType column"
                                                                HeaderText="TransferType" SortExpression="TransferType" UniqueName="TransferType">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridCheckBoxColumn DataField="IsDeleted" DataType="System.Boolean" FilterControlAltText="Filter IsDeleted column"
                                                                HeaderText="IsDeleted" SortExpression="IsDeleted" UniqueName="IsDeleted">
                                                            </telerik:GridCheckBoxColumn>
                                                            <telerik:GridBoundColumn DataField="CreatedDate" DataType="System.DateTime" FilterControlAltText="Filter CreatedDate column"
                                                                HeaderText="CreatedDate" SortExpression="CreatedDate" UniqueName="CreatedDate">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="CreatedBy" DataType="System.Int32" FilterControlAltText="Filter CreatedBy column"
                                                                HeaderText="CreatedBy" SortExpression="CreatedBy" UniqueName="CreatedBy">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="ModifiedyDate" DataType="System.DateTime" FilterControlAltText="Filter ModifiedyDate column"
                                                                HeaderText="ModifiedyDate" SortExpression="ModifiedyDate" UniqueName="ModifiedyDate">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="ModifiedBy" DataType="System.Int32" FilterControlAltText="Filter ModifiedBy column"
                                                                HeaderText="ModifiedBy" SortExpression="ModifiedBy" UniqueName="ModifiedBy">
                                                            </telerik:GridBoundColumn>
                                                        </Columns>
                                                    </MasterTableView>
                                                </telerik:RadGrid>
                                                <asp:SqlDataSource ID="SqlDataSource4" ConnectionString="<%$ ConnectionStrings:iTap_GS_DemoConnectionString %>"
                                                    SelectCommand="SELECT Attribute1 AS CIID, Attribute3 AS Version, Attribute10 AS CI, Attribute2 as RequirementID, 'CI' AS ToolName, Transfertype AS TransferType, IsDeleted, WhenCreated AS CreatedDate, CreatedBy, LastChanged AS ModifiedyDate, ChangedBy AS ModifiedBy FROM ToolAttributeValue
                                        WHERE (ToolId = 680  and Attribute2 in (@RequirementID)) ORDER BY CIID, Attribute3" runat="server">
                                                    <SelectParameters>
                                                        <asp:ControlParameter ControlID="Label1" PropertyName="Text" Type="String" Name="RequirementID" />
                                                    </SelectParameters>
                                                </asp:SqlDataSource>
                                            </div>
                                        </telerik:RadPageView>
                                    </telerik:RadMultiPage>
                                </asp:Panel>
                            </NestedViewTemplate>
                            <Columns>
                                <telerik:GridBoundColumn DataField="RequirementID" HeaderText="RequirementID" SortExpression="RequirementID"
                                    UniqueName="RequirementID" FilterControlAltText="Filter RequirementID column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="Version" HeaderText="Version" SortExpression="Version"
                                    UniqueName="Version" FilterControlAltText="Filter Version column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="RequirementDescription" HeaderText="RequirementDescription"
                                    SortExpression="RequirementDescription" UniqueName="RequirementDescription" FilterControlAltText="Filter RequirementDescription column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="ToolName" HeaderText="ToolName" SortExpression="ToolName"
                                    UniqueName="ToolName" FilterControlAltText="Filter ToolName column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="TransferType" HeaderText="TransferType" SortExpression="TransferType"
                                    UniqueName="TransferType" FilterControlAltText="Filter TransferType column">
                                </telerik:GridBoundColumn>
                                <telerik:GridCheckBoxColumn DataField="IsDeleted" HeaderText="IsDeleted" SortExpression="IsDeleted"
                                    UniqueName="IsDeleted" DataType="System.Boolean" FilterControlAltText="Filter IsDeleted column">
                                </telerik:GridCheckBoxColumn>
                                <telerik:GridBoundColumn DataField="CreatedDate" HeaderText="CreatedDate" SortExpression="CreatedDate"
                                    UniqueName="CreatedDate" DataType="System.DateTime" FilterControlAltText="Filter CreatedDate column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="CreatedBy" HeaderText="CreatedBy" SortExpression="CreatedBy"
                                    UniqueName="CreatedBy" DataType="System.Int32" FilterControlAltText="Filter CreatedBy column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="ModifiedyDate" HeaderText="ModifiedyDate" SortExpression="ModifiedyDate"
                                    UniqueName="ModifiedyDate" DataType="System.DateTime" FilterControlAltText="Filter ModifiedyDate column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="ModifiedBy" HeaderText="ModifiedBy" SortExpression="ModifiedBy"
                                    UniqueName="ModifiedBy" DataType="System.Int32" FilterControlAltText="Filter ModifiedBy column">
                                </telerik:GridBoundColumn>
                            </Columns>
                        </MasterTableView>
                        <ClientSettings AllowDragToGroup="True" />
                    </telerik:RadGrid>
                    <asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:iTap_GS_DemoConnectionString %>"
                        SelectCommand="select Attribute1 AS RequirementID, Attribute3 AS Version, Attribute20 AS RequirementDescription, 'Requirement' AS ToolName, Transfertype AS TransferType, WhenCreated AS CreatedDate, CreatedBy, LastChanged AS ModifiedyDate, ChangedBy AS ModifiedBy from toolattributevalue where toolid=621"
                        runat="server"></asp:SqlDataSource>
please help me on this. Attached image for your reference.
Galin
Telerik team
 answered on 15 Feb 2012
1 answer
76 views
Hi,

I am having a problem when we add an image to the editor and then use the alignment feature. I am using Firefox 10.

Steps:

1) Go to telerik demo website. http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
2) Delete everthing inside the content.
3) Add an image (I used 276x250-asp.net-featured_thumb_thumb_thumb_thumb.gif).
4) Click on the image (when you see the 8 points around the image, used to resize the image).
5) Click the align center button (It will center the image as expected, you will notice that the 8 buttons mark will not be show, probably because it lost focus).
6) Click the image again (when you see the 8 points around the image, used to resize the image).
7) Click align Left button.

You will see that the image if was moved to the left as expected, but the 8 buttons around the image still on the center.

Is there anything we can do about this?

Thanks in Advance.
Jose
Rumen
Telerik team
 answered on 15 Feb 2012
5 answers
139 views
Hello,

I have 2 RadEditors in a RadMultiPage. The tabstrip uses the pagviews to show one of the two editors. When I use the Past from Word button in the first tab, then in the second tab it will no longer work. I can paste normally, but the paste from word buttons dont do anything. This is in IE9 with browser mode and dec mode both set to IE9.

Now if I set the Doc mode to IE8  standards, the buttons will react again, but extremely slow.
To reproduce, just use below aspx code and past some word content with the past from word button in the first tab and then try and past the same content with the past from word button in the second tab.

ASPX and toolsfile:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Tricks.aspx.cs" Inherits="Tricks" %>
 
<!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">
        .tooltip
        {
            cursor: pointer;
            border-bottom: 1px dashed #009900;
            color: #009900;
        }
    </style>
    <telerik:RadScriptBlock ID="rsb" runat="server">
        <script type="text/javascript">
            function setSplitInfo(sender, args) {
 
            }
            function setSplitInfoTop(sender, args) {
 
            }
            function rtvExplore_OnNodeExpandedCollapsed(sender, eventArgs) {
                var allNodes = eventArgs._node.get_treeView().get_allNodes();
 
                var i;
                var selectedNodes = "";
 
                for (i = 0; i < allNodes.length; i++) {
                    if (allNodes[i].get_expanded())
                        selectedNodes += allNodes[i].get_value() + "*";
                }
 
                Set_Cookie("expandedNodes", selectedNodes, 30);
            }
 
            function Set_Cookie(name, value, expires, path, domain, secure) {
                var today = new Date();
                today.setTime(today.getTime());
                if (expires) {
                    expires = expires * 1000 * 60 * 60 * 24;
                }
                var expires_date = new Date(today.getTime() + (expires));
 
                document.cookie = name + "=" + escape(value) +
                    ((expires) ? ";expires=" + expires_date.toGMTString() : "") +
                        ((path) ? ";path=" + path : "") +
                            ((domain) ? ";domain=" + domain : "") +
                                ((secure) ? ";secure" : "");
            }
            function editorModeChanged(editor, args) {
                 
            }
            function OnClientLoad(sender, args) {
                 
            }
 
        </script>
    </telerik:RadScriptBlock>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadFormDecorator runat="server" ID="rfd" DecoratedControls="All" Skin="Metro" />
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <telerik:RadToolTipManager runat="server" ID="rttm" AutoTooltipify="True">
    </telerik:RadToolTipManager>
    <div>
        <telerik:RadTabStrip ID="rtsArtikel" runat="server" MultiPageID="MultiPage2">
            <Tabs>
                <telerik:RadTab Text="Kernwoorden" Selected="true" PageViewID="rpvKernwoorden">
                </telerik:RadTab>
                <telerik:RadTab Text="Artikel" PageViewID="rpvArtikel">
                </telerik:RadTab>
                <telerik:RadTab Text="Product" PageViewID="rpvKruisjes">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage ID="MultiPage2" runat="server" Height="100%">
            <telerik:RadPageView ID="rpvKernwoorden" runat="server" Selected="true" Height="98%">
                <div id="divKernwoorden" runat="server">
                    <div style="width: 240px; display: inline; float: left; margin-left: 4px; margin-top: 4px;">
                        <asp:Button runat="server" ID="btnSave" Text="Opslaan" Width="100" />
                        <asp:Button runat="server" ID="btnPreview" Text="Preview" OnClientClick="return false;"
                            Width="100" />
                    </div>
                    <div style="width: 40px; display: inline; float: left; margin-top: 12px;">
                        <telerik:RadAjaxLoadingPanel ID="lp" runat="server" IsSticky="True" EnableAjaxSkinRendering="False"
                            EnableEmbeddedSkins="False">
                            <asp:Image ID="Image2" runat="server" AlternateText="Loading..." ImageUrl="~/Styles/Images/whiteloader.gif" />
                        </telerik:RadAjaxLoadingPanel>
                    </div>
                    <div style="width: 320px; display: inline; float: left; margin-left: 4px; margin-top: 12px;">
                        <asp:Label runat="server" ID="lblInfo2"></asp:Label>
                    </div>
                    <telerik:RadEditor ID="RadEditor2" runat="server" ToolbarMode="Default" ToolsFile="Tools.xml"
                        StripFormattingOptions="All" NewLineMode="P" Width="98%" Language="nl-NL" AutoResizeHeight="False"
                        OnClientModeChange="editorModeChanged" ContentAreaCssFile="~/Styles/EditorCss.css"
                        LocalizationPath="~/Resources/" ExternalDialogsPath="~/Resources/EditorDialogs/"
                        EnableViewState="true" OnClientLoad="OnClientLoad" ContentFilters="None">
                        <FontNames>
                            <telerik:EditorFont runat="server" Value="Verdana" />
                        </FontNames>
                        <SpellCheckSettings AllowAddCustom="True" DictionaryLanguage="nl-NL"></SpellCheckSettings>
                        <MediaManager UploadPaths="~/Media/" ViewPaths="~/Media/" DeletePaths="~/Media/"
                            MaxUploadFileSize="10240000"></MediaManager>
                        <ImageManager UploadPaths="~/Media/" ViewPaths="~/Media/" DeletePaths="~/Media/"
                            EnableImageEditor="False" MaxUploadFileSize="10240000" EnableThumbnailLinking="True">
                        </ImageManager>
                        <DocumentManager ViewPaths="~/Documents/" UploadPaths="~/Documents/" DeletePaths="~/Documents/" />
                    </telerik:RadEditor>
                </div>
            </telerik:RadPageView>
            <telerik:RadPageView ID="rpvArtikel" runat="server" Selected="false" Height="98%">
                <div id="divArtikel" runat="server">
                    <div style="width: 240px; display: inline; float: left; margin-left: 4px; margin-top: 4px;">
                        <asp:Button runat="server" ID="btnSave2" Text="Opslaan" Width="100" />
                        <asp:Button runat="server" ID="btnPreview2" Text="Preview" OnClientClick="return false;"
                            Width="100" />
                    </div>
                    <div style="width: 40px; display: inline; float: left; margin-top: 12px;">
                        <telerik:RadAjaxLoadingPanel ID="lp2" runat="server" IsSticky="True" EnableAjaxSkinRendering="False"
                            EnableEmbeddedSkins="False">
                            <asp:Image ID="Image1" runat="server" AlternateText="Loading..." ImageUrl="~/Styles/Images/whiteloader.gif" />
                        </telerik:RadAjaxLoadingPanel>
                    </div>
                    <div style="width: 320px; display: inline; float: left; margin-left: 4px; margin-top: 12px;">
                        <asp:Label runat="server" ID="lblInfo"></asp:Label>
                    </div>
                    <telerik:RadEditor ID="RadEditor1" runat="server" ToolbarMode="Default" ToolsFile="Tools.xml"
                        StripFormattingOptions="All" NewLineMode="P" EnableViewState="true" Width="98%"
                        Language="nl-NL" AutoResizeHeight="False" OnClientModeChange="editorModeChanged"
                        ContentAreaCssFile="~/Styles/EditorCss.css" LocalizationPath="~/Resources/" ExternalDialogsPath="~/Resources/EditorDialogs/"
                        OnClientLoad="OnClientLoad" ContentFilters="None">
                        <FontNames>
                            <telerik:EditorFont runat="server" Value="Verdana" />
                        </FontNames>
                        <SpellCheckSettings AllowAddCustom="True" DictionaryLanguage="nl-NL"></SpellCheckSettings>
                        <MediaManager UploadPaths="~/Media/" ViewPaths="~/Media/" DeletePaths="~/Media/"
                            MaxUploadFileSize="10240000"></MediaManager>
                        <ImageManager UploadPaths="~/Media/" ViewPaths="~/Media/" DeletePaths="~/Media/"
                            EnableImageEditor="False" MaxUploadFileSize="10240000" EnableThumbnailLinking="True">
                        </ImageManager>
                        <DocumentManager ViewPaths="~/Documents/" UploadPaths="~/Documents/" DeletePaths="~/Documents/" />
                    </telerik:RadEditor>
                </div>
            </telerik:RadPageView>
            <telerik:RadPageView ID="rpvKruisjes" runat="server" Selected="false" Height="98%">
                <div id="divKruisjes" runat="server">
                    <div style="width: 240px; display: inline; float: left; margin-left: 4px; margin-top: 4px;">
                        <asp:Button runat="server" ID="btnSave3" Text="Opslaan" Width="100" />
                        <asp:Button runat="server" ID="btnPreview3" Text="Preview" OnClientClick="return false;"
                            Width="100" />
                    </div>
                    <div style="width: 40px; display: inline; float: left; margin-top: 12px;">
                        <telerik:RadAjaxLoadingPanel ID="lp3" runat="server" IsSticky="True" EnableAjaxSkinRendering="False"
                            EnableEmbeddedSkins="False">
                            <asp:Image ID="Image3" runat="server" AlternateText="Loading..." ImageUrl="~/Styles/Images/whiteloader.gif" />
                        </telerik:RadAjaxLoadingPanel>
                    </div>
                    <div style="width: 320px; display: inline; float: left; margin-left: 4px; margin-top: 12px;">
                        <asp:Label runat="server" ID="lblInfo3"></asp:Label>
                    </div>
                    <div style="clear: both; margin-left: 20px; margin-top: 40px; padding-top: 20px;">
                        <asp:CheckBox runat="server" ID="cbBTW" Text="BTW-ondernemer: Aftrekbaar" /><br />
                        <asp:CheckBox runat="server" ID="cbOverheid" Text="Overheid/geen ondernemer: Compensabel" /><br />
                        <asp:CheckBox runat="server" ID="cbKostprijs" Text="Kostprijsverhogend" />
                    </div>
                </div>
            </telerik:RadPageView>
        </telerik:RadMultiPage>
    </div>
    </form>
</body>
</html>

Toolstfile

<root>
  <modules>
    <module name="RadEditorStatistics" dockingZone="Bottom" enabled="true" visible="true"  />
    <module name="RadEditorHtmlInspector" dockingZone="Module" enabled="true" visible="false"  />
  </modules>
  <tools enabled="true" dockable="true">
    <tool name="Bold" />
    <tool name="Italic" />
    <tool name="Underline" />
    <tool name="StrikeThrough" />
    <tool separator="true" />
    <tool name="JustifyLeft" />
    <tool name="JustifyCenter" />
    <tool name="JustifyRight" />
    <tool name="JustifyFull" />
    <tool name="JustifyNone" />
    <tool separator="true" />
    <tool name="Superscript" />
    <tool name="Subscript" />
    <tool separator="true" />
    <tool name="ConvertToLower" />
    <tool name="ConvertToUpper" />
    <tool name="Indent" />
    <tool name="Outdent" />
    <tool name="InsertOrderedList" />
    <tool name="InsertUnorderedList" />
    <tool name="ToggleTableBorder" />
    <tool name="ToggleScreenMode" />
  </tools>
  <tools enabled="true">
    <tool name="Undo" />
    <tool name="Redo" />
    <tool separator="true" />
    <tool name="Cut" />
    <tool name="Copy" />
    <tool name="Paste" shortcut="CTRL+!" />
    <tool separator="true" />
    <tool name="PasteFromWord" />
    <tool name="PasteFromWordNoFontsNoSizes" />
    <tool name="PastePlainText" />
    <tool name="PasteAsHtml"  />
    <tool separator="true" />
    <tool name="Print" />
    <tool name="FindAndReplace" />
    <tool name="SelectAll" />
    <tool separator="true" />
    <tool name="InsertGroupbox" />
    <tool name="InsertParagraph" />
    <tool name="InsertHorizontalRule" />
    <tool separator="true" />
    <tool name="InsertDate" />
    <tool name="InsertTime" />
  </tools>
  <tools name="InsertToolbar" enabled="true" >
    <tool name="AjaxSpellCheck" />
    <tool separator="true" />
    <tool name="ImageManager" shortcut="CTRL+M" />
    <tool name="MediaManager" />
    <tool name="DocumentManager" />
    <tool name="InsertSpecialLink" text="Tooltip invoegen" shortcut="CTRL+T" />
    <tool name="LinkManager" />
    <tool name="Unlink" />
    <tool separator="true" />
    <tool name="InsertTable" />
    <tool name="InsertRowAbove" />
    <tool name="InsertRowBelow" />
    <tool name="DeleteRow" />
    <tool name="InsertColumnLeft" />
    <tool name="InsertColumnRight" />
    <tool name="DeleteColumn" />
    <tool separator="true" />
    <tool name="MergeColumns" />
    <tool name="MergeRows" />
    <tool separator="true" />
    <tool name="SplitCell" />
    <tool name="DeleteCell" />
    <tool name="SetCellProperties" />
    <tool name="SetTableProperties" />
    <tool separator="true" />
    <tool name="Help" />
  </tools>
  <tools name="DropdownToolbar" dockable="true" >
    <tool name="ForeColor" />
    <tool name="BackColor" />
    <tool separator="true" />
    <tool name="FontName" />
    <tool name="FontSize" />
    <tool name="RealFontSize" />
     
    <tool name="InsertCustomLink" />
    <tool name="FormatBlock" />
    <tool name="Zoom" />
  </tools>
  <tools name="MainToolbar" enabled="true">
    <tool name="FormatCodeBlock" />
    <tool name="InsertSymbol" />
    <tool name="FormatStripper" />
    <tool separator="true" />
    <tool name="StripAll" />
    <tool name="StripCss" />
    <tool name="StripFont" />
    <tool name="StripSpan" />
    <tool name="StripWord" />
  </tools>
  <symbols>
  </symbols>
  <fontNames>
  </fontNames>
  <fontSizes>
  </fontSizes>
  <colors>
  </colors>
  <classes>
  </classes>
  <paragraphs>
  </paragraphs>
  <dialogParameters>
  </dialogParameters>
  <languages>
  </languages>
</root>

Any suggestions?

Thx

/Yeroon
Rumen
Telerik team
 answered on 15 Feb 2012
3 answers
157 views
can i use slider tool to zoom in and out on a chart? if so can you post an example? thank you
Yavor
Telerik team
 answered on 15 Feb 2012
5 answers
108 views
I am trying to save a radchart to a MemoryStream and then save it within a generated pdf. The chart is successfully saved as an image in the pdf, however the axis labels do not show. Is there a property I need to set for the axis labels that I am not aware of? Thank you

-Abraham
Evgenia
Telerik team
 answered on 15 Feb 2012
1 answer
78 views
Hello

I try to select only enabled rows from a grid using javascript

But if a have one or more rows thas are enabled, the header of the colunm turn uncheked ....

I read some post about this problem but they are old (2008)...i have the same problem in 2012...
What'a the solution ? Am i obliged to create a hidden col ?
Have you a recent complete example ?

Thank of for your help and sorry for my english

Anne
Pavlina
Telerik team
 answered on 15 Feb 2012
4 answers
103 views
Hi,
i am creating user control webpart which use radscheduler and loading Panel but its not showing up.
please advise what i am doing wrong.
i can send you code but i am not able to.
Thanks
Ronak
Ronak
Top achievements
Rank 1
 answered on 15 Feb 2012
7 answers
665 views
Hi,

I just bought the RADControls and I have a quick question on the licensing per developer.  I have two development machines; one at home and one in the office.  Will there be any problem with me using the control on both machines?

Thanks
Brian 
Donna
Telerik team
 answered on 15 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?