Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TabContainer Disappears - Uncaught TypeError: Cannot set property 'control' of undefined #575

Open
3 tasks
evercoppola opened this issue Sep 3, 2021 · 1 comment

Comments

@evercoppola
Copy link

The AJAX Control Toolkit <VERSION>

AjaxControlToolkit.Installer.20.1.0

The installation method

  • [ X] Installer
  • NuGet package
  • A custom build from the source code

Minimal steps to reproduce the bug

Using a repeater in a Tab all works until I try and access a control within the footer of the repeater in an effort to set its visible property, e.g. making a visible a label that says No Rows Returned.

Actual result

Entire tab container disappears. Inspecting the html, it seems the TabContainer has style=visibility:hidden, which I don't have there. If I enable it the styling is still not right, but given it appears to be an error in the MsAjax script, it could by the styles are not loaded fully.

In the attached script the error occurs at line 3070, n.control = this;

Expected result

TabContainer and its contents should render properly.

Browser(s) used

Chrome and Edge

A site deployment method

  • VS development web-server,
  • [X ] IIS

script.txt

@evercoppola
Copy link
Author

Upon further research, it appears that the error is now occurring simply when I handle a click event on Tab1 and the attempt to load through code behind repeaters in Tab2 and Tab3. What's odd is that the loading of the repeaters was working.

So, I backtracked...I removed a footer template that I had added along with an asp:Label. Now, when I click on Tab1, both Tab2 and Tab3 load and the entire TabContainer and Tabs remain visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant