Monday, October 02, 2006

ATLAS: Assertion Failed: Could not find an HTML element with ID “ContentView_PageLayout_xxxx_xxxx” for control of type “Sys.UI.Control”

This entry has been moved, Please Click Here to View

7 comments:

Anonymous said...

Nice work. I haven't actually run into this issue yet with the July CTP but I'll keep it in mind if I do.

Anonymous said...

Thanks so much! This has been driving me crazy and for once I found a clear description/explanation/fix that worked instantly. Our backup workaround was to disable debugging :P Hopefully this will be a fix in the next release

Anonymous said...

Thank you so much!!!! Great explanation!!!!!!!!

Leonel (from argentina)

Anonymous said...

Hi,
I am still using July CTP. I have a page, in the code, at many places, I use CollapsiblePanelExtender. The page has been running many months.
Now I need to add more content to that page; so I added a tabStrip and make the page multiview. There are two views - one view contains my old contents and one view will have new content. Now I introduced a trouble. Whenever the view containing my old code is inactive(the view is invisible), my system crashes by the error below.
Anyone know if that is fixed with recent release.

Assertion Failed: could not find an HTML element with ID"wpm_XXXX_XXXXx" for control type "Sys.UI.Control"

Matthew Cosier said...

Try using control.Style["Visibility"] = "hidden"; instead of using control.Visible = false;

When you set the server side Visible proeprty to false, the contents of the control will not be rendered to the client at all - if you use the style property, the contents will still be rendered (and it will still be able to find the control with that id, as per your error message) but it will be hidden.

HTH,

Matthew Cosier

THEINTREPIDFOX said...

Using the div does work but if the user control is a step within a wizard control, it won't render etc the wizard sidebar but only the content within the UpdatePanel. Any idea? Please let me know at martin@invent2b.com

Thanks,

Martin

Unknown said...

But I may be one who does not careEver to have tree bloom or bear.
Leaves and bark may be tree enough.Some giant trees hidh81ke have bloom so small.
Wholesale New Era Hats
Cheap 59fifty Hats
Cheap New Era Hats
New Era Snapback Hats
New Era Fitted Hats