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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN Panels Not WorkingDNN Panels Not Working
Previous
 
Next
New Post
7/20/2012 4:47 PM
 

Hello -

If anyone can debug and get me a answer to what I'm missing that would be GREAT! Basically, the control is displayed within a fancybox and utilizes the DNN Popup Skin rather than the site skin. What's not happening is the panel doesn't collapse as expected, and when clicked on the window jumps to the top of the screen.

My code:

<div class="dnnForm" style="width: 720px">
   
    <div class="dnnForm dnnClear" id="productPanel">
        <h2 id="ProductList" class="dnnFormSectionHead"><a href="#">Add Products</a></h2>
        <fieldset>
            <div class="dnnClear">
                <asp:datagrid ... > GRID CODE HERE </asp:datagrid>
            </div>
        </fieldset>
    </div>

    <fieldset class="dnnClear">          
        <div class="dnnForm dnnClear">
            <div class="dnnFormItem dnnActions">
                <div class="floatCenter">
                    <asp:LinkButton id="cmdAdd" runat="server" class="dnnPrimaryAction" resourcekey="cmdAdd" onclick="cmdAdd_Click" CausesValidation="False" />
                    <asp:LinkButton id="cmdCancel" runat="server" class="dnnSecondaryAction" resourcekey="cmdCancel" onClientClick="CloseWindowAndReturn()" />
                </div> 
            </div>
        </div>
    </fieldset>
   
    <asp:Label runat="server" ID="lblResults" style="display:none;" />
</div>

<script type="text/javascript">
    jQuery(function ($) {

        var setupModule = function () {
            $('#productPanel').dnnPanels();
        };
        setupModule();
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(function () {
            setupModule();
        });

    });

    //Closes the fancybox, no changes
    function CloseWindowAndReturn() { parent.$.fancybox.close(); }
    ...
</script>


Wisconsins DNN User Group: www.WIDNN.com
Visit my home page: www.HerbBenton.com
 
New Post
7/23/2012 9:59 AM
 

<bump>

... anyone!?


Wisconsins DNN User Group: www.WIDNN.com
Visit my home page: www.HerbBenton.com
 
New Post
7/23/2012 11:38 AM
 
Did you put any jquery in the page header for that page? I'm not sure if that's the problem but I know I had a similar issue until I did.

Mark
 
New Post
7/23/2012 12:05 PM
 

HI -

In the page load I have the following:

DotNetNuke.Framework.jQuery.RequestUIRegistration();

Thanks,
Herb


Wisconsins DNN User Group: www.WIDNN.com
Visit my home page: www.HerbBenton.com
 
New Post
7/24/2012 5:55 PM
 
UPDATE:

I added the following to the page_load:

DotNetNuke.Framework.jQuery.RequestDnnPluginsRegistration();

This allowed the panels to close, but not open. Next, I then upgraded the development stage to 6.1.3 from 6.0.2

The issue has been resolved. Just thought I'd share in case someone else runs into the issue. I'm guessing it had to do with the version of jQuery.

Thanks,
Herb

Wisconsins DNN User Group: www.WIDNN.com
Visit my home page: www.HerbBenton.com
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN Panels Not WorkingDNN Panels Not Working


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