Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
187 views
Can the submenu colors be set to different colors based on the parent menu item selected. In the example below we would like to be able to have a blue background color for the submenu of the 1st menu item, a red background for the submenu of the 2nd item, etc... We are using a slightly modified version of the default 2006 skin. It would be nice if there was a groupsettings-cssclass property.


 <telerik:radmenu id="RadMenu1" runat="server" flow="Vertical" skin="AdisseoBiz" 
                            onclientitempopulating="itemPopulating" borderwidth="0px" borderstyle="None" 
                            backcolor="#A5001E" width="200px" enableembeddedskins="false">  
                        <WebServiceSettings Path="getProducts.asmx" Method="GetMenuCategories" /> 
                        <DefaultGroupSettings Flow="Vertical" ExpandDirection="Right" /> 
                        <Items> 
                            <telerik:RadMenuItem ImageUrl="~/images/v3_main_04.gif" /> 
                            <telerik:RadMenuItem ImageUrl="~/images/v3_btn_Microvit.gif" HoveredImageUrl="~/images/v3_btn_MicrovitOver.gif"   
                                Value="1" ExpandMode="WebService" runat="server" ToolTip="Microvit">  
                                    <GroupSettings ExpandDirection="Auto" Flow="Vertical" /> 
                            </telerik:RadMenuItem> 
                            <telerik:RadMenuItem ImageUrl="~/images/v3_btn_Rhodimet.gif" HoveredImageUrl="~/images/v3_btn_RhodimetOver.gif"   
                                Value="2" ExpandMode="WebService" runat="server" ToolTip="Rhodimet" > 
                                    <GroupSettings ExpandDirection="Auto" Flow="Vertical" /> 
                            </telerik:RadMenuItem> 
                            <telerik:RadMenuItem ImageUrl="~/images/v3_btn_Rovabio.gif" HoveredImageUrl="~/images/v3_btn_RovabioOver.gif"   
                                Value="3" ExpandMode="WebService" runat="server" ToolTip="Rovabio">  
                                    <GroupSettings ExpandDirection="Auto" Flow="Vertical" /> 
                            </telerik:RadMenuItem> 
                            <telerik:RadMenuItem ImageUrl="~/images/v3_btn_Smart.gif" HoveredImageUrl="~/images/v3_btn_SmartOver.gif"   
                                Value="4" ExpandMode="WebService" runat="server" ToolTip="Smartamine">  
                                    <GroupSettings ExpandDirection="Auto" Flow="Vertical" /> 
                            </telerik:RadMenuItem> 
                        </Items> 
                        <CollapseAnimation Duration="200" Type="OutQuint" /> 
                        <ExpandAnimation Type="OutQuart" /> 
                    </telerik:radmenu> 
Peter
Telerik team
 answered on 16 Feb 2010
1 answer
100 views
Having an issue using ie8 with custom skin. On a prior post, I was asked to insert this code into head of document

 

<!--[if gte IE 8]>

 

<style type="text/css">

.RadComboBox { display: inline-block !important; }

div.rcbSlide { padding: 0 2px 2px 0; }

div.rcbSlide div { margin: 2px 0 0 2px; }

div.rcbSlide div div { margin: auto; }

</style>

<![endif]-->

 


combo box still doesn't render correctly. Build 2008 02

I need to use this build because of some othere issues.

Thanks
Thomas

PS here is the control code that is on the page.

<

 

telerik:RadComboBox CssClass="RadComboBox" Skin="Purple" EnableEmbeddedSkins="false"

 

 

ID="RadComboBox1" runat="server">

 

 

<Items>

 

 

<telerik:RadComboBoxItem Text="Test" />

 

 

</Items>

 

</

 

telerik:RadComboBox>

 


Kamen Bundev
Telerik team
 answered on 16 Feb 2010
4 answers
215 views
Hi,

   We are trying to implement a drag and drop functionality in our web application. I am just curious is there a way to drag the folders\files in the desktop of a windows PC to our web application. If this is not directly possible, Is there a way we can assign a folder
path to tree view\grid in side our web path. so that we can simulate this with in our web app.

Thanks & Regards,
Karthik.
Vesko
Top achievements
Rank 2
 answered on 16 Feb 2010
0 answers
62 views
Disregrad please


Nick Keefe
Top achievements
Rank 1
 asked on 16 Feb 2010
5 answers
434 views
Hi
I am making use of a Radcombobox inside a Radgrid during Edit mode. I get this problem when I have different values for the
DataValueField and DataTextField. When I make use of the same valeus for both, I don't get the error and the Radcombobox is geting populated.

 

<telerik:RadComboBox ID="CbAircraftModelType" runat="server" Skin="Black"   
                            SelectedValue='<%# Bind("modelTypeName") %>' EmptyMessage=" Select Aircraft Type"                             
                            HighlightTemplatedItems="True" DataTextField="modelTypeName" DataValueField="modelTypeId" 
                            EnableTextSelection="False" DataSourceID="SqlDataSource_AircraftType"   
                            OnClientSelectedIndexChanged="cb_OnClientSelectedIndexChanged" /> 

I am making use of a SqlDataSource to populate the Radcombobox.
<asp:SqlDataSource ID="SqlDataSource_AircraftType" runat="server"   
                    ConnectionString="<%$ ConnectionStrings:AvengeConnectionString %>"   
                 SelectCommand="select modelTypeName,modelTypeId from Avenge.dbo.AircraftModelType ">  
            </asp:SqlDataSource> 
