Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 views
Has anyone been able to combine RadMenu and RadScheduler to be able to right click on a day and pop a RadMenu that allows the user to choose what type of appt they would like to create?  Is this even possible to combine ContextMenu with the control? 

Otherwise could a toolbar be created above that would create appts based on an external button or something outside of RadScheduler.  I'm thinking of how I could avoid the advanced form to create appt types preloaded with resource and attribute values.

Thanks in advance.
Doug
Doug Odegaard
Top achievements
Rank 2
 answered on 22 Feb 2008
2 answers
130 views
Does anyone know how to prevent text from wrapping in the grid?  I have statically sized all column widths, and I'd like to keep the text in this width, perhaps showing a ... if there is overflow.

Thanks!
Sean Eby
Top achievements
Rank 1
 answered on 21 Feb 2008
1 answer
179 views
Is it possible to select the default value of a RadComboBox placed inside a GridView? It would be similar to this but not using the RadGrid control.

http://www.telerik.com/DEMOS/ASPNET/Prometheus/ComboBox/Examples/Functionality/ComboInGrid/DefaultCS.aspx

When I try using the above example, I get a 'Selection out of range' error.

Thanks,
Tim
Tony
Top achievements
Rank 2
 answered on 21 Feb 2008
2 answers
118 views
I have a basic form set up (see below) which uses the RadSplitter, however the source code it produces fails the XHTML validation service on http://validator.w3.org/check.

Will this be resolved soon?
Thanks.

<%

@ Page Language="VB" %>

<!

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<

script runat="server">

</

script>

<

html xmlns="http://www.w3.org/1999/xhtml">

<

head runat="server">

<title>Untitled Page</title>

</

head>

<

body>

<form id="form1" runat="server">

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

</telerik:RadScriptManager>

<div>

<telerik:RadSplitter ID="RadSplitter1" runat="server">

<telerik:RadPane ID="RadPainTop" runat="server">

<telerik:RadSlidingZone ID="RadSlidingZone1" runat="server">

<telerik:RadSlidingPane ID="PaneAdd" Title="Add" runat="server">

Content

</telerik:RadSlidingPane>

</telerik:RadSlidingZone>

</telerik:RadPane>

</telerik:RadSplitter>

</div>

</form>

</

body>

</

html>

Tsvetie
Telerik team
 answered on 21 Feb 2008
1 answer
194 views
i am using the Prometheus controls and the ComboBox and Can't seem to find where i can Edit the Current WebBlue Css page.  i have a ComboBox folder under the RadControls folder in my root directory as follows:

RadControls/ComboBox/Skins/WebBlue/Styles.css 
that file doesnt seem to do anything. i change it and nothing happens.  i Tried doing the EnableEmbeddedSkins = false and that didn't work.  i just want to show the Text OnHover to red. 

i also tried placing a folder in the main directory as followes:
Skins/ComboBox/Skins/WebBlue/Styles.css  and that didnt work.  again, im using the prometheus controls.  Thanks in advanced!!!

Cay
Simon
Telerik team
 answered on 21 Feb 2008
6 answers
238 views
If I bind a generic List of my business objects (which implement ICloneable)
why is it that when the list is bound, it binds a myObject.Clone() to the list instead of the actual object?

Is there a way to disable this functionality?
Your docs say DataSource behaves the same. asp.net Datagrids do not do this.
Timothy Robbins
Top achievements
Rank 1
 answered on 21 Feb 2008
1 answer
262 views
I have a UserControl that contains a Prometheus RadChart inside of it, that is loaded dynamically when a user drags a TreeNode from a RadTreeView. The UserControl is inside of the right side of a RadSplitter while the Tree is on the left. When the UserControl is created it is displayed over the top of the TreeView's pane. Changing the Z-index and the relative position inside of the css doesn't seem to have any effect, am I missing something?

The code for the Default Webpage is :

<body style="height:100%;width:100%;margin:0px;padding:0; overflow: hidden;">

<form id="form1" runat="server" style="width:100%;height:100%;margin:0;border-spacing:0;overflow:hidden;">

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">

</telerik:RadStyleSheetManager>

