Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
143 views
I have a scenario where I have two RadSlidingPanes side by side.  In point of fact, they're nested in the sense that one is on the parent Web Content Form and the other is inside a User Control that is loaded into the form.

    <telerik:RadPane ID="radPaneLeft" runat="server" Scrolling="None" MaxWidth="200"><br>      <telerik:RadSlidingZone ID="radSlidingZone" runat="server" Width="22" Height="0" ClickToOpen="true" DockedPaneId="radSlidingPane"><br>        <telerik:RadSlidingPane ID="radSlidingPane" runat="server" BackColor="#F0F8FF" CssClass="slidingPane" TabView="TextAndImage" IconUrl="~/Images/hierarchy.gif" DockOnOpen="true"><br>          <telerik:RadListBox ID="radListBoxStopes" runat="server" Width="100%" Height="100%" AutoPostBack="true" OnItemCreated="radListBoxStopes_ItemCreated" OnSelectedIndexChanged="radListBoxStopes_SelectedIndexChanged"><br>            <ItemTemplate><br>              <asp:Panel runat="server"><br>                <asp:Label ID="labelStope" runat="server" Text='<%# Eval("Description") %>' CssClass="muckListPrimary" /><br /><br>                <asp:Label ID="labelUnits" runat="server" Text='<%# Eval("Units", "{0:0 units}") %>' CssClass="muckListSecondary" /><br>                <asp:HiddenField ID="hidFieldMaterial" runat="server" Value='<%# Eval("Material").ToString() %>' /><br>              </asp:Panel><br>            </ItemTemplate><br>          </telerik:RadListBox><br>        </telerik:RadSlidingPane><br>      </telerik:RadSlidingZone><br>    </telerik:RadPane><br>

Please take a look at the first screen capture.  That's the way everything appears when the left sliding pane is collapsed.  Note how the RadListBox displays with a nice width.  But when I expand the left sliding pane the width of the right sliding pane (and the listbox within it) are shrunk down in width.

I've tried several things but cannot figure out how to maintain a suitable width for the right sliding pane and its child listbox.

Any advice on what to do?

Robert



Robert
Top achievements
Rank 1
 answered on 03 Dec 2011
5 answers
221 views
Hi,

How to selected the first child tab when I click the parent tab?

For example (please refer to coding below),

When page load, the ParentTab1, ChildTab1 and pgView1 will be selected.
When I click the ParentTab1, the ChildTab1 and pgView1 will be selected.
When I click the ParentTab2, the ChildTabA and pgViewA will be selected.
When I click the ParentTab3, the pgViewTab will be selected.

              <telerik:RadTabStrip ID="rtsTab" runat="server" MultiPageID="rmpTab" ScrollChildren="true">  
                    <Tabs> 
                        <telerik:RadTab Text="ParentTab1" runat="server" Selected="true">  
                            <Tabs> 
                                <telerik:RadTab Text="ChildTab1" PageViewID="pgView1" Selected="true">  
                                </telerik:RadTab> 
                                <telerik:RadTab Text="ChildTab2" PageViewID="pgView2">  
                                </telerik:RadTab> 
                            </Tabs> 
                        </telerik:RadTab> 
                        <telerik:RadTab Text="ParentTab2" runat="server">  
                            <Tabs> 
                                <telerik:RadTab Text="ChildTabA" PageViewID="pgViewA">  
                                </telerik:RadTab> 
                                <telerik:RadTab Text="childTabB" PageViewID="pgViewB">  
                                </telerik:RadTab> 
                                <telerik:RadTab Text="childTabC" PageViewID="pgViewC">  
                                </telerik:RadTab> 
                            </Tabs> 
                        </telerik:RadTab> 
                        <telerik:RadTab Text="ParentTab3" runat="server" PageViewID="pgViewTab">  
                        </telerik:RadTab> 
                    </Tabs> 
                   </telerik:RadTabStrip> 
 
 
 
 
               <telerik:RadMultiPage ID="rmpTab" runat="server">  
                     
                       <telerik:RadPageView ID="pgView1" runat="server" Selected="true">  
                          ParentTab1, ChildTab1     
                       </telerik:RadPageView> 
 
               <telerik:RadPageView ID="pgView2" runat="server">  
                          ParentTab1, ChildTab2     
                       </telerik:RadPageView> 
          
               <telerik:RadPageView ID="pgViewA" runat="server">  
                          ParentTab2, ChildTabA     
                       </telerik:RadPageView> 
 
               <telerik:RadPageView ID="pgViewB" runat="server">  
                          ParentTab2, ChildTabB    
                       </telerik:RadPageView>             
 
               <telerik:RadPageView ID="pgViewC" runat="server">  
                          ParentTab2, ChildTabC    
                       </telerik:RadPageView> 
 
               <telerik:RadPageView ID="pgViewTab" runat="server">  
                          ParentTab3  
                       </telerik:RadPageView>                   
 
 
 
 
               <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">  
                 <AjaxSettings> 
                        <telerik:AjaxSetting AjaxControlID="rtsTab">  
                            <UpdatedControls> 
                                    <telerik:AjaxUpdatedControl ControlID="rtsTab" /> 
                                    <telerik:AjaxUpdatedControl ControlID="rmpTab" /> 
                            </UpdatedControls> 
                        </telerik:AjaxSetting> 
                </AjaxSettings> 
                   </telerik:RadAjaxManager>   