I don't have any code for working with this in the code-behind.

This is the error that I am getting:
Selection out of range  
Parameter name: value   
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.   
 
Exception Details: System.ArgumentOutOfRangeException: Selection out of range  
Parameter name: value  
 
Source Error:   
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.    
 
Stack Trace:   
 
 
[ArgumentOutOfRangeException: Selection out of range  
Parameter name: value]  
   Telerik.Web.UI.RadComboBox.PerformDataBinding(IEnumerable dataSource) +172  
   Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data) +39  
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31  
   Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e) +102  
   Telerik.Web.UI.RadComboBox.PerformSelect() +37  
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73  
   System.Web.UI.Control.DataBindChildren() +211  
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102  
   System.Web.UI.Control.DataBind() +15  
   System.Web.UI.Control.DataBindChildren() +211  
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102  
   System.Web.UI.Control.DataBind() +15  
   System.Web.UI.Control.DataBindChildren() +211  
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102  
   System.Web.UI.Control.DataBind() +15  
   System.Web.UI.Control.DataBindChildren() +211  
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102  
   System.Web.UI.Control.DataBind() +15  
   System.Web.UI.Control.DataBindChildren() +211  
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102  
   System.Web.UI.Control.DataBind() +15  
   System.Web.UI.Control.DataBindChildren() +211  
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102  
   System.Web.UI.Control.DataBind() +15  
   System.Web.UI.Control.DataBindChildren() +211  
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102  
   System.Web.UI.Control.DataBind() +15  
   System.Web.UI.Control.DataBindChildren() +211  
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102  
   System.Web.UI.Control.DataBind() +15  
   System.Web.UI.Control.DataBindChildren() +211  
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +102  
   System.Web.UI.Control.DataBind() +15  
   Telerik.Web.UI.GridEditFormItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows) +387  
   Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group) +979  
   Telerik.Web.UI.GridTableView.CreateItems(IEnumerator enumerator, GridColumn[] columns, ControlCollection controls) +187  
   Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +1573  
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +782  
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +57  
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +114  
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31  
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142  
   Telerik.Web.UI.GridTableView.PerformSelect() +28  
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73  
   Telerik.Web.UI.GridTableView.DataBind() +351  
   Telerik.Web.UI.GridTableView.Rebind() +98  
   Telerik.Web.UI.GridCommandEventArgs.ExecuteCommand(Object source) +395  
   Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e) +191  
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37  
   Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) +165  
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37  
   System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +118  
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +135  
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10  
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13  
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175  
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565  
 
   
 
Hope someone will be able to help me with this.

Thanks.
Amirtha S
Top achievements
Rank 1
 answered on 16 Feb 2010
6 answers
105 views
how to enable the drag facility for an appointment in server side with out making the allowedit is false
Andy
Top achievements
Rank 1
 answered on 16 Feb 2010
4 answers
148 views
Hi,
    I have a webpage with a RadGrid control (with 5 columns) and a button.
column2, column3 and column4 are combo boxes tied up with data. I want to populate the column1 with a value only when I click the button.

I inserted the following piece of code in the button click event to populate the value into the column1 of the radgrid, but did not work.

Private Sub btnAssignAccessionNumbers_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnAssignAccessionNumbers.Click

 

 

 

 

    RadGrid1.Items(0).Cells(0).Text =

"M123"

 

 

 

 

 

End Sub

 

Please let me know the correct syntax/procedure to update column cells when I click the button. Also how to modify the radgrid cells programatically.

Thank you,
Mahita

 

 

 

Mahita Ande
Top achievements
Rank 1
 answered on 16 Feb 2010
7 answers
247 views
Hi,

We have problems with the appearance of the RadColorPicker Colorpalette
The Pagelayout is a 3 Row Layout with a 2 Column Layout in the Center. In the Laft Pane we have a RadDockLZone (width ~250 height ~500) with several RadDocks. So the Left side loocks a little bit like acdordion Panes made by movable RadDocks. In one RadDock we have two Icons to let the User choose a color. But when I click the Icon, the ColorPalette will appear just below the Icon. This results in Scrollbars and in hidden Overflows. What we like to do is that the Colorpicker Palette opens in a DIV above the others div. so that it will not scale the div where the ColorPicker Icon is located.

Do you have any idea ?

thank you Alex.
Tsvetie
Telerik team
 answered on 16 Feb 2010
2 answers
140 views

<telerik:RadEditor ID="RadEditor1" runat="server" OnClientLoad="ClientLoad"  ContentFilters="MakeUrlsAbsolute" >
        <Content></Content>
        </telerik:RadEditor>

C#:
protected void sendbtn_Click(object sender, EventArgs e)
 {   
       RadEditor1.Focus();
}

radeditor doesn't set focus on button click.. function.
i tried client side also. but $find("<%=RadEditor1.ClientID%>") is null.. not an object error is occur...
anyone please help me..
thx.
robertw102
Top achievements
Rank 1
 answered on 16 Feb 2010
1 answer
96 views
<AdvancedForm Modal="true" />
If I use this in Scheduler Control then there is no response when i click option in contextmenu.
just refreshes the page and display the scheduler
Peter
Telerik team
 answered on 16 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?