<telerik:RadScriptManager ID="RadScriptManager" runat="server"

EnablePageMethods="True">

</telerik:RadScriptManager>

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"

height="100%" MinDisplayTime="1000" width="100%">

<img alt="Loading..." src="Images\loading.gif"

style="border-style: none; border-color: inherit; border-width: 0px; height: 65px; width: 121px; vertical-align: middle; text-align: center;" />

</telerik:RadAjaxLoadingPanel>

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"

DefaultLoadingPanelID="RadAjaxLoadingPanel1">

<AjaxSettings>

<telerik:AjaxSetting AjaxControlID="PerformanceTreeView">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" />

</UpdatedControls>

</telerik:AjaxSetting>

</AjaxSettings>

</telerik:RadAjaxManager>

<div>

<telerik:RadSplitter ID="HeaderSplitter" runat="server" Orientation="Horizontal" ResizeWithBrowserWindow="true" ResizeWithParentPane="true" Height="100%" Width="100%" ResizeMode="AdjacentPane" FullScreenMode="True" Skin="Vista" Scrolling="Node">

<telerik:RadPane ID="HeaderRadPane" runat="server" Scrolling="None" Height="22px">

<telerik:RadSlidingZone ID="HeaderSlideZone" runat="server" Scrolling="None" Height="18px">

<telerik:RadSlidingPane ID="HeaderSlidePane" runat="server" Height="120px" Scrolling="None" Title="Home" Width="282px">

<fpi:FPIHeader ID="PageHeaderControl" runat="server" />

</telerik:RadSlidingPane>

</telerik:RadSlidingZone>

</telerik:RadPane>

<telerik:RadSplitBar ID="PageSplitterBar" runat="server"/>

<telerik:RadPane ID="DataPane" runat="server" Scrolling="None">

<telerik:RadSplitter ID="DataPaneSplitter" Runat="server" ResizeWithParentPane="true" Height="100%" Items-Capacity="0" Orientation="Vertical" ResizeMode="AdjacentPane" Skin="Vista" SplitBarsSize="" Width="100%">

<telerik:RadPane ID="DataTreePane" runat="server" Width="22px" Scrolling="None">

<telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" Width="22px">

<telerik:RadSlidingPane ID="PerformanceZone" runat="server" Title="Performance" Width="160px">

<telerik:RadTreeView ID="PerformanceTreeView" Runat="server" EnableDragAndDrop="True" LoadingStatusPosition="BeforeNodeText" Skin="Telerik" SkinID="Vista" onnodedrop="PerformanceTreeView_NodeDrop">

<CollapseAnimation Duration="100" Type="OutQuint" />

<ExpandAnimation Duration="100" Type="OutQuart" />

<DataBindings>

<telerik:RadTreeNodeBinding ImageUrlField="Image" />

</DataBindings>

</telerik:RadTreeView>

</telerik:RadSlidingPane>

<telerik:RadSlidingPane ID="ReportsZone" runat="server" Title="Reports" Width="160px">

<telerik:RadDatePicker ID="RadDatePicker1" Runat="server">

</telerik:RadDatePicker>

</telerik:RadSlidingPane>

<telerik:RadSlidingPane ID="MVZone" runat="server" Title="MV Data" Width="160px">

</telerik:RadSlidingPane>

<telerik:RadSlidingPane ID="MyReportsZone" runat="server" Title="My Reports" Width="160px">

</telerik:RadSlidingPane>

</telerik:RadSlidingZone>

</telerik:RadPane>

<telerik:RadSplitBar ID="DataPaneSplitBar" runat="server" CollapseMode="Backward"/>

<telerik:RadPane CssClass="slide-panes" ID="ReportPane" runat="server" Height="100%" Scrolling="None" Width="100%">

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="100%" width="100%">

<asp:Panel CssClass="slide-panes" ID="Panel1" runat="server" Width="100%" Height="100%" ScrollBars="None"/>

</telerik:RadAjaxPanel>

</telerik:RadPane>

</telerik:RadSplitter>

</telerik:RadPane>

</telerik:RadSplitter>

</div>

</form>

</body>



The User Control is :

<%

