Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
99 views
Hi,
i wrote this code radmanu:

<telerik:RadMenu ID="RadMenu1" Runat="server" EnableRoundedCorners="True"
  OnItemClick="RadMenu1_ItemClick"
  EnableShadows="True" Skin="Office2010Silver"
  style="top: 0px; left: 0px" Height="30px" Width="940px">                                                      
     <Items>
         <telerik:RadMenuItem runat="server" Font-Names="Verdana" Font-Size="Small"
         Text="Immagine profilo" Owner="RadMenu1">
     <Items>
         <telerik:RadMenuItem runat="server" Font-Names="Verdana"
         ImageUrl="~/Image/Icone/kuser.png" Owner="" Text="Nuova immagine">
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" Font-Names="Verdana"
         ImageUrl="~/Image/Icone/delete.png" Owner="" Text="Elimina immagine">
         </telerik:RadMenuItem>
     </Items>
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" IsSeparator="True"
             Text="Root RadMenuItem13" Owner="RadMenu1">
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" Font-Names="Verdana" Font-Size="Small"
         Text="Sfondo biglietto">
             <Items>
                 <telerik:RadMenuItem runat="server" Font-Names="Verdana"
                     ImageUrl="~/Image/Icone/lphoto.png" Owner="" Text="Nuovo sfondo" Value="3"
                     Width="180px">
                 </telerik:RadMenuItem>
                 <telerik:RadMenuItem runat="server" Font-Names="Verdana"
                     ImageUrl="~/Image/Icone/delete.png" Owner="" Text="Elimina sfondo" Value="4"
                     Width="180px">
                 </telerik:RadMenuItem>
             </Items>
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" IsSeparator="True" Owner="RadMenu1"
         Text="Root RadMenuItem4">
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" Font-Names="Verdana"
         Font-Size="Small" Text="I miei preferiti" Enabled="False">
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" IsSeparator="True"
         Text="Root RadMenuItem13">
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" Font-Names="Verdana" Font-Size="Small"
         Text="Invita un amico" Owner="RadMenu1">
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" IsSeparator="True" Text="Root RadMenuItem6"
         Owner="RadMenu1">
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" Font-Names="Verdana" Font-Size="Small"
         Text="Modifica password" Owner="RadMenu1">
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" IsSeparator="True"
         Text="Root RadMenuItem8">
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" Font-Names="Verdana" Font-Size="Small"
         Text="Elimina account">
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" IsSeparator="True" Owner="RadMenu1"
             Text="Root RadMenuItem10">
         </telerik:RadMenuItem>
         <telerik:RadMenuItem runat="server" Font-Names="Verdana" Font-Size="Small"
             Owner="RadMenu1" Text="Esci da Trycontact">
         </telerik:RadMenuItem>
     </Items>
     <ExpandAnimation Type="OutBack" />
 </telerik:RadMenu>

and this radmenu is located in a Div with css and this code:

