Rank: Member Groups: Member
Joined: 2/3/2009 Posts: 28
|
good morning,
What would be the code I need to use in order to execute the ASPXToPDF1.RenderAsPDF(); from jquery?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You just need to do a full page post back and trigger some server side event handler. So you don't really need any JQuery specific code for that. If you already have some code that does that, you can use your existing code to do it. If you do not have it, you can use our ScriptEvent control to do it. You would call the ScriptEvent's client side interface to trigger a post back, which would trigger the ScriptEvent's Command event. You would then call RenderAsPDF inside that event handler.
Thanks
|