Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
296 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
142 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
145 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
106 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
245 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
43 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
78 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
153 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
130 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
3 answers
230 views
Hello,

it seems that the ComboBox isn't working with IE9 if HTTPS is used. With FireFox or Chrome everything works fine. 
Create an selfsigend certificate in IIS (https://localhost/TelerikAjaxTest/) and enter a value in the combobox. nothing is happen.
Is there any solution for this issue?

aspx:
<body>
        <form id="form1" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <div>
               <telerik:RadComboBox ID="testCombo" runat="server" ShowToggleImage="false" EnableLoadOnDemand="true" Width="200px" AllowCustomText="false" AppendDataBoundItems="true">
                <Items>
                    <telerik:RadComboBoxItem Text="Eingabe zur Suche..." Selected="true" Font-Italic="true" ForeColor="Silver" />
                </Items>
                <WebServiceSettings Path="~/Services/AgentService.svc" Method="GetAgents" />
            </telerik:RadComboBox>
            </div>
        </form>
    </body>

AgentService:
[ServiceContract( Namespace = "http://TelerikAjaxTest/AgentService" )]
    [AspNetCompatibilityRequirements( RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed )]
    public class AgentService
    {      
        [OperationContract]
        public RadComboBoxData GetAgents( RadComboBoxContext context )
        {
            List<RadComboBoxItemData> list = new List<RadComboBoxItemData>()
            {
                new RadComboBoxItemData { Text = "Value1", Value = "Value1" },
                new RadComboBoxItemData { Text = "Value2", Value = "Value2" },
                new RadComboBoxItemData { Text = "Value3", Value = "Value3" },
                new RadComboBoxItemData { Text = "Value4", Value = "Value4" },
                new RadComboBoxItemData { Text = "Value5", Value = "Value5" }
            };
             
            RadComboBoxData result = new RadComboBoxData();
            result.Items = list.ToArray();
            result.EndOfItems = true;
            return result;
        }  
    }

web.config
<system.serviceModel>
    <behaviors>
        <endpointBehaviors>
            <behavior name="aspNetAjaxBehavior">
                <enableWebScript/>
            </behavior>
        </endpointBehaviors>
    </behaviors>
    <services>
        <service name="TelerikAjaxTest.Services.AgentService">
            <endpoint address="" behaviorConfiguration="aspNetAjaxBehavior" binding="webHttpBinding" bindingConfiguration="webBinding" contract="TelerikAjaxTest.Services.AgentService"/>
        </service>
    </services>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
    <bindings>
        <webHttpBinding>
            <binding name="webBinding">
                <security mode="Transport">
                </security>
            </binding>
        </webHttpBinding>
    </bindings>
</system.serviceModel>

Regards,
Timo
Simon
Telerik team
 answered on 02 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?