Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
232 views
The text of some of my menu items runs too long for the dropdown of the RadMenu.  I tried changing the width of RadMenuItem, but it is not what I want.  I have included a picture of the current menu and what I am trying to achieve.

<telerik:RadMenu ID="menu_ProductType" runat="server" Flow="Horizontal" style="z-index: 1" ClickToOpen="true"
onitemclick="menu_ProductType_ItemClick" ExpandDelay="250" AutoScrollMinimumHeight="200" >   
<Items>
<telerik:RadMenuItem Text="Select a product" PostBack="false" >  
<GroupSettings Height="200px" Width="250px" /> 
</telerik:RadMenuItem>
</Items>
</telerik:RadMenu>
Jayesh Goyani
Top achievements
Rank 2
 answered on 18 May 2011
1 answer
161 views
 

I have added a custom button to the FileExplorer toolbar as per the demo.
How can I invoke the server-side ItemCommand of the FileExplorer control when this button is clicked?
At this point nothing seems to fire when the button is clicked.

Rumen
Telerik team
 answered on 18 May 2011
1 answer
93 views
I've find the localization files in italian on this link. I think such files allow me to translate every part of the scheduler component in Italian. Is it right?

How to use them?

Thanks
Nikolay Tsenkov
Telerik team
 answered on 18 May 2011
4 answers
135 views
I have the Editor on a page that has room for the Editor to grow.  But if it gets to big it ends up messing with my masterpage.
So I was wondering if there was a work around to make the Editor AutoResizeHeight, but stop after it gets so big?
Rumen
Telerik team
 answered on 18 May 2011
1 answer
74 views
Hi,


i am working in jquery accordion menu. i want to put treeview in a tab of accordion but its not showing tree view.
when i simple put this on page it is showing. plz help me

code here   : i am populating that treeview dynamically

   <div id="accordion1" class="basic">
            <a href="#">Fleet</a>           
            <div style="width: 100%; height: 100%">                                          
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>                                                  
                            <telerik:RadTreeView runat="server" ID="RadTreeView1" OnClientContextMenuItemClicked="onContextMenuItemClicked"
                                OnNodeClick="NodeClicked" OnContextMenuItemClick="RadTreeView2_ContextMenuItemClick">
                                <ContextMenus>
                                    <telerik:RadTreeViewContextMenu ID="menu1" EnableRoundedCorners="true" EnableShadows="true">
                                        <Items>
                                            <telerik:RadMenuItem Text="MoveUp" />
                                            <telerik:RadMenuItem Text="MoveDown" />
                                            <telerik:RadMenuItem Text="Send E-Mail" />
                                            <telerik:RadMenuItem Text="Refresh" />
                                        </Items>
                                    </telerik:RadTreeViewContextMenu>
                                    <telerik:RadTreeViewContextMenu ID="menu2" EnableRoundedCorners="true" EnableShadows="true">
                                        <Items>
                                            <telerik:RadMenuItem Text="Copy" />
                                            <telerik:RadMenuItem Text="Paste" />
                                            <telerik:RadMenuItem Text="Refresh" />
                                            <telerik:RadMenuItem Text="Properties" />
                                        </Items>
                                    </telerik:RadTreeViewContextMenu>
                                </ContextMenus>
                              
                            </telerik:RadTreeView>
                        
                        </ContentTemplate>
                    </asp:UpdatePanel>            
            </div>
            <a href="#">Administration</a>
            <div>
                <p style="font-weight: bold;">
                    Sed Non Urna</p>
                <p>
                    Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit,
                    dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus
                    libero ac justo.</p>
                <p>
                    Vivamus non quam. In suscipit faucibus urna.</p>
            </div>
            <a href="#">Auto Reports & Alerts</a>
            <div>
                <p>
                    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus
                    pellentesque purus in massa. Aenean in pede.</p>
                <p>
                    Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna
                    quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.</p>
                <ul>
                    <li>List item one</li>
                    <li>List item two</li>
                    <li>List item three</li>
                </ul>
            </div>
            <a href="#">History Playback</a>
            <div>
                <label for="pickerfieldStart">
                    <b>Start date</b></label>
                <input id="pickerfieldStart" type="text" value="2010-08-03 00:12:39"/>
                <br />
                <label for="pickerfieldEnd">
                    <b>End date</b></label>
                <input id="pickerfieldEnd" type="text" value="2010-08-03 08:16:13" />
                <br />
                <input id="btnPlay" type="button" value="Play" onclick="CheckForSnailTrail();" />&nbsp;
                <input id="btnPause" type="button" value="Pause" onclick="TemporarilyPauseSnailTrail();" />&nbsp;
                <input id="btnClear" type="button" value="Clear" onclick="ClearSnailTrail();" />&nbsp;
                <br />
                <div id="divSnailTrailSummary">
                </div>
            </div>
            <a href="#">POI Fences</a>
            <div>
                <p>
                    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus
                    pellentesque purus in massa. Aenean in pede.</p>
                <p>
                    Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna
                    quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.</p>
                <ul>
                    <li>List item one</li>
                    <li>List item two</li>
                    <li>List item three</li>
                </ul>
            </div>
        </div>


With Regards,


Faisal
Nikolay Tsenkov
Telerik team
 answered on 18 May 2011
1 answer
147 views
Hi,

We are using telerik:RadDatePicker in our project. We have a requirement where the date should increment/decrement by one year when the user clicks the FastNavigationStep. Is there a way to make this configurable?

