Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: TabContainer throws exception in user control with Nov release [27053]

$
0
0
A user control contains a tabcontainer. When aspx page loads, the user control is not visible. Ajax toolkit script function tries to set focus on tabcontainer and it throws exception : "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus."

The problem occurs in IE 8 with 11/16/2011 release. It worked OK with sept. release.
Comments: I got the same problem with IE8. My Fix: 1. Add an Updatepanel and place the tabcontainer in the updatepanel 2. Set the tabcontainer visibile to FALSE -> this will solve the focus error on page loads 3. When I want to show the usercontrol, I call a javascript function that will show the usercontrol and do a __doPostBack(Updatepanel) 4. In the code I set the tabcontainer visible to TRUE

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>