Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
101 views
We are seeing double rad split bars (only horizontal bars) when using IE 7 and 8/9 in compatibilty mode. Is there any way to fix this problem? I have attached a picture to show the double rad split bar.


Here's the code we're using:

<div style="width:100%;height:100%;" id="divcontent">
            <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="100%" VisibleDuringInit="false">
                <telerik:RadPane ID="RadPane1_Left" runat="server" Scrolling="None">
                    <telerik:RadSplitter ID="RadSplitter2" SplitBarSize="0" runat="server" Orientation="Horizontal" PanesBorderSize="0" BorderSize="0">
                        <telerik:RadPane ID="RadPane1_menu" runat="server" Scrolling="None">
                            <asp:ContentPlaceHolder ID="RecordLockingBar" runat="server">
                            </asp:ContentPlaceHolder>
                            <asp:ContentPlaceHolder ID="ToolbarContent" runat="server">
                            </asp:ContentPlaceHolder>
                        </telerik:RadPane>
                        <telerik:RadSplitBar ID="RadSplitBar3" runat="server" CollapseMode="None" EnableResize="false" CssClass="dcursor" />
                        <telerik:RadPane ID="RadPane1_Left_Top" runat="server">
                            <asp:ContentPlaceHolder ID="FormBodyContent" runat="server">
                            </asp:ContentPlaceHolder>
                        </telerik:RadPane>
                        <telerik:RadSplitBar ID="RadSplitBar2" runat="server" CollapseMode="Backward" />
                        <telerik:RadPane ID="RadPane1" runat="server" Height="300px" Collapsed="True">
                            <asp:ContentPlaceHolder ID="FormFooterContent" runat="server">
                            </asp:ContentPlaceHolder>
                        </telerik:RadPane>
                    </telerik:RadSplitter>                    
                </telerik:RadPane>
                <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Backward" />
                <telerik:RadPane ID="RadPane1_Right" BackColor="#e4eaf6" runat="server" Width="200px">
                    <asp:ContentPlaceHolder ID="FormRightContent" runat="server">
                    </asp:ContentPlaceHolder>
                </telerik:RadPane>
            </telerik:RadSplitter>
        </div>


Any help is appreciated! Thanks!
Dobromir
Telerik team
 answered on 11 Oct 2011
1 answer
100 views
I'm using Telerik RadControls for ASP.NET Ajax 2009, 3, 1208, 35
RadEditor's Image Editor won't save images
I can upload images, but when I try to save changes made in the Image Editor, nothing happens.
<telerik:RadEditor ID="RadEditor1" runat="server"
 ImageManager-UploadPaths="/images/content/"
 ImageManager-DeletePaths="/images/content/"
 ImageManager-ViewPaths="/images/content/"
 Content='<%# Bind("page_content") %>' Height="600px" Width="780px" ToolbarMode="Default">
</telerik:RadEditor>
Rumen
Telerik team
 answered on 11 Oct 2011
4 answers
204 views
Hello. I'm using RadGrid with detail table and paging. The problem: all detail tables have the same number of pages and items in pager:
<telerik:RadGrid ID="radGridFolders" runat="server" AutoGenerateColumns="False" AllowSorting="True"
    GridLines="None" ShowGroupPanel="False" OnDetailTableDataBind="RadGridFoldersDetailTableDataBind"
    OnNeedDataSource="RadGridFoldersNeedDataSource" OnItemCreated="RadGridFoldersItemCreated"
    AllowPaging="True" PageSize="5">
    <MasterTableView DataKeyNames="EventFolderId">
        <DetailTables>
            <telerik:GridTableView AutoGenerateColumns="false" DataKeyNames="EventId" Width="100%">
                <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="EventFolderId" MasterKeyField="EventFolderId" />
                </ParentTableRelation>
                <Columns>
                    <telerik:GridBoundColumn SortExpression="EventName" HeaderText="Event Name" DataField="EventName"
                        UniqueName="EventName">
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn UniqueName="Action" HeaderText="Action" HeaderStyle-HorizontalAlign="Right">
                        <ItemTemplate>
                            <ul class="actions">
                                <li>
                                    <telerik:RadButton ID="radBtnEventEdit" runat="server" Text="Edit" ButtonType="LinkButton"
                                        ForeColor="#0067be" CausesValidation="False" BorderStyle="None">
                                        <Icon PrimaryIconUrl="../images/img_rename.gif" />
                                    </telerik:RadButton>
                                </li>
                                <li>
                                    <telerik:RadButton ID="radBtnEventDuplicate" runat="server" Text="Duplicate" ButtonType="LinkButton"
                                        ForeColor="#0067be" CausesValidation="False" BorderStyle="None">
                                        <Icon PrimaryIconUrl="../images/img_duplicate.gif" />
                                    </telerik:RadButton>
                                </li>
                                <li>
                                    <telerik:RadButton ID="radBtnEventRemove" runat="server" Text="Remove" ButtonType="LinkButton"
                                        ForeColor="#0067be" CausesValidation="False" BorderStyle="None">
                                        <Icon PrimaryIconUrl="../images/img_remove.gif" />
                                    </telerik:RadButton>
                                </li>
                                <li>
                                    <telerik:RadButton ID="radBtnEventRegional" runat="server" Text="Regional" ButtonType="LinkButton"
                                        ForeColor="#0067be" CausesValidation="False" BorderStyle="None">
                                        <Icon PrimaryIconUrl="../images/img_regional.gif" />
                                    </telerik:RadButton>
                                </li>
                                <li>
                                    <telerik:RadButton ID="radBtnEventView" runat="server" Text="View" ButtonType="LinkButton"
                                        ForeColor="#0067be" CausesValidation="False" BorderStyle="None">
                                        <Icon PrimaryIconUrl="../images/img_view.gif" />
                                    </telerik:RadButton>
                                </li>
                            </ul>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>
            </telerik:GridTableView>
        </DetailTables>
        <Columns>
            <telerik:GridTemplateColumn HeaderText="Event Folder" DataField="EventFolder" UniqueName="EventFolder">
                <ItemTemplate>
                    <table cellspacing="0" width="100%">
                        <tr>
                            <td style="width: 25%">
                                <img src="../images/img_folder_closed.gif" border="0" alt="<%# Eval("EventFolder") %>" />
                            </td>
                            <td style="width: 75%">
                                <%# Eval("EventFolder")%>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