@ Control Language="C#" AutoEventWireup="true" CodeFile="LineReportControl_2.ascx.cs" Inherits="LineReportControl" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<%

@ Register assembly="Telerik.Charting, Version=1.7.1.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763" namespace="Telerik.Charting" tagprefix="telerik" %>

<

div style="width:100%;height:100%; position: relative; overflow: hidden; z-index:-1;" >

<

asp:Panel ID="OptionPanel" runat="server" Width="100%" Height="22px">

<table style="width:100%; position: relative;">

<tr>

<td width="160px">

<telerik:RadDatePicker ID="RadDatePicker11" Runat="server"

Culture="English (United States)">

<DateInput runat="server" Width="100%">

</DateInput>

<Calendar runat="server" CellAlign="Center" CellVAlign="Middle" DayNameFormat="FirstLetter"

FirstDayOfWeek="Default" MonthLayout="Layout_7columns_x_6rows"

Orientation="RenderInRows" TitleAlign="Center"

UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False">

</Calendar>

</telerik:RadDatePicker>

</td>

<td width="160px">

<telerik:raddatepicker ID="EndPicker" runat="server"></telerik:raddatepicker>

</td>

<td>

&nbsp;

</td>

</tr>

</table>

</asp:Panel>

<telerik:RadChart ID="ReportLineChart" runat="server"

Skin="Vista" DefaultType="Line" Height="400px" Width="600px"

ChartImageFormat="Jpeg">

<legend>

<appearance border-color="" dimensions-margins="1px, 1%, 10%, 1px">

<itemtextappearance textproperties-color="86, 88, 89">

</itemtextappearance>

<itemmarkerappearance figure="Rectangle">

</itemmarkerappearance>

<fillstyle maincolor="">

</fillstyle>

</appearance>

<textblock>

<appearance position-alignedposition="Top" textproperties-color="86, 88, 89">

</appearance>

</textblock>

</legend>

<plotarea>

<xaxis>

<appearance color="134, 134, 134" majortick-color="134, 134, 134">

<majorgridlines color="196, 196, 196" visible="False" />

<textappearance textproperties-color="89, 89, 89">

</textappearance>

</appearance>

<axislabel>

<appearance dimensions-paddings="1px, 1px, 10%, 1px">

</appearance>

<textblock>

<appearance textproperties-color="51, 51, 51">

</appearance>

</textblock>

</axislabel>

</xaxis>

<yaxis>

<appearance color="134, 134, 134" majortick-color="196, 196, 196"

minortick-color="196, 196, 196">

<majorgridlines color="196, 196, 196" />

<minorgridlines color="196, 196, 196" visible="False" />

<textappearance textproperties-color="89, 89, 89">

</textappearance>

</appearance>

<axislabel>

<textblock>

<appearance textproperties-color="220, 158, 119">

</appearance>

</textblock>

</axislabel>

</yaxis>

<appearance border-color="WhiteSmoke" dimensions-margins="19%, 90px, 12%, 9%">

<fillstyle maincolor="Transparent" secondcolor="Transparent">

</fillstyle>

</appearance>

</plotarea>

<series>

<telerik:ChartSeries Name="Series 1" Type="Line">

<appearance border-color="">

<fillstyle maincolor="186, 207, 141" secondcolor="146, 176, 83">

<fillsettings gradientmode="Vertical">

<complexgradient>

<telerik:GradientElement Color="213, 247, 255" />

<telerik:GradientElement Color="193, 239, 252" Position="0.5" />

<telerik:GradientElement Color="157, 217, 238" Position="1" />

</complexgradient>

</fillsettings>

</fillstyle>

<textappearance textproperties-color="89, 89, 89">

</textappearance>

</appearance>

</telerik:ChartSeries>

<telerik:ChartSeries Name="Series 2" Type="Line">

<appearance border-color="">

<fillstyle maincolor="235, 140, 104" secondcolor="214, 110, 90">

<fillsettings gradientmode="Vertical">

<complexgradient>

<telerik:GradientElement Color="218, 254, 122" />

<telerik:GradientElement Color="198, 244, 80" Position="0.5" />

<telerik:GradientElement Color="153, 205, 46" Position="1" />

