Nov 12, 2009, 12:43 PM
Coolite components visibility problem
Hi all,
I'm starting in these days using Coolite and I'm really impressed by the results.
But I've got a problem with the drawing of the components...
INTRODUCTION:
The application is build with many .ascx controls that contain other .ascx controls.
The parent, using session variables, decide which of the child controls to show by setting their visible properties.
The parent control itself has its own visible property set by his parent control.
The ScriptManager is in the only aspx page of the application: default.aspx.
THE PROBLEM:
When I show a Coolite component, I got many Javascript errors or problems.
In a Portal with draggable Portlets, if I change the visible of the ascx file to false and then again to true, the Portlets become invisible.
In an ascx file with a GridPanel, I can't resize columns without obtain: "htmlfile: unspecified error"; the columns i resized, but Visual Web Developer catch the error.
In the same GridPanel, iconcommands are invisibles; using ScriptManager.RegisterIcon(icon) in the OnLoad event they appear but repeating many times.
All these problems are solved by the refresh of the page (F5).
Hope to have been clear and that my English was not a problem to understand.
Thanks to anyone who know a possible solution or a tip.
I'm starting in these days using Coolite and I'm really impressed by the results.
But I've got a problem with the drawing of the components...
INTRODUCTION:
The application is build with many .ascx controls that contain other .ascx controls.
The parent, using session variables, decide which of the child controls to show by setting their visible properties.
The parent control itself has its own visible property set by his parent control.
The ScriptManager is in the only aspx page of the application: default.aspx.
THE PROBLEM:
When I show a Coolite component, I got many Javascript errors or problems.
In a Portal with draggable Portlets, if I change the visible of the ascx file to false and then again to true, the Portlets become invisible.
In an ascx file with a GridPanel, I can't resize columns without obtain: "htmlfile: unspecified error"; the columns i resized, but Visual Web Developer catch the error.
In the same GridPanel, iconcommands are invisibles; using ScriptManager.RegisterIcon(icon) in the OnLoad event they appear but repeating many times.
All these problems are solved by the refresh of the page (F5).
Hope to have been clear and that my English was not a problem to understand.
Thanks to anyone who know a possible solution or a tip.