As you can see on screenshot: first detaible is correct: there are 8 records in it, 2 pages. but next table contains only one record, and next is empty. And pagers for both of them show 8 records in 2 pages.
And one more question: is it possible to collapse one row when another is expanding?
Yaroslav
Top achievements
Rank 1
 answered on 11 Oct 2011
4 answers
634 views
I can't seem to add Telerik.Web.UI to a .Net Framework 4 class library. Doesn't appear in the list. It does appear in Recent, in the Add Reference dialog, but when I double click, it says it's not compatible with .Net Framework 4.

I've installed the only .msi I seem to be able to find on my Products page: Telerik.Web.UI_2011_2_915_Dev

What am I missing?
Jerome
Top achievements
Rank 1
 answered on 11 Oct 2011
14 answers
145 views
I am having an issue when trying to edit recurring appointments. Well actually only when selecting "Edit only this occurrence" option. The issue is that the AdvancedEdit form does not show up when I select this option. It does show up fine if I chose "Edit the series" option. Am I supposed to create a brand new form for that purpose? If yes, what Container.Mode should be used in this case? Also, after I am done editing the occurrence, what data should be saved to the database? Will that be considered an exception? Thanks
Ilya
Top achievements
Rank 1
 answered on 11 Oct 2011
8 answers
140 views
Dear Telerik Team,

we have unresolved problem by single value show in the RadChart in according to the next code snippet:

            radChart.ClearSkin();

            radChart.Skin = Skin;

            radChart.SeriesOrientation = ((RadChartEntity)Session[radChart.ID]).Orientation;

            radChart.AutoLayout = true;

           

            radChart.PlotArea.Appearance.Dimensions.Width = 500;

            radChart.ChartTitle.Appearance.Position.AlignedPosition = AlignedPositions.TopLeft;

            radChart.ChartTitle.Appearance.Position.Auto = false;

            radChart.PlotArea.XAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.ShortDate;

            radChart.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 45;

            radChart.PlotArea.XAxis.Appearance.LabelAppearance.CompositionType = LabelItemsCompositionTypes.RowImageText;

            radChart.PlotArea.XAxis.Appearance.LabelAppearance.Position.AlignedPosition = AlignedPositions.Top;

            radChart.Appearance.FillStyle.FillType = FillType.Solid;

            radChart.Appearance.TextQuality = TextQuality.ClearTypeGridFit;

            radChart.Appearance.Border.Visible = false;

            radChart.Legend.Appearance.ItemTextAppearance.MaxLength = 20;

            radChart.Legend.Appearance.Position.AlignedPosition = AlignedPositions.TopRight;

            radChart.ChartTitle.TextBlock.Text = "";

            RadChart2.PlotArea.XAxis.IsZeroBased = false;

            RadChart2.PlotArea.XAxis.AutoScale = true;

We need the AutoScale property turn on, because of very large acceptable values scope on the X-Axis. Can you advice us what is required to do in order to show the values correctly (in case of single value), please?
Let us remark that optimal solution for us appears as centered value which is enclosed by two same time intervals (e.g. one year) , in case of single value.
In all the other cases, the AutoScale property initialized to true works fine.

