Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0ContainerControl.VisibleContainerControl.Visible
Previous
 
Next
New Post
4/19/2008 12:58 AM
 

Hi all,

I have a lot of Modules in a page. Then every cases I show and hide modules by using ContainerControl.Visble. If, I hide Module it never made errors. But when I want to show it again It show an error below:

---------------------------
Microsoft Internet Explorer
---------------------------
Sys.InvalidOperationException: Could not find UpdatePanel with ID 'dnn_ctr652_ViewCommentMemorybook_upCommentMemoryBook'. If it is being updated dynamically then it must be inside another UpdatePanel.
---------------------------
OK  
---------------------------

Please help me the best way use ContainerControl. Or another way to show and hide mutiple modules in DotNetNuke.

Many thanks.

 

 
New Post
4/20/2008 10:21 PM
 

If you set the Container.Visible property to false and the page renders, the id that you are calling doesn't appear on the rendered page any longer.  In situations like these, the visibility of elements needs to happen in client-side code.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
4/23/2008 12:46 AM
 

Thanks for your reply. So, Could have any solution to hide and show module automatic by programming or not? Or I had to change my code in code behind.

Pls help

 
New Post
4/26/2008 7:18 PM
 

Let's clarify what you are trying to do?  Are you trying to conditionally hide just the container, the entire module, what?  What is the condition that you are looking for?


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
4/28/2008 10:15 AM
 

Based on the error message you posted I would say that this is an error related to AJAX, you could try setting "SupportsPartialRendering" to false for the control in question and see if the error goes away.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0ContainerControl.VisibleContainerControl.Visible


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out