</complexgradient>

</fillsettings>

</fillstyle>

<textappearance textproperties-color="89, 89, 89">

</textappearance>

</appearance>

</telerik:ChartSeries>

</series>

<appearance border-color="212, 221, 222"

corners="Round, Round, Round, Round, 7">

<fillstyle filltype="ComplexGradient">

<fillsettings>

<complexgradient>

<telerik:GradientElement Color="243, 253, 255" />

<telerik:GradientElement Color="White" Position="0.5" />

<telerik:GradientElement Color="243, 253, 255" Position="1" />

</complexgradient>

</fillsettings>

</fillstyle>

</appearance>

<charttitle>

<appearance border-visible="False" dimensions-margins="3%, 1px, 1px, 6%">

<fillstyle maincolor="">

</fillstyle>

</appearance>

<textblock text="Report Data">

<appearance textproperties-color="86, 88, 89"

textproperties-font="Verdana, 22px">

</appearance>

</textblock>

</charttitle>

</telerik:RadChart>

</div>



Both the DateTimePickers and the chart appear on top of the DataTreePane, any help would be appreciated. Thank you
Tsvetie
Telerik team
 answered on 21 Feb 2008
3 answers
124 views
I have a RadGrid then when an item is clicked, updates a panel.  That works great.  I then added a delete button and want that to update both the RadGrid and the panel when clicked.  That works great.  However, now the RadGrid updates itself when an item is clicked.  I have the following in my RadAjaxManagerProxy tag:

<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="rgTabConfig">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="DetailPanel" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    <telerik:AjaxUpdatedControl ControlID="Buttons" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="btnDelete">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="DetailPanel" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    <telerik:AjaxUpdatedControl ControlID="rgTabConfig" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManagerProxy> 

I have not specified rgTabConfig as an AjaxUpdatedControl for the first AjaxSetting, so why does it update?

Thanks,
Scott
Iana Tsolova
Telerik team
 answered on 21 Feb 2008
3 answers
196 views
Hi,

We are using the full version of the MOSS editor. We have installed it successfully using the Site Scope from the "Change Rad Editor features Scope" Section of the documentation and we have also changed to medium trust in the web.config.

Everything on the editor works except for the ImageManager and Document manager (and probably the others that upload) which throws an error:

[SPException: "/_catalogs/" contains reserved name. Please try another one.]
   Microsoft.SharePoint.SPGlobal.ValidateWebName(String strWebName, Boolean bAcceptLeadingTrailingSlash) +601
   Microsoft.SharePoint.SPSite.OpenWeb(String strUrl, Boolean requireExactUrl) +70
   Microsoft.SharePoint.SPSite.OpenWeb(String strUrl) +61
   Telerik.SharePoint.Editor.SPContentProvider.GetSPFolderFromPath(String path) +326
   Telerik.SharePoint.Editor.SPContentProvider.ResolveDirectory(String path) +17
   Telerik.SharePoint.Editor.SPContentProvider.ResolveRootDirectoryAsTree(String path) +10
   Telerik.WebControls.RadEditorUtils.FileBrowserContentProvider.ResolveViewPaths() +98
   Telerik.WebControls.EditorControls.FileBrowser.SerializeViewPaths() +102
   Telerik.WebControls.EditorControls.FileBrowser.OnPreRender(EventArgs e) +249
   System.Web.UI.Control.PreRenderRecursiveInternal() +118
   System.Web.UI.Control.PreRenderRecursiveInternal() +239
   System.Web.UI.Control.PreRenderRecursiveInternal() +239
   System.Web.UI.Control.PreRenderRecursiveInternal() +239
   System.Web.UI.Control.PreRenderRecursiveInternal() +239
   System.Web.UI.Control.PreRenderRecursiveInternal() +239
   System.Web.UI.Control.PreRenderRecursiveInternal() +239
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3681


Thanks for any help.
Notocord
Top achievements
Rank 1
 answered on 21 Feb 2008
1 answer
188 views
How do I set the RadDatePicker culture in code-behind?

Best regards,
LarsM
Lars Melkevik
Top achievements
Rank 1
 answered on 21 Feb 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?