Login
Register
17-05-2008

Resources for the DotNetNuke Community
Join WebHost4Life.com
Support this site

  Support forums  

You need to be logged in in order to post to this forums.
SearchForum Home
  Modules  Printing SkinObjects  "Bad Request" w...
 "Bad Request" when clicking "Print" - TemplatePrint skin object
 
imgOfflinedpoindexter
6 posts
Joined
11/9/2006

"Bad Request" when clicking "Print" - TemplatePrint skin object
Posted: 09 Nov 06 12:28 PM
I just installed TemplatePrint on DNN 3.2.2. Installed perfectly. I created my container and TemplatePrint skin object displays properly when module with that container is display on the page. However, when I click "Print", a new window opes up and "Bad Request" is the only text in the window. Any ideas why this happens? Any help would be greatly appreciated.
imgOfflinedpoindexter
6 posts
Joined
11/9/2006

Re: "Bad Request" when clicking "Print" - TemplatePrint skin object
Posted: 10 Nov 06 7:31 PM
I thought I would add - I can't get the ACTIONBUTTON/PrintModule.Action to work either. I also tried to use the PRINTMODULE - could get it to work either. With both of these native DNN print solutions, I was able to get the icon to show up. However, when I click on them, a postback occurs, but nothing after that.

I REALLY need a print solution quickly for my client.
imgOfflinedpoindexter
6 posts
Joined
11/9/2006

Re: "Bad Request" when clicking "Print" - TemplatePrint skin object
Posted: 13 Nov 06 11:34 PM
I really need to figure out a printing solution that works. Can anyone help? I would really appreciate it.
imgOfflinednnjungle
141 posts
5th
Joined
3/13/2005

Re: "Bad Request" when clicking "Print" - TemplatePrint skin object
Posted: 14 Nov 06 5:33 AM

Could you please post how the code looks like in you .ascx skin file?


Disgrafic.com
imgOfflinedpoindexter
6 posts
Joined
11/9/2006

Re: "Bad Request" when clicking "Print" - TemplatePrint skin object
Posted: 14 Nov 06 8:38 AM Modified By dpoindexter  on 11/14/2006 8:50:35 AM)
This is how it looks in my container file...

At the top of the container .ASCX file I included...
<%@ Register TagPrefix="dnn" TagName="TemplatePrint" Src="~/DesktopModules/VMasanas - TemplatePrint/TemplatePrint.ascx" %>

For the TemplatePrint object I included...
<dnn:templateprint runat="server" id="dnnTemplatePrint" showtext="True" text="Print" showicon="True"></dnn:templateprint>

The object shows up fine on my test page, but doesn't work when clicked on. You will notice I also have two other printing objects in that container for testing purposes.

The top one is using...
<dnn:actionbutton1 runat="server" id="dnnACTIONBUTTON1" commandname="PrintModule.Action" displayicon="True" displaylink="False"></dnn:actionbutton1>

The middle one is using...
<dnn:printmodule runat="server" id="dnnPRINTMODULE"></dnn:printmodule>

And the bottom one is TemplatePrint.

None of them work properly.

Thanks for your help!
imgOfflinednnjungle
141 posts
5th
Joined
3/13/2005

Re: "Bad Request" when clicking "Print" - TemplatePrint skin object
Posted: 14 Nov 06 8:55 AM

That's exactly the point I wanted to see. Notice how in your templateprint control you don't have any skin or container token.

For example, this is the source code I get on my skin when I use this sko:

dnn:TEMPLATEPRINT runat="server" id="dnnTEMPLATEPRINT" Text="Print" PrintIcon="ico_print.gif" Template="printmodule" Container="printcontainer" ToolTip="Print"

So this basically means that your container did not get installed/parsed correctly.


Disgrafic.com
imgOfflinednnjungle
141 posts
5th
Joined
3/13/2005

Re: "Bad Request" when clicking "Print" - TemplatePrint skin object
Posted: 14 Nov 06 9:08 AM

mmmm....

On a second thought I don't think this is the problem. But I cannot figure it right now since the url that gets created seems ok:

http://www.advancedrenaleducation.com/Default.aspx?TabId=72&mid=603&SkinSrc=[L]Skins/PDServe/Skin1&ContainerSrc=[L]Containers/PDServe/TransparentWithPrint&dnnprintmode=true

Compare this on a sample link on my site

http://dnnjungle.vmasanas.net/Default.aspx?TabId=41&mid=371&SkinSrc=[G]Skins/dnnjungle/printmodule&ContainerSrc=[G]Containers/dnnjungle/printcontainer&dnnprintmode=true

Could you verify that these skin/container actually exist?

/Portals/number/Skins/PDServe/Skin1.ascx
/Portals/number/Containers/PDServe/TransparentWithPrint.ascx

 


Disgrafic.com
imgOfflinedpoindexter
6 posts
Joined
11/9/2006

Re: "Bad Request" when clicking "Print" - TemplatePrint skin object
Posted: 14 Nov 06 9:36 AM

I tried...
<dnn:TemplatePrint runat="server" id="dnnTemplatePrint" Template="No Skin" Container="No Container" ShowText="True" Text="Print" ShowIcon="True"/>

That didn't work either.  My skin and container actually exist too.

imgOfflinednnjungle
141 posts
5th
Joined
3/13/2005

Re: "Bad Request" when clicking "Print" - TemplatePrint skin object
Posted: 14 Nov 06 11:02 AM

I'm sorry but I cannot figure what's the problem then! As you can see I'm using it on this site (also 3.2.2) and it's working fine.

If you want to send me the skin package i'll give it a try.


Disgrafic.com
imgOfflinedpoindexter
6 posts
Joined
11/9/2006

Re: "Bad Request" when clicking "Print" - TemplatePrint skin object
Posted: 14 Nov 06 11:13 AM
I just sent you the skin package via email.  Thanks for your help!
  Modules  Printing SkinObjects  "Bad Request" w...
© Vicenç Masanas Terms Of Use Privacy Statement   
.