Thank you in advance.

Kind regards,
SCT
Evgenia
Telerik team
 answered on 11 Oct 2011
1 answer
114 views
hi,

how do i get a element with javascript in radscheduler advanced form (in <div class="rsAdvancedEdit" ...  in ascx) from pagent aspx page... 
Ivana
Telerik team
 answered on 11 Oct 2011
1 answer
87 views
Hi,
On RadScheduler1_DataBound Even i set GroupBy Property like
If(Session["Provider"] != null)
{
If( RadScheduler1.Resources.Count>0)
RadScheduler1.GroupBy="provider";
else
RadScheduler1.GroupBy="";
}
else
{
RadScheduler1.GroupBy="";
}

Now when i mouse over on Appointments this gives me error
n=this.getAppointmentFromDomElement(k); 

n is null.

Can you please tell me the reason and fix of this.

Thanks
Dheeraj
Ivana
Telerik team
 answered on 11 Oct 2011
1 answer
75 views
Hi,

When I use 2 radcomboboxes on the same pages with the same skin; 1 with LoadOnDemand and 1 with static content, they look different. Please see the screenshot below. How can I make them look exactly the same?

<telerik:RadComboBox ID="ddAVPFilter" runat="server" EmptyMessage="Choose AVP Area" 
            AutoPostBack="true" Skin="Sunset">
        <Items>
            <telerik:RadComboBoxItem Text="WNEN" Value="WNEN" ></telerik:RadComboBoxItem>
            <telerik:RadComboBoxItem Text="WNES" Value="WNES"></telerik:RadComboBoxItem>
            <telerik:RadComboBoxItem Text="GBRN" Value="GBRN"></telerik:RadComboBoxItem>
            <telerik:RadComboBoxItem Text="GBRS" Value="GBRS"></telerik:RadComboBoxItem>
        </Items>       
    </telerik:RadComboBox>
  
  
  
    <telerik:RadComboBox ID="ddMgrFilter" runat="server" EmptyMessage="Choose the Manager" 
    AutoPostBack="true" ShowMoreResultsBox="True" ItemRequestTimeout="500"
    EnableVirtualScrolling="true" MarkFirstMatch="False" EnableLoadOnDemand="True"
    AllowCustomText="False" IsCaseSensitive="False" Skin="Sunset" />


Thanks,
Paul
Ivana
Telerik team
 answered on 11 Oct 2011
1 answer
241 views
Hi,
I have a page, that has 2 update panels, first with toolbar and second with tabstrip and multipage, from 1 item of my toolbar a usercontrol is loaded in a dinamically created pageview, this usercontrol has a telerik:combobox and a button. When I click the combobox nothing happens, the combobox don't displays items. The items are static, defined in the sme control.

I paste part of the codes.

Default.aspx (parent page)
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <telerik:RadAjaxPanel ID="ContentPanel" runat="server" Height="100%" Width="100%" EnableAJAX="true" LoadingPanelID="ContentLoading">
                        <telerik:RadTabStrip ID="ContentTabStrip" runat="server" 
                            CausesValidation="False" MultiPageID="ContentMultiPage" SelectedIndex="0" 
                             Width="100%" ShowBaseLine="True">
                            <Tabs>
                            </Tabs>
                        </telerik:RadTabStrip>
                        <telerik:RadMultiPage ID="ContentMultiPage" runat="server" SelectedIndex="0" Height="100%" Width="100%" ScrollBars="Hidden">
                        </telerik:RadMultiPage>
                        </telerik:RadAjaxPanel>
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="MenuBar" />
                    </Triggers>
                </asp:UpdatePanel>

ConfigTemplate.ascx
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ConfigTemplate.ascx.vb" Inherits="ConfigTemplate" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<div style="padding: 5px; font-family: Caibri, Arial; font-size: 9pt; border: 1px solid gray; border-top-width: 0px;">
    Plantillas:
    <telerik:RadComboBox ID="RadComboBox1" runat="server" 
        LoadingMessage="Cargando..." Sort="Ascending">
   <Items>
       <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1"  />
       <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem2" />
       <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem3" />
   </Items>
</telerik:RadComboBox>
    <br /><br />

    <div id="Resultado" runat="server"></div>
    <telerik:RadButton ID="TemplatesCerrar" EnableAjaxSkinRendering="true" runat="server" Text="Cerrar"></telerik:RadButton>
    Se aplicara instantaneamente.
</div>

Is some way to make it work? I'm using 2011 Q2 version of AJAX RadControls
Ivana
Telerik team
 answered on 11 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?