Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
128 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
70 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
138 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
51 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
232 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
46 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
77 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
1 answer
33 views
Hi,

It would be great if some one can help me on this.

I have a combobox with enableloadondemand=true property when i clicked on the dropdown first time its pulling the records.  Second time when i change some options and again clicked on the dropdown its not refreshing the dropdown, still showing the old values only.
this control i placed in ascx. here i am getting the problem. if i use the same control in aspx then its working fine.

Thanks,
Ram
Dimitar Terziev
Telerik team
 answered on 18 May 2011
1 answer
82 views
Hey, once again I'm having some issues getting what I want. I need to create RadWindows and set their properties in my code-behind page, because I need to put an ID which I will be able to use to show/hide my windows later. So what I've done at the moment, is calling a static function in my code behind, from Javascript. Then I create the window and set the properties, and from the instance I stocked in a variable in the public constructor, I call a non-static method. Then, I add my newly created window in my RadWindowManager. The problem is that my object reference is not set to an instance of an object. Is there any other way I can get it to work ?

Thanks in advance,
Francis
Marin Bratanov
Telerik team
 answered on 18 May 2011
1 answer
46 views
As per demo, one sliding pane should always slide over docked sliding pane, but in my website the second pane always slides under docked sliding pane. My screen also have Radajaxmanager, so could that effects behaviour of sliding pane.
<rad:RadSlidingZone ID="RadSlidingZoneTree" runat="server" Width="23" SlideDirection="Right"
                                DockedPaneId="RadSlidingPane1">
                                <rad:RadSlidingPane ID="RadSlidingPane1" Title="Pane1" runat="server" Width="220">
                                    pane 1
                                </rad:RadSlidingPane>
                                <rad:RadSlidingPane ID="RadSlidingPane2" Title="Pane2" runat="server" Width="220">
                                    pane 2
                                </rad:RadSlidingPane>

Let me know if I am missing any property here, otherwise I'll need a client side function to manually overlay new sliding pane over existing docked pane.

Niko
Telerik team
 answered on 18 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?