.divmenuprofile
{
   width:964px;
   height: 35px;
   text-align:center;
   padding-left:23px;
   padding-top:8px;
   border: 1px solid #D5842B;
   background: #cccccc; /* opera */
   background: -webkit-gradient(linear, top, bottom, from(#cccccc), to(#ffffff)); /* chrome e safari4+ */
   background: -webkit-linear-gradient(top, #cccccc, #ffffff); /* Chrome 10+ e safari6 */
   background: -moz-linear-gradient(top#cccccc#ffffff); /* firefox 3.6+ */
   background: linear-gradient(top, #cccccc, #ffffff);
   filter: progid:DXImageTransform.Microsoft.gradient(GradientType = 0,startColorstr='#cccccc', endColorstr='#ffffff'); /*  IE 5.5-7*/
   -ms-filter: 'progid:DXImageTransform.Microsoft.gradient(GradientType = 0,startColorstr='#cccccc', endColorstr='#ffffff')'; /*  IE 8*/
   border-radius: 8px;
   -moz-border-radius: 8px;
   -khtml-border-radius: 8px;
   -webkit-border-radius: 8px;
   behavior: url(/App_Themes/TryCss/PIE.htc);
}

i posted two image. One there's radmenu with google chrome and good view and another with IE9 and the style is differente no good, why and and how can I solve the problem?


MasterChiefMasterChef
Top achievements
Rank 2
 answered on 16 Apr 2013
1 answer
100 views
I just upgraded to 2013.1.403.40, and i have what seems like a bug.  In many places i use a radgrid and create a hidden databoundcolumn like this:

<telerik:GridBoundColumn UniqueName="UpdateProfileActionID"     DataField="UpdateProfileActionID"   Visible="false"/>

And i've always been able in my code-behind to access this value.  This allows me to pass around hidden ID fields usually that can be passed into an edit or delete command without having to make the column visible to the user.  After the 2013.1.403.40 upgrade these values in my code-behind are blank well, "&nbsp;". 

1. is this intended behavior
2. is there a way to make this work like it did before?

I've confirmed that my code behind values are fine when i remove the Visible="false" flag.  So if the column is visible then i can access it in the code-behind.  I the column isn't visible then the value is &nbsp;.

I've now already found two places where this has caused me a problem since upgrading and i'm scared how many other places i'm probably doing this that i haven't found yet.

Thanks!
-Mark
Mark Kucera
Top achievements
Rank 1
 answered on 16 Apr 2013
0 answers
104 views
Hi,

I am using telerik radGrid for binding the data. I am using telerik:GridDropDownColumn so that in edit template I can update few columns.
I have two dropdowns displaying weeks("ddlWeeks" & ddlTotalWeeks) (text format: 1- 10/11/2013,2-10/12/2013...., values are: 1,2..). Second one is a text box which can be filled by user. Now when any date selected from dropdown "ddlWeeks", I am getting its values say "2" and adding it to textbox value say "2". So sum is "4", and now I want to select date in dropdown "ddlTotalWeeks" which is in same format as that of "ddlWeeks". how can select value in dropdown "ddlTotalWeeks", selected value should be sum of "ddlWeeks.SelectedValue+textboxdays".
I want to use 'ddlWeeks" on change client side event (it is working fine). On this event I want to set dropdownTotalWeeks values. Main problem how I can set the value in client side code telerik:GridDropDownColumn.
sarbjit
Top achievements
Rank 1
 asked on 16 Apr 2013
1 answer
155 views
Hi Team,

Is it possible to Get the Bowtie Chart using Telerik controls,

If possible please Guide me from Basics.
find the attachment for reference.

Thanks in advance.

MasterChiefMasterChef
Top achievements
Rank 2
 answered on 16 Apr 2013
10 answers
199 views
Hi,

I have one requirement. I want to highlight the days which has schedule events on RadScheduler's navigation panel. Could you give me some comments? Is there any event which I could use on navigation panel drop icon click?

Alex
Boyan Dimitrov
Telerik team
 answered on 16 Apr 2013
5 answers
421 views
Hi,

I'm using a radgrid with custom paging & custom sorting. Custom sorting by clicking on headers works fine except that when I right click on the header and use the context menu to sort columns, it sorts them with natural sort and does not invoke my OnSortCommand server side callback. 

<telerik:RadGrid ID="SearchResultGrid"
        AllowPaging="True" AllowCustomPaging="true" EnableViewState="True" AllowFilteringByColumn="False"
        AllowSorting="true" AllowNaturalSort="false" AllowCustomSorting="true" OnSortCommand="SearchResultGrid_OnSort"
        AutoGenerateColumns="False" runat="server" PageSize="20"
        EnableLinqExpressions="false" EnableAJAX="false" ItemStyle-Wrap="false" AlternatingItemStyle-Wrap="false" ...>
    <HeaderContextMenu OnItemClick="HeaderContextMenu_ItemClick" OnItemCreated="HeaderContextMenu_ItemCreated"
            OnPreRender="HeaderContextMenu_PreRender">
        <CollapseAnimation Duration="200" Type="OutQuint" />
    </HeaderContextMenu>
    ...

How can I make the header context menu sorting use custom sorting?
Rob
Top achievements
Rank 1
 answered on 16 Apr 2013
1 answer
89 views
Hi,

I have created a menu with menu items and further sub menu items under them.

Example:

   
<telerik:RadMenu ID="RadMenu1" runat="server" EnableRoundedCorners="true" EnableShadows="true"   >
<Items>
        <telerik:RadMenuItem Text="File" AccessKey="F" >
        <Items>
               <telerik:RadMenuItem ImageUrl="~/Images/Address1.bmp" Text="Add"   />
               <telerik:RadMenuItem ImageUrl="~/Menu/Images/12open.gif" Text="Open" />
        </Items>
        </telerik:RadMenuItem>
        <telerik:RadMenuItem Text="Edit" AccessKey="E">
        <Items>
              <telerik:RadMenuItem ImageUrl="~/Menu/Images/11new.gif" Text="Cut" />
              <telerik:RadMenuItem ImageUrl="~/Menu/Images/12open.gif" Text="Copy" />
         </Items>
         </telerik:RadMenuItem>
</Items>
</telerik:RadMenu>

I would like to add OnClientItemClicked only for the sub menu items like Add, Open, Cut and Copy but not for the main menu items like File and Edit. When I add the OnClientItemClicked to the RadMenu, it disables the properties of the menu. Any help will be appreciated.

Thanks,
Meera


Boyan Dimitrov
Telerik team
 answered on 16 Apr 2013
1 answer
73 views
I can't use "<qsf:.... />" in my webpage.
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
help me.
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 16 Apr 2013
9 answers
124 views
I upgraded a project to Q12013 and the first thing I noticed is my RadTreeView nodes are now displaying in blue where before they were black.  I can iterate through all nodes and change them to black but is there anywhere to set this globally?
Andrew Dorfman
Top achievements
Rank 1
 answered on 16 Apr 2013
5 answers
115 views
Hi,
  I just saw the new updates to RadAsynUpload Component. I love it. The only addition I wish to make to it is to call my own upload mechanism. Here is the case:

1) User Uploads 1 or many files.
2) Calls my own upload mechanism.
3) Use the progress bar for 1 or many files from Telerik. 
2) As the file completes I want to add additional fields like description and Date.
3) Finally save the data to sql server.

Any help would greatly be appreciated.

Thanks,
Amin
Plamen
Telerik team
 answered on 16 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?