|
Have you tried asking ABCPDF??? Try iTextSharp.Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
I have used the free version of DynamicPDF from ceTe Software for many years without any problems http://www.youralarm.com - written in ASP.net & SQL Server
|
|
|
|
|
hello,
On page load event i am generating a report in an aspx file and then
capturing the html and saving it as html file to be sent as emil attachemt. This has to be done multiple times for different users.
I am overriding the render method of the page to get the html. It works okay for the first time but i need to create the report multiple time. When the below code is called for second time on page load event to capture the newly created report, it gives the error '"A page can have only one server-side Form tag"'. Following the code.
Dim sb As New System.Text.StringBuilder
Dim sw As New System.IO.StringWriter(sb)
Dim hWriter As New HtmlTextWriter(sw)
MyBase.Render(hWriter)
' *** store to a string
Dim PageResult As String = sb.ToString()
' *** Write it back to the server
writer.Write(PageResult)
str = PageResult
i get error on MyBase.Render(hWriter). Remember its working okay for the first. So how can i get the html of the page multiple times????
Thanks,
Safvi
|
|
|
|
|
Don't post the same question (even if you change a few words) more than once.Tychotics: take us back to the moon
"Life, for ever dying to be born afresh, for ever young and eager, will presently stand upon this earth as upon a footstool, and stretch out its realm amidst the stars."
H. G. Wells
|
|
|
|
|
Hello Experts,
I have a lot of questions in my mind. So i want to share with you.
1. Actually i want to know that how the Search Engine Works.How can he knows about sites.and Where is the total information of Sites.
2. What is the process of HOSTING in Programmigly.
Your suggession and help is required.
ThanksIf you can think then I Can.
|
|
|
|
|
|
I know that but i have not found a suitable link according to my requirement. If you can think then I Can.
|
|
|
|
|
Hi All,
when i debug my web application
on my machine , the culture is el-GR.
When i upload the aspx files on a server located in US
the culture changes to En-US and i have
problems with Datetimes..
Any help would be appreciated..
Nick Maltis
|
|
|
|
|
This[^] would be a good read for this problem.
|
|
|
|
|
hello,
I am overriding the render method of the page to get the html of a page this is infact a report. It works okay for the first time but i need to create the report multiple time. When the below code is called for second time to capture the newly created report, it gives the error '"A page can have only one server-side Form tag"'. Following the code.
Dim sb As New System.Text.StringBuilder
Dim sw As New System.IO.StringWriter(sb)
Dim hWriter As New HtmlTextWriter(sw)
MyBase.Render(hWriter)
' *** store to a string
Dim PageResult As String = sb.ToString()
' *** Write it back to the server
writer.Write(PageResult)
str = PageResult
Thanks,
Safvi
|
|
|
|
|
I have a page which contains ASP.NET AJAX toolkit (Accordion). I have around 22 AccordionPanel. All the controls in my page is within UpdatePanel control. When i ecute the project and when the Accordion is visible on screen, i go to check its HTML view source but it does not display anything that is within UpdatePanel in HTML. In Accordion I have few more ASP.NEt controls like textboxes, RadioButton and lot more.
Anyone can help how i will get the HTML of the controls.
Thanks in advance
|
|
|
|
|
It depends on what browser you are using. If its IE8 hit F12. For earlier IE versions get the developer toolbar.
|
|
|
|
|
|
Hi there
I am making a website in ASP.NET using vb.net in the Visual Studios 2008 IDE. I am just wondering is it difficult to embed a PDF file in a content page???
Any help appreciated..
cheers
Daithi
|
|
|
|
|
What do u mean by embedding? Do u mean creating a PDF file on any user control event. Like Print button, when hit should create a PDF control.
Let me know if i understand you correctly
|
|
|
|
|
Just use <iframe src="yourPDFfilenamewithPath.pdf" width="500" height="500" /> and the web browser will automatically load the pdf in the iframe.
or you can create a user control[^]
|
|
|
|
|
ya that did the trick!! thanks so much for the help!!
|
|
|
|
|
How do u send attachments by mail in VB.NET.
Do we need to save them temporarily and then delete afterwards?
|
|
|
|
|
hi FEMDEV!! to send attachments try this!!
string AddAtt = "C:/MyFile.txt";
MailMessage message = new System.Net.Mail.MailMessage();
message.Body = strBody;
message.Subject = strSubject;
message.From = new MailAddress(strFrom, Txt_NameOf.Text);
message.To.Add(new MailAddress(strTo, Txt_NameTo.Text));
message.Attachments.Add(new System.Net.Mail.Attachment(AddAtt)); what do you mean with save them temporarily and then delete?? save where? and why save and then delete?? ... good luck!
|
|
|
|
|
Hi
I have a web page that regularly refreshes on post back, and all of this works fine.
However, a user has made some suggestions to enhance the page, which I need some help with:
1) There are 3 asp.panels on the page, which are scrollable vertically. When the page refreshes, the scroll position returns to the top. The enhancement is to maintain the position of where ever the scrollbar is on postback. How do I keep the scrollbar position on post back?
2) Within each of the panels are dynamically added web controls. These web controls contain gridviews, which are themselves contained inside div tags. These div tags can be hiddened and made visible by an image button. This hidden and visible state is actioned by some javascript on the page. Again, the user has asked how it is possible to maintain the state of these div tags on post back, i.e. those that are closed and those that are visible. Currently, the state is on postback for all the div tags to be visible. How do I maintain the state of the visibility of a div tag during postback?
Thanks
|
|
|
|
|
You need to enable smart navigation and maintain scroll position on your page such that after complete postback it maintains the scroll.
If its a AJAX requst then you need to handle it in Ajax BeginRequest handler and EndRequest handler, where you track the scroll position before partial update and restore it after partial update is complete.
In order to maintain the states of Div tags, you have to maintain 'hidden' field. Update the hidden field and store the values such that you can track which div tag needs to be visible. Restore the state of div tag during postback based on the hideen value field.
|
|
|
|
|
Hi
Thanks for your reply, but do you have any examples I could follow on the scroll bar and div tags?
Thanks
|
|
|
|
|
I am cinderlla.i want hotel management system project in .net
Please help me.
|
|
|
|
|
I would be glad to help. Contact me and we can discuss rates. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
A rate of 15 mins per class (working) would be fine.
|
|
|
|