Regards
Shamjith
Shinu
Top achievements
Rank 2
 answered on 18 May 2011
1 answer
59 views
Hello there, well im having a problem with hiding expand/collapse images when i have no records, i followed this example http://www.telerik.com/help/aspnet/grid/grdhideexpandcollapseimageswhennorecordsclientloadmode.html, but nothing happens, what am i doing wrong? ive also followed some other examples in this forum but they dont seem to work, well heres my code:

<telerik:RadGrid ID="rgridProyecto" AutoGenerateColumns="false" Skin="Vista" SelectedItemStyle-BackColor="AliceBlue"   oncolumncreated="RadGrid1_ColumnCreated"
    onitemcreated="RadGrid1_ItemCreated" onneeddatasource="RadGrid1_NeedDataSource" AllowSorting="true" ClientSettings-AllowColumnHide="true"
     runat="server"  AlternatingItemStyle-BackColor="AliceBlue" Width="100%" ClientSettings-AllowRowHide="true" SelectedItemStyle-Font-Bold="true" MasterTableView-AllowSorting="true">
 
            <MasterTableView HierarchyDefaultExpanded="true"  AllowMultiColumnSorting="True" NoMasterRecordsText=" "  NoDetailRecordsText=" "
 HierarchyLoadMode="Client" AllowSorting="true" GridLines="Horizontal" EnableNoRecordsTemplate="true" DataKeyNames="ID,ParentID" Width="100%">
     
    <SelfHierarchySettings ParentKeyName="ParentID" KeyName="ID"/>
 
    <Columns>
    <telerik:GridTemplateColumn  UniqueName="Title" SortExpression="Title" HeaderText="Participación"  HeaderStyle-Width="35%" ConvertEmptyStringToNull="true">
     
    <ItemTemplate>
     <asp:Image ID="Image1" ImageUrl=<%# Eval("Imagen")%>  runat="server" />
     <a href="javascript:OpenAsunto('<%# Eval("Link")%>');"> <%# Eval("Title")%> <%# Eval("Autor")%> <%# Eval("Fecha")%></a>
 
    </ItemTemplate>
    </telerik:GridTemplateColumn>
    <telerik:GridBoundColumn SortExpression="Responsable" HeaderText="Responsable" DataField="Responsable" UniqueName="Responsable" HeaderStyle-Width="20%">
    </telerik:GridBoundColumn>
    <telerik:GridBoundColumn SortExpression="Cierra" HeaderText="Cierra" DataField="Cierra" UniqueName="Cierra" HeaderStyle-Width="10%">
    </telerik:GridBoundColumn>
    <telerik:GridBoundColumn SortExpression="Perspectiva" HeaderText="Perspectiva" DataField="Perspectiva" UniqueName="Perspectica" HeaderStyle-Width="12%">
    </telerik:GridBoundColumn>
    <telerik:GridBoundColumn SortExpression="Impacto" HeaderText="Impacto" DataField="Impacto" UniqueName="Impacto" HeaderStyle-Width="15%">
    </telerik:GridBoundColumn>
    <telerik:GridBoundColumn SortExpression="IE" HeaderText="I/E" DataField="IE" UniqueName="IE" HeaderStyle-Width="10%">
    </telerik:GridBoundColumn>
    </Columns>
 
    </MasterTableView>
             
            <ClientSettings EnableRowHoverStyle="true" AllowExpandCollapse="true">
            <ClientEvents OnRowCreated="RowCreated" />
                <Selecting AllowRowSelect="true" />
            </ClientSettings>
 
    </telerik:RadGrid>
 
<script type="text/javascript">
     function RowCreated(rowObject) {
         if (rowObject.ItemType == "NestedView") {
 
             var nestedTable = rowObject.Control.cells[1].childNodes[0];
 
             if (nestedTable != null && nestedTable.tBodies[0].rows.length == 1 && nestedTable.innerHTML.indexOf(" ") != -1) {
                 var parentRow = this.Control.rows[rowObject.Control.rowIndex - 1];
                 parentRow.cells[0].childNodes[0].style.display = "none";
                 rowObject.Control.style.display = "none";
             }
         }
     }
       </script>

thanks in advance, sorry for my bad english.
Pavlina
Telerik team
 answered on 18 May 2011
3 answers
238 views
Dear Telerik!

Please advice me on the following issue:

I use RadGrid with vertical scrolling and I need to set the vertical scroll bar width different from its default value.

It is needed because the web site is designed for use from touch-screen terminals and thin scroll bar seems to be very inconvenient for the users.

Is it possible?

Thank you very much for your help!

- Stepan.
Stepan
Top achievements
Rank 1
 answered on 18 May 2011
1 answer
52 views
I have project with radcontroll and I upload on hosting but not display images or css .
http://cB6.upanh.com/22.556.29561215.GKx0/untitled.png
I'm from vietnamese,. Thanks you for help.
 
Sebastian
Telerik team
 answered on 18 May 2011
1 answer
87 views
Hello,

We have a pretty complex application design with a bunch of telerik controls.  Every now and then, we get issues where the associated CSS to a file are lost, and the controls are not styled.  So for instance, after an async postback (a couple of postbacks into the life of the page), the CSS for the textbox, date picker, combo, and other controls are lost.  It's not complete; some controls still appear as they normally do, I don't think it's all inclusive.

Any idea why and how I can debug, and determine why they get lost?  Anything I can do to work around it?

Thanks.

Brian
Sebastian
Telerik team
 answered on 18 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?