Whenever a panel is opened using an animation effect, like Linear, the panel stutters at first - it flashes very quickly as if it were not supposed to animate and then resumes the normal animation from where it would have been had it not stuttered. Closing the panel with animation doesn't have any negative effects.
Any ideas what might cause this? My assumption is that is has to do with the way I'm declaring the panel - through code.
All of this is done inside of a MOSS Webpart during the OnLoad event.
Any ideas what might cause this? My assumption is that is has to do with the way I'm declaring the panel - through code.
radAccordion = new RadPanelBar(); |
radAccordion.ID = "RadPanelBar1"; |
radAccordion.Skin = RadSkin; |
radAccordion.Width = new Unit(500, UnitType.Pixel); |
radAccordion.ExpandMode = PanelBarExpandMode.MultipleExpandedItems; |
radAccordion.CollapseAnimation.Type = AnimationType.Linear; |
radAccordion.CollapseAnimation.Duration = 200; |
radAccordion.ExpandAnimation.Type = AnimationType.Linear; |
radAccordion.ExpandAnimation.Duration = 200; |
radAccordion.EnableViewState = false; |
... |
radAccordion.DataSource = listItems; |
radAccordion.DataTextField = TitleField |
radAccordion.DataFieldID = "ID"; |
radAccordion.DataFieldParentID = GroupByField |
radAccordion.DataBind(); |
... |
radPanel = new RadAjaxPanel(); |
radPanel.ID = "RadPanel1"; |
radPanel.LoadingPanelID = "RadLoadingPanel1"; |
radPanel.Controls.Add(radAccordion); |
radLoadingPanel = new RadAjaxLoadingPanel(); |
radLoadingPanel.ID = "RadLoadingPanel1"; |
radLoadingPanel.Transparency = 30; |
radLoadingPanel.BackColor = System.Drawing.Color.AliceBlue; |
Controls.Add(radPanel); |
Controls.Add(radLoadingPanel); |
All of this is done inside of a MOSS Webpart during the OnLoad event.