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

RadTab Strip error

3 Answers 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Prasad
Top achievements
Rank 1
Prasad asked on 23 Oct 2012, 01:02 PM
I am using Tabstrip control in my aspx page with multipage view as given below.I am moving to next tab on click of a button.But while giving the RadTabStrip1 & RadMultiPage1 in the AjaxUpdatedControl,I am getting the blow error: "Microsoft JScript runtime error: Unable to set value of the property 'control': object is null or undefined"

MY CODE GOES AS BELOW:
-------------------------------------------

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest" >
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadMultiPagetab" /> -- (if i mentioned this one i am getting error)
<telerik:AjaxUpdatedControl ControlID="RadTabStrip2" />
 </UpdatedControls>
            </telerik:AjaxSetting>
</AjaxSettings>
    </telerik:RadAjaxManager>

 <div style="float: left; width: 100%; min-height: 830px;">
        <div style="float: left; width: 100%; background-image: url(../images/bridge_logo_bg.jpg);
            background-repeat: repeat-x;">
 <telerik:RadTabStrip ID="RadTabStrip2" runat="server" MultiPageID="RadMultiPagetab"
                SelectedIndex="0" Orientation="HorizontalTop" ShowBaseLine="true" CssClass="tabStrip">
                <Tabs>
                    <telerik:RadTab Text="Overview" ToolTip="Overview">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Attendance" ToolTip="Attendance">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Discipline" ToolTip="Discipline">
                    </telerik:RadTab>                   
                </Tabs>
            </telerik:RadTabStrip>
</div>
<telerik:RadMultiPage ID="RadMultiPagetab" runat="server" SelectedIndex="0" >
            <!-- Overview -->
            <telerik:RadPageView ID="RadPageView2" runat="server">
<telerik:RadHtmlChart runat="server" ID="radhtml_dt" Width="240px" Height="300px"
                                        OnClientSeriesClicked="OnClientSeriesClicked">
                                        <Appearance>
                                            <FillStyle />
                                        </Appearance>
                                        <Legend>
                                            <Appearance Visible="false" />
                                        </Legend>
                                        <PlotArea>
                                            <YAxis>
                                            </YAxis>
                                        </PlotArea>
                                        <Legend>
                                            <Appearance Position="Right" />
                                        </Legend>
                                        <ChartTitle Text="Disc : Top 10">
                                        </ChartTitle>
                                    </telerik:RadHtmlChart>
                                </div>
 </telerik:RadPageView>
            <telerik:RadPageView ID="Disc" runat="server">
..... some controls---------------
 </telerik:RadPageView>
 <telerik:RadPageView ID="Enroll" runat="server">
----some controls---------------
 </telerik:RadPageView>
 </telerik:RadMultiPage>

 <telerik:RadCodeBlock ID="codeBlock" runat="server">
        <script type="text/javascript">
            function OnClientSeriesClicked(sender, args) {
                // debugger;
                $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest(args.get_category() + ";" + sender._uniqueId);
                var totstring = args._seriesData.toString();
                var count = (totstring.split(",").length)
                for (var i = 0; i < count; i++) {
                    if (args._seriesData[i].value != args.get_value()) {
                        args._seriesData[i].explode = false;
                    }
                    else {
                        args._seriesData[i].explode = true;
                    }
                }
                sender.repaint();
            }
           
        </script>
 </telerik:RadCodeBlock>


3 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 24 Oct 2012, 02:49 PM
Hello Prasad,

I noticed that you sent us a support ticket, regarding the same problem. I would like to ask you to continue our conversation in the other ticket (Ticket ID : 621301), in order to keep the correspondence consistent.

Regards,
Nencho
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Prasad
Top achievements
Rank 1
answered on 25 Oct 2012, 07:43 AM
Hi Nencho ,

can u give the sol for this problem as soon as possible. If i mentioned rad strip in radajax update control id then i am not getting error, if i mentioned radmultipage control id i am getting this error.

Can u provide the url or path to see support ticket as u mentioned in your earlier post


Regards

K R Prasad
0
Nencho
Telerik team
answered on 25 Oct 2012, 03:30 PM
Hi Prasad,

I have performed some tests, based on the provided snippet of code, but I could not replicate the experienced problem. In addition, I have prepared a sample project for you, demonstrating the behavior at my end. Could you give it a try and let me know if you still experience any exceptions at your end.
Please find the project attached.

Regards,
Nencho
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Prasad
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Prasad
Top achievements
Rank 1
Share this question
or