Anyone can help?

Thanks.

Regards,
Jessie
Dawson
Top achievements
Rank 1
 answered on 02 Dec 2011
7 answers
119 views
Hello,
I was wondering why setting the AllowPaging property to true seems to cause a change is the grid's lifecycle.

Our grid uses the NeedDataSource event to get it's data and the EnableViewState is true.  The documentation says that the a normal postback from a control outside of RadGrid should not trigger a NeedDataSource.  This works when AllowPaging is set to false.  But when we set AllowPaging to true the NeedDataSource event seems be behave as if the EnableViewState was set to false.  Meaning that a postback from a control outside of RadGrid does trigger a NeedDataSource.


HF

Hugues Ferland
Top achievements
Rank 1
 answered on 02 Dec 2011
3 answers
124 views
Hi all,

I have a RadEditor that changes between edit and view mode. When disabling the Editor, the toolbar disappear and it looks cleaner for view mode but the OnClientLoad and OnClientInit event are not triggering. As soon as I enable the editor, it works.  

Any work around?
Guillermo Andres
Top achievements
Rank 1
 answered on 02 Dec 2011
3 answers
85 views
Hi there,

I have read "code snippets" as chunk of HTML.

My project needs me to add snippet that has chunk of JavaScript, such as twitter search widget.
Does not need to show on Editor Design though(as <script> etc).
How can we achieve this?

regards
ami
Rumen
Telerik team
 answered on 02 Dec 2011
12 answers
193 views
Hi,

Nor sure if this is possible or not.  I am evaluating RadScheduler to replace another scheduling component and most things are better, but what I do need is the ability on a Day view to click into a time slot, drag down to a later time slot and then, when the mouse button is released open the appointment window with the start and finish times already defined.

What I need to know is, is this possible in the current release of RadScheduler, or is it planned for a future release?

David Penny
Peter
Telerik team
 answered on 02 Dec 2011
0 answers
30 views
Hello!
I have an issue with RadTreeView, that takes place if i have these condions meet together:
1) IE 8. This issue does not happen in Chrome and IE7 under IETester.
2) RadTreeView is in RadWindow
3) All nodes have Exanded == true or ExpandMode == ServerSideCallback;
4) The node i want to expand, icontains at least one node with ExpandMode == ServerSideCallback && Expanded == false //not quite sure about this
None of my RadTreeViews placed directly on page, outside of RadWindow, have this issue.
Thanks for attention.
Konstantin Isaev
Konstantin Isaev
Top achievements
Rank 1
 asked on 02 Dec 2011
2 answers
60 views
I have modified my AppointmentTemplate to add some additional ImageButtons. The buttons display as I'd like, but I'm not sure how to wire up an event for the buttons that will include the Appointment object as an event argument. I'm doing this in c#.
Is there an example of this somewhere I can look at? Thanks!

PS - title is wrong, these are ImageButtons if that makes a difference.
Matt
Top achievements
Rank 1
 answered on 02 Dec 2011
1 answer
123 views
What are the events that are called when the tab is clicked? I am trying to load a grid that is in Tab2. But it does not populate because Tab2 events are being called.
Bozhidar
Telerik team
 answered on 02 Dec 2011
1 answer
111 views
Hi,

I am using treeview and in my tree there are few nodes that are visible and few that are not visible depending upon their type. I am trying to find the invisible nodes from client side code using findNodeByText/findNodeByValue functions but it always returns null. is it possible to get hidden nodes? if not then what is the workaround?
Bozhidar
Telerik team
 answered on 02 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?