This is a migrated thread and some comments may be shown as answers.

Tab strip visibility property giving Scripting Error....

1 Answer 23 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Ranganath
Top achievements
Rank 1
Ranganath asked on 05 Mar 2009, 02:59 PM

I had a prob with Tab strip visibility property.

 

I have taken tab strip under<fieldset> Tag.

 In that I am calling User controls statically.

Here is the code where I placed Tab strip.

<fieldset id="FSetShippingDetails" runat="server">

 <legend class="tbtextbold" runat="server">Shipping Details</legend>

 <table id="Table2" width="100%" height="100%">

 <tr>

  <td>

   <telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="WebBlue" MultiPageID="RadMultiPage1"

              SelectedIndex="0" ReorderTabsOnSelect="True" Width="100%">

     <Tabs>

                       

                                                    <telerik:RadTab Text="Container">

                                                    </telerik:RadTab>

                                                    <telerik:RadTab Text="Agents/Rates">

                                                    </telerik:RadTab>

                                                    <telerik:RadTab Text="Legs">

                                                    </telerik:RadTab>

                                                    <telerik:RadTab Text="Notes">

                                                    </telerik:RadTab>

                                                    <telerik:RadTab Text="Status">

                                                    </telerik:RadTab>

                                                    <telerik:RadTab Text="MISC">

                                                    </telerik:RadTab>

                                                    <telerik:RadTab Text="JobCosting">

                                                    </telerik:RadTab>

        </Tabs>

               </telerik:RadTabStrip>

                    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" CssClass="pageView"

                                                Width="100%">

                                                <telerik:RadPageView ID="RadPageView3" runat="server">

<uc3:HHG_Shipping_Containers ID="HHG_Shipping_Containers"         runat="server" />

                                                </telerik:RadPageView>

                                                <telerik:RadPageView ID="RadPageView4" runat="server">

                                                <UC10:HHG_Shipping_AgentsRatesDetails ID="AgentDetails" runat="server" />

                                                </telerik:RadPageView>

                                                <telerik:RadPageView ID="RadPageView5" runat="server">

                                                    <uc5:HHG_Shipping_Legs ID="HHG_Shipping_Legs" runat="server" />

                                                </telerik:RadPageView>

                                                <telerik:RadPageView ID="RadPageView6" runat="server">

                                                    <uc4:HHG_Shipping_Note ID="HHG_Shipping_Note" runat="server" />

                                                </telerik:RadPageView>

                                                <telerik:RadPageView ID="RadPageView7" runat="server">

                                                    <uc2:HHG_Shipping_Status ID="HHG_Shipping_Status" runat="server" />

                                                </telerik:RadPageView>

                                                <telerik:RadPageView ID="RadPageView11" runat="server">

                                  <UC11:HHG_Shipping_MISCCharges ID="HHG_Shipping_MISCCharges" runat="server" />

                                                </telerik:RadPageView>

                                                <telerik:RadPageView ID="RadPageView" runat="server">

                                             <uc8:HHG_Shipping_JobCosting ID="HHG_Shipping_JobCosting" runat="server" />

                                                </telerik:RadPageView>

                                           </telerik:RadMultiPage>

                                        </td>

                                    </tr>

                                </table>

                            </fieldset>

C#Code:-

            private void ApplyVisibility2UserCtrl(bool Opt)

    {

        FSetShippingDetails.Visible = Opt;

       

    }

I am calling above function first in “Page_Load()” that time iam making visibility “False”

Once after saving the Data again iam making Visibility as “true” that time iam getting following script error…

Microsoft JScript runtime error: 'Telerik.Web.UI.RadTabStrip' is null or not an object

Please help me in this regards ASAP.

 

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 05 Mar 2009, 03:14 PM
Hi Ranganath,

We tried to reproduce the reported issue using the latest version of the control, but to no avail. It will be best if you can open a support ticket and send us a simple running project (incl. your custom skin, CSS, images, DB backup if needed and so on) demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.

Best wishes,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TabStrip
Asked by
Ranganath
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or