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

Javascript error when using Radtabstrip and multipage

7 Answers 167 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Tech valley
Top achievements
Rank 1
Tech valley asked on 13 Mar 2010, 01:59 PM
Hi,
I'm working with the Radtabstrip and multipage controls in 2010 release. I get an AJAX related javascript error when I click on any other tab (other than the active one) and it tries to make an AJAX callback. The error is:
i.get_postBackElement() is undefined
on the line:
if(Array.contains(c,i.get_postBackElement().id)){this._isRequestInProgress=true;

I've already tried compilation debug="false" in web.config and Scriptmode="release" on the scriptmanager. Any help will be appreciated.






7 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 17 Mar 2010, 01:41 PM
Hello there,

I've tested the described situation but couldn't observe this issue. Could you please send us more details and/or a simple page which reproduces it?

Kind regards,
Yana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Mac P
Top achievements
Rank 1
answered on 24 Mar 2010, 12:40 AM
Hello,

I am using tabstrip with dynamic multipage as from the samples.
My project is in VS2010 and clientidmode is set to autoid.

When i click the tab i get following error 'undefined' javascript error.

Attached is the image that shows the error message in debugger.
0
Mac P
Top achievements
Rank 1
answered on 24 Mar 2010, 04:39 AM
I figured out that the issue was from one of my control using RadDatePicker and enabled was false. I remove that and it worked..I dont have the reason behined it not working when enabled =false
0
Yana
Telerik team
answered on 25 Mar 2010, 03:58 PM
Hello Mac P,

Can you send us a simple page with the datepicker which we can test?

Best wishes,
Yana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Rob Himself
Top achievements
Rank 1
answered on 21 Jun 2010, 10:41 PM
I don't suppose this was ever resolved? I seem to be experiencing the same issue, but it's when I attempt to set the tabstrip's OnClientTabSelecting/Selected methods. It tells me that they're undefined, despite them most definitely being defined. I'm using (I believe) Q1 2010.

Thank you kindly.
0
Mac P
Top achievements
Rank 1
answered on 22 Jun 2010, 08:23 PM
See if setting clientidmode="autoID" helps?
I had clientidmode = "static" for my page and that was causing the issue.
0
Yana
Telerik team
answered on 24 Jun 2010, 01:30 PM
Hello,

Please check this forum post regarding ClientIdMode support.

Kind regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TabStrip
Asked by
Tech valley
Top achievements
Rank 1
Answers by
Yana
Telerik team
Mac P
Top achievements
Rank 1
Rob Himself
Top achievements
Rank 1
Share this question
or