|
|
vnsraj wrote: link given below for more details.
http://somewebguy.wordpress.com/2009/05/08/itextsharp-simplify-your-html-to-pdf-creation/[^]
Did you ask the guy who wrote the article?
|
|
|
|
|
There is an iTextSharp forum (not at CP and I don't remember the link now). It would be better to ask there. Google would give the link to that.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
|
hello guys,
anybody have exact solution?
i want it urgently plz tell.
|
|
|
|
|
hi
i want to send the mail on click of button . but the body of the mail should contain one aspx page its is just like the scenario as most of the site sent there newsletter to the people who all had subscrided to that site
i want to know how they form the body of the mail , it must be some html page or aspx.
so i want the code to do the same ...
thanks
regard
vimal
|
|
|
|
|
Emails are sent using HTML formatting
vimalkumarsinghal wrote: i want the code to do the same
Don't demand anyone give you code. You have the capability to find the answer.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
as stated the body is HTML and they add URL to the images path.
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Render your page and send the response to your mail.
Also make IsBodyHtml = true for MailMessage object.
|
|
|
|
|
please suggest me the proper method
i tried putting the body.htmltext=...
but it does not display the image to me since i am per formining the operation on sharepoint server..
the doc is converted to aspx page and i have to send that aspx as a body of mail to the registered user
thanks
|
|
|
|
|
|
Stick the the options suggested by Abhishek Sur
Take a look at this, this might give you an idea
Google link[^]
Alexei Rodriguez
|
|
|
|
|
Hi...
I have used ReportViewer1 in order to show the data in Reporting format.
It works fine on local server but at live server it throws error as ...
System.Security.SecurityException: That assembly does not allow partially trusted callers.
Kindly help to solve this issue.
Thanks.
Regards,
PRAVIN MAHAJAN
|
|
|
|
|
|
Hey Thanks Abhishek for replying but still I have a problem, I'm littlebit new
in this, I can send u some part of code from my web.config file, Please Help me..
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<trust level ="Full" />
<compilation debug="true">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</buildProviders>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<!--<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>-->
<authentication mode="Windows"/>
<customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm"/>
<error statusCode="404" redirect="FileNotFound.htm"/>
</customErrors>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
<anonymousIdentification enabled="true"/>
<profile enabled="true">
<properties>
<add name="Passenger" type="Passenger" allowAnonymous="true" serializeAs="Binary"/>
</properties>
</profile>
<httpHandlers>
<remove path="*.asmx" verb="*" />
<add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
validate="false" />
<add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
validate="false" />
<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
validate="false" />
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
validate="false" />
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
---->((((AFTER ADDING trust level ="Full" I got a error which is given below:
This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowoverride="false"> from an inherited configuration file.))))
Thanks in Advance..
Regards Pravin Mahajan
|
|
|
|
|
I think siteadmin blocked Trustlevel section.
Contact with admin and check whether it is blocked or not.
|
|
|
|
|
Hey Thanks Abhishek, I will check it... and contact u....
Thanks Once Again..
|
|
|
|
|
You are most welcome.
Dont forget to click on Good Answer, If you like my solution.
|
|
|
|
|
Hi All,
Back ground worker event progress changed event is not getting called in C#.
Thanks and regards,
Amit Patel
|
|
|
|
|
And would you expect it to? Are you getting any errors? Do you have any code samples? Its Friday, and I can't be bothered to try and outguess you, so what is your question - or is it just a comment?
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
inside Do i m doing this following thing
MsftDiscRecorder2 discRecorder = new MsftDiscRecorder2();
BurnData burnData = (BurnData)e.Argument;
discRecorder.InitializeDiscRecorder(burnData.uniqueRecorderId);
discRecorder.AcquireExclusiveAccess(true, m_clientName);
MsftDiscFormat2Data discFormatData = new MsftDiscFormat2Data();
discFormatData.Recorder = discRecorder;
discFormatData.ClientName = m_clientName;
discFormatData.ForceMediaToBeClosed = checkBoxCloseMedia.Checked;
object[] multisessionInterfaces = null;
if (!discFormatData.MediaHeuristicallyBlank)
{
multisessionInterfaces = discFormatData.MultisessionInterfaces;
}
IStream fileSystem = null;
if (!CreateMediaFileSystem(discRecorder, multisessionInterfaces, out fileSystem))
{
e.Result = -1;
return;
}
discFormatData.Update += new DiscFormat2Data_EventHandler(discFormatData_Update);
try
{
discFormatData.Write(fileSystem);
e.Result = 0;
}
catch (COMException ex)
{
e.Result = ex.ErrorCode;
MessageBox.Show(ex.Message, "IDiscFormat2Data.Write failed",
MessageBoxButtons.OK, MessageBoxIcon.Stop);
}
discFormatData.Update -= new DiscFormat2Data_EventHandler(discFormatData_Update);
if (this.checkBoxEject.Checked)
{
discRecorder.EjectMedia();
}
inside discFormatData.Write(fileSystem);
this call the follwing m_UpdateDelegate(sender, args);
this calles the
void discFormatData_Update([In, MarshalAs(UnmanagedType.IDispatch)] object sender, [In, MarshalAs(UnmanagedType.IDispatch)] object progress)
{
if (backgroundBurnWorker.CancellationPending)
{
IDiscFormat2Data format2Data = (IDiscFormat2Data)sender;
format2Data.CancelWrite();
return;
}
IDiscFormat2DataEventArgs eventArgs = (IDiscFormat2DataEventArgs)progress;
m_burnData.task = BURN_MEDIA_TASK.BURN_MEDIA_TASK_WRITING;
m_burnData.elapsedTime = eventArgs.ElapsedTime;
m_burnData.remainingTime = eventArgs.RemainingTime;
m_burnData.totalTime = eventArgs.TotalTime;
m_burnData.currentAction = eventArgs.CurrentAction;
m_burnData.startLba = eventArgs.StartLba;
m_burnData.sectorCount = eventArgs.SectorCount;
m_burnData.lastReadLba = eventArgs.LastReadLba;
m_burnData.lastWrittenLba = eventArgs.LastWrittenLba;
m_burnData.totalSystemBuffer = eventArgs.TotalSystemBuffer;
m_burnData.usedSystemBuffer = eventArgs.UsedSystemBuffer;
m_burnData.freeSystemBuffer = eventArgs.FreeSystemBuffer;
backgroundBurnWorker.ReportProgress(0, m_burnData);
}
|
|
|
|
|
In the C# forum as well.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
I have a DIV in my web project whose image in back ground is to changed on SelectedIndexChanged event on 3 drop down lists. All the 3 ddl's have different images associated with them. Basically those images are gif files. But i m unable to do so
any help???
|
|
|
|
|
Create 3 css classes in you style sheet, one for each image.
Change the class attribute of the div to select the image.
Are you trying to change the image with javascript, ajax or postback? Can you post your code that you have tried so far?
I didn't get any requirements for the signature
|
|
|
|
|
thanks for ur reply.. i dont want to use javascript. i can use ajax,if get any idea. and those ddl's do use postback
|
|
|
|