Actually in MVC or aspx pages I would be needing physical file and I dont want physical file. I just want to execute html which is in string and keep in memory stream.
On Fri, Nov 9, 2012 at 2:41 AM, Stephen Russell <[email protected]>wrote: > > > On Thu, Nov 8, 2012 at 2:53 PM, Aman Sharma <[email protected]>wrote: > >> What is ABCPDF.Load?? There is no method like Load() in ABCPDF. >> >> ---------------------------------- > > > Well how to you pass in content to ABCPDF? You already had that running > or so you said in MVC. Just do the same call to it and port it's output to > your PDF generator ABCPDF. > > > >> On Fri, Nov 9, 2012 at 2:11 AM, Stephen Russell <[email protected]>wrote: >> >>> >>> >>> On Thu, Nov 8, 2012 at 2:21 PM, Aman Sharma <[email protected]>wrote: >>> >>>> There is no physical aspx/mvc file exists. There is a method in a class >>>> which gets html as a string and then we converts that html into byte and >>>> then dump into ABCPDF ( a pdf tool ). If I could execute that html string >>>> before converting it to byte will solve my issue. >>>> >>>> On Fri, Nov 9, 2012 at 1:45 AM, Stephen Russell >>>> <[email protected]>wrote: >>>> >>>>> >>>>> On Thu, Nov 8, 2012 at 2:00 PM, Aman Sharma >>>>> <[email protected]>wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> In ASP.Net 4.0, is it possible to execute html on the fly?? >>>>>> Scenario is, I have HTML in a string which I need to dump into ABCPDF >>>>>> for PDF generation. If I directly dump html into ABCPDF, some styles get >>>>>> messed up. >>>>>> It would be working fine if I could execute this html and could keep >>>>>> in memory stream and then dump into ABCPDF. In MVC I did it by partial >>>>>> view >>>>>> but dont know how to handle it in aspx page. I know we can create >>>>>> physical >>>>>> page and using Server.Execute we can get HTML but I don't want any >>>>>> physical >>>>>> file. What I want is.. could execute html which is in string variable so >>>>>> that I could dump output in ABCPDF. >>>>>> >>>>> >>>>> ------------------- >>>>>> >>>>>> <%@ ABCPDF = MyFunctionHere() %> >>>>> >>>>> ---------------------- >>> >>> Then you need to use something like the .Load() for ABCPDF then. >>> >>> <%@ ABCPDF.Load( MyFunctionToGenTheHTML() %> >>> >>> HTH >>> >>> -- >>> Stephen Russell >>> Sr. Analyst >>> Ring Container Technology >>> Oakland TN >>> >>> 901.246-0159 cell >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML >>> Web Services,.NET Remoting" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en >>> or visit the group website at http://megasolutions.net >>> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML >> Web Services,.NET Remoting" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en >> or visit the group website at http://megasolutions.net >> > > > > -- > Stephen Russell > Sr. Analyst > Ring Container Technology > Oakland TN > > 901.246-0159 cell > > -- > You received this message because you are subscribed to the Google > Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML > Web Services,.NET Remoting" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en > or visit the group website at http://megasolutions.net > -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
