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.0Ajaxtoolkit is making RAD into SAD ;o[ ModalPopup Extender ?Ajaxtoolkit is making RAD into SAD ;o[ ModalPopup Extender ?
Previous
 
Next
New Post
4/27/2007 11:52 AM
 

I am trying to get the AJAX modal Popup extender to work in a custom module.  Everything works great with the exception that the panel comes up way up in the upper left hand corner of the browser. If I add X and Y to the extender that has the effect of graying out the whole screen and the panel showing up in my container instead of on top.

I'm using the CSS file from the toolkit.        

Real simple just testing.

Heres the .ASPX
-----------------------------------------------------------------------------------------------------------------------------
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="Panel1" runat="server" Height="120px" Width="371px" Style="display: none" CssClass="modalPopup" BackColor="#E0E0E0">
                        <asp:Panel ID="Panel2" runat="server" BackColor="Silver" Height="23px" Width="372px">
                        </asp:Panel>
                        <asp:DropDownList ID="DropDownList1" runat="server">
                            <asp:ListItem>asdasf</asp:ListItem>
                            <asp:ListItem>asdf</asp:ListItem>
                        </asp:DropDownList>
                        <asp:Button ID="Button1" runat="server" Text="ok" />
                        <asp:Button ID="Button2" runat="server" Text="cancel" /></asp:Panel>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        <asp:Button ID="Button3" runat="server" Text="Button" />
        <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server"
                TargetControlID="Button3"
            PopupControlID="Panel1"
            BackgroundCssClass="modalBackground"
            OkControlID="Button1"
            CancelControlID="Button2"
            DropShadow="true"
            PopupDragHandleControlID="Panel2" />
--------------------------------------------------------------------------------------------------------------------------
Code behind:
-------------------------------------------------------------------------------------------------------------------------
      Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Try
                If DotNetNuke.Framework.AJAX.IsInstalled() Then
                    DotNetNuke.Framework.AJAX.RegisterScriptManager()
                End If
             Catch exc As Exception    'Module failed to load
                ProcessModuleLoadException(Me, exc)
            End Try
        End Sub
------------------------------------------------------------------------------------------------------------------------

I've currently have partial render unchecked but have tried this both ways. Anyone else get this control to work in DNN. I can make a webpage with the exact same code work in less than 2 mins, but trying to get it to work in DNN is a no go.

 
New Post
4/27/2007 12:02 PM
 

You'll need to change the doctype of your skin to be Transitional. In your skin folder add a file called skinname.doctype.xml in that file put

 <SkinDocType><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">]]></SkinDocType>

 

 


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
4/27/2007 12:35 PM
 

Hmmmmm....

Ok I tried that, no success. I changed the skin of the page to DNN-Blue. Horizontal Menu - Full Width.  Container is Text Header - White Background. Just to take my skin out of the picture.

Still not working.

I put a file named - Horizontal Menu - Full Width.doctype.xml in the DNN-Blue folder in the Default portal folder and copied the above.

Still no success.

 
New Post
4/27/2007 12:53 PM
 

Ok got that working but I do have a problem now similiar to:Problems with [skinname].doctype.xml for AJAXControlToolkit

 
New Post
4/27/2007 12:54 PM
 

Try hitting your web.config to reset the app


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Ajaxtoolkit is making RAD into SAD ;o[ ModalPopup Extender ?Ajaxtoolkit is making RAD into SAD ;o[ ModalPopup Extender ?


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