Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
87 views
Is there a way to trigger a client-side refresh to have the splitter re-calc its size?

I have it nested in a jQuery splitter, and so the resize timings are a bit off it seems.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
 answered on 11 Oct 2011
15 answers
380 views
Per "Using RadSkinManager for applying custom skins" section of http://www.telerik.com/help/aspnet-ajax/radskinmanager.html

I'm just using RadSkinManager (not using RadStyleSheetManager) and I've added 4 custom skins. They work great except for Radwindows. I have to manually add in the css in my page base class like so:

 

Dim CSSRadWindowFix As New HtmlLink
CSSRadWindowFix.Href = strPath & "RadSkins/" & Skin & "/Window." & Skin & ".css"
CSSRadWindowFix.Attributes.Add("rel", "Stylesheet")
CSSRadWindowFix.Attributes.Add("type", "text/css")
CSSRadWindowFix.Attributes.Add("media", "all")
Page.Header.Controls.Add(CSSRadWindowFix)

so that the RadWindow shows correctly. Without my fix the radwindows do open up with expected content but no borders or icons on the actual radwindow so it's just a CSS problem and I believe it's the RadSkinManager not including the CSS for Window.SKINNAME.css

I have RadMenu, RadGrid, and RadFormDecorators on the same page and all work and show correctly.
Not a big deal for me as I found a way around it (thanks to using a base page class) but I think this is a bug in RadSkinManager.

Here is the RadSkinManager in my page:
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ><Skins><telerik:SkinReference Path="/RadSkins" /></Skins></telerik:RadSkinManager>

My users can select a skin for the site and I set that in the page load
Me.RadSkinManager1.Skin = CurrentUser.Skin

Again, RadGrid, Menu, FormDecorator all work and show correctly.
Cradz
Top achievements
Rank 1
 answered on 11 Oct 2011
3 answers
81 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
61 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
152 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
524 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
118 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
112 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
84 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
66 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
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?