15,898,687 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by mayur mkt (Top 8 by date)
mayur mkt
20-Nov-12 1:34am
View
yes I don't have an issue with the button being clicked..and there is nothing to show in code..I will try after removing css and will get back to you
mayur mkt
20-Nov-12 1:32am
View
Delay is occuring each time not only the page first loads and also after button clicked, I am not generating pdf in javascript..
mayur mkt
19-Nov-12 7:32am
View
<form id="frmhlderrpt" runat="server">
<div id="dvtop" align='center' style='width:100%;position:relative;font-weight:bold;top:30px;'>
<table align="center">
<tr align="center">
<td align="center">
<asp:Button ID="btnpdf" CssClass="btnsmall" runat="server" Text="GeneratePDF" OnClientClick="javascript:pdfflag();" />
</td>
</tr>
</table>
<table align="center">
<tr align="center" id="divprocess" style="display:none;">
<td align="center" style="height: 20px">
<img id="Img1" src='../Images/Processing.gif'>
Please wait
while your request is being processed...
</td>
</tr>
</table>
</div>
mayur mkt
27-Sep-12 6:09am
View
can any one of you tell me..how to insert color or how can i get css effects which i have applied in my asp.net page..i am using code in asp.net
mayur mkt
10-Aug-12 9:33am
View
strtbl.AppendLine("<div id='divrpt' align='left' style='font-size:6pt;font-weight:bold;height:5px;;'>")
strtbl.AppendLine("<table id='tblrptshow' cellpadding='0' cellspacing='0' align='left' style='auto;border-right:#E5E5E5 1px solid;border-top:#E5E5E5 1px solid;border-bottom:#E5E5E5 1px solid;border-left:#E5E5E5 1px solid' >")
'strtbl.AppendLine("<div id='divrpt' style='height:5px;width:100%;'>")
'strtbl.Append("<div id='divrpt' style='height:5px;width:100%;position:relative;top:20px'>")
'strtbl.AppendLine("<table id='tblrpt' cellpadding='0' cellspacing='0' align='center' style='auto;width:99%;border-right:#E5E5E5 1px solid;border-top:#E5E5E5 1px solid;border-bottom:#E5E5E5 1px solid;border-left:#E5E5E5 1px solid' >")
'strtbl.AppendLine("<table id='tblrpt' cellpadding='0' cellspacing='0' align='center' width='98%' style='border-top:#E5E5E5 1px solid' >")
strtbl.AppendLine("<tr><td colspan=7 ><br/></td></tr>")
strtbl.AppendLine("<tr><td colspan=7 ><br/></td></tr>")
strtbl.AppendLine("<tr><td colspan=7 ><br/></td></tr>")
strtbl.AppendLine("</div></table>")
Finally i get it into hiddenfield as
hdpdf.Value = strtbl.ToString().Trim
mayur mkt
10-Aug-12 2:10am
View
need solution
mayur mkt
9-Aug-12 10:07am
View
thanks
mayur mkt
9-Aug-12 9:57am
View
Thanks for reply
But its not done
I am appending html text in stringbuilder as follows
strtbl.AppendLine("<div id='divrpt' style='font-size:10px;height:5px;width:100%;'>")
strtbl.AppendLine("<table id='tblrptshow' cellpadding='0' cellspacing='0' align='center' style='auto;width:99%;border-right:#E5E5E5 1px solid;border-top:#E5E5E5 1px solid;border-bottom:#E5E5E5 1px solid;border-left:#E5E5E5 1px solid' >")
'strtbl.AppendLine("<div id='divrpt' style='height:5px;width:100%;'>")
'strtbl.Append("<div id='divrpt' style='height:5px;width:100%;position:relative;top:20px'>")
'strtbl.AppendLine("<table id='tblrpt' cellpadding='0' cellspacing='0' align='center' style='auto;width:99%;border-right:#E5E5E5 1px solid;border-top:#E5E5E5 1px solid;border-bottom:#E5E5E5 1px solid;border-left:#E5E5E5 1px solid' >")
'strtbl.AppendLine("<table id='tblrpt' cellpadding='0' cellspacing='0' align='center' width='98%' style='border-top:#E5E5E5 1px solid' >")
strtbl.AppendLine("<tr><td colspan=7 ><br/></td></tr>")
strtbl.AppendLine("<tr><td colspan=7 ><br/></td></tr>")
strtbl.AppendLine("<tr><td colspan=7 ><br/></td></tr>")
...................
And finally i take all string in hiddenfield as
hdpdf.Value = strtbl.ToString().Trim//changed as you suggest
but no any effect
Show More