|
Hi
i'm looking for a series of useful and practical tutorials which demonstrates how to generate .aspx pages automatically using xsl (or better technologies to accomplish this).
i found this article[^], but it's not useful for me.
my goal is generate Insert,Update,Delete,Report pages base on my data in database.
my another scenario is that those page should have masterPage and can customizable with third party controls.
i can do this via string templates in my code, but its very hard-coded and dosn't readability.
any help would be great appreciated.
|
|
|
|
|
An aspx page itself capable to generate dynamic html using the server side code, xsl also doing the same thing. Both are produce html as output. The final output send to client browser is always html. So what you mean by dynamic pages? Do you want to display page names on browser address bar that are not in server? In that case you can use url rewriting.
|
|
|
|
|
Hi Kannan Ar
no, i don't do that.
i want to create a web application base on database schema, my app generate pages for that web application which do CRUD commands for each objects that user selected (New, Edit, Display and ShowList pages for each table/view).
i want to generate these pages automaticallu to free developer from hard coding for CRUD scenarios.
|
|
|
|
|
So you want separate web pages for each table in database. Since the tables in a database are fixed number, why do you want to create additional pages at runtime? They might be also fixed number right? I can't see any benefits on such an implementation. I am sorry may be I am not an expert on this subject.
|
|
|
|
|
|
|
|
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
|
|
|
|