Put Generate Script Into A Seperate File?
Jan 14, 2011
I have a asp.net 4 web application. I am doing some SEO and performace tunning. I noticed that ASP.Net generates a lot of scripts on the fly, eg for validation and AJAX
is there any way these scripts can be put into a seperate file so it makes more code more relevant to content and reduces page size?
View 3 Replies
Similar Messages:
Apr 29, 2010
Here is what i would like to be able to do with the urls/routes:
1) www.domain.com/customer/home/index
2) www.domain.com/home/index
Where both the home controllers should be seperate controllers with seperate views and the company part should be an param for all the actions in the controllers.Now why i want to be able to do this is because of the following scenario: Each customer will have there own pages (which actually will all be the same for each customer but with different information per customer). The one without the customer is the general website where non customers can go to to become an customer or get information about the services we provide for them, they can sign up etc.
View 5 Replies
Mar 18, 2011
The code I have entered below works fine in an .aspx file, however when I seperate the C# code into an aspx.cs file I get the red underlining for both 'UserAccountWizard' and 'RegisterPatientWizard'. Is there any solution to this as I'm completely baffled right now. Here is all of the code in the .aspx file:
<%@ Page Title="" Language="C#" MasterPageFile="~/BCUHealthCentreOnline.master" CodeFile="~/App_Code/PatientRegister.aspx.cs" Inherits="PatientRegister" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>[code]....
View 6 Replies
Jul 16, 2010
I have a an error saying Error "Could not load type 'IRPSDEV.schoolva" when I want to compile or build. hese files where developed in visual studio 2003 then I converted them to visual studio 2008.Another problem is that when I double click on the file let say Tempstudent.aspx so that it take me toTempstudent.aspx.cs it not taking me to that file. Instead it is opening html. How can I solve these
View 7 Replies
Jul 8, 2010
I have an application I am trying to write that generates a text file conforming to a file specification, and the file could contain thousands of lines. This part is easy. The more challenging part for me is the user interface. It needs to be a web interface with various options to affect what data gets on the file; this part is no problem. The process for generating the file, though, could take a little time depending on the amount of data , and I would think the web page would time out.
What options do I have for the UI? Could I create some sort of service that the page calls and runs in the background? When the process errors or is finished, I'm thinking there could be an email sent out, or even messages displayed on the page.
View 4 Replies
Mar 22, 2011
I want to generate PDF files from Word Documents(.doc, .docx) or excel documents(.xls,.xlsx).
I tried using ITextSharp but with that I am not able to render the images/tables etc of word document into the pdf.
View 2 Replies
Feb 9, 2011
i want to generate the xml file from edm schema for indivual tables data
View 1 Replies
Jan 25, 2011
I have a small web application based on asp.net 2010 that manages invoices.
After the invoice is saved, it should automatically generate a pdf file.
which of the following solutions would be fast and easy to incorporate?
Use Sql Server 2008 Reports
Use Crystal Reports 2008 and Crystal Reports 2008 for VS 2010
Use itextsharp to create the pdf file
Use XSLFO to create the pdf file
The point here is I dont know any of the above. Which one is easy and quick to learn and implement. Are there any other solution to achieve this functionality?
View 5 Replies
Mar 25, 2010
I'm new to c# programming..I'm using windows form application c# .netI have been given a .resources file. it contains 2 columns 1) key and 2) values.I have brought the contents of this file into a datagrid using dynamic table in between and using resource manager.Now i have to edit the value column in the datagrid and if i click on a GENERATE button i should create a new resource file and it has to be stored as a file. In the same way i should create many sucj resource file.
View 1 Replies
Jan 7, 2010
I would like to generate a static URL based on a few parameters.The page serve the file for downloading is called CertificateDownload.aspx ,I am generating the download link in Report.aspx.These 2 files reside on the same physical folder.I do not like the replace method ,but I could not think of another way of doing it.How can I improve my code or what is a better way of doing it.
I need the absolute url to be displayed as text in the web browser.
Dim downLoadUrl As String = HttpContext.Current.Request.Url.ToString.Replace("Report.aspx", "CertificateDownload.aspx") + "?CertificateID=" + CertificateName
HyperLinkDownloadLink.Visible = True
HyperLinkDownloadLink.Text = downLoadUrl
HyperLinkDownloadLink.NavigateUrl = downLoadUrl
View 3 Replies
Mar 1, 2011
i am trying to generate a pdf file using itextsharp in asp.net c#.
I came across table concept in itextsharp n i am trying to use it ie my application. I am having the following problem while using tables.The pdf cell which contains Name of treasery the word treasery comes on next line. I am setting width for each cell. if i increase the width than also no changes come. The gap which is shown using arrow in below image remain as it is al the time. Why is that gap?How to remove that gap?I want a dotted line as a border to only one cell. how to do that?here is my code
PdfPTable line6table = new PdfPTable (3);
float[] width = new float[] { 2.5F, 1.5F, 3.0F };
line6table.SetWidths(width);[code]....
View 2 Replies
Nov 9, 2010
How would I generate a sitemap xml file dynamically from vb.nert code?
View 1 Replies
Apr 29, 2010
I'm using Visual Studio 2008. I've added a control on a page but can't reference it in code-behind file. When I looked at the Code-Gen file, I didn't find my new control. It looks like Visual Studio didn't update Code Gen file to include my control. Is there a way to manually re-generate that Code Gen file?
View 1 Replies
Aug 10, 2010
Does anyone know how i would generate an XML string using an XDR or XSL file in VB.net getting data from a SQL database (or from an my vb.net object), or even point me in the right direction
View 5 Replies
Jan 7, 2010
I would like to generate a static URL based on a few parameters. The page serve the file for downloading is called CertificateDownload.aspx ,I am generating the download link in Report.aspx.These 2 files reside on the same physical folder.I do not like the replace method ,but I could not think of another way of doing it. How can I improve my code or what is a better way of doing it.
I need the absolute url to be displayed as text in the web browser.
[Code]....
[Code]....
View 2 Replies
Jan 3, 2011
I need to make data export/import from sql enterprise server to local sql compact. It has to be automatically, so I can't use programms like SQL Management Studio. how to make such export/import?
View 2 Replies
Aug 3, 2010
My solution has a web.config file and it works, no problem. However, when i make a change to a file in one of my projects and then build, it auto-generates a web.config file for that project. Then if I go to the file in my browser, it throws a windows authentication error. I then have to delete the web.config file and it works.Why is it auto-generating this web.config file?
View 3 Replies
Mar 9, 2011
I need to create a pdf file from data obtained from a database. I have to retrieve the data from database and generate these data as a pdf file.I would like to have pointers (helpful information).
View 5 Replies
Jan 11, 2011
In ASP.NET MVC Application I would like to document my Views, so that I can generate a documentation (using NDoc). Since Views do not have a code behind the documentation should go somewhere into the View directly. I also do not want to generate code-behind file for each View in the project
Is there a tool/workflow/configuration that would allow me to extract inline documentation comments from aspx files (Views)
[code]....
View 1 Replies
Jan 11, 2011
I wanna know how can i generate PDf file on the fly from the data available in my Database.
View 3 Replies
Apr 1, 2010
I have a wsdl file, and Im generating proxy classes by this file. But if I use soap header proxy class was not generated correctly!
[Code]....
[Code]....
[Code]....
[Code]...
View 2 Replies
Jan 4, 2011
i want to generate random URL for the users who want to download my file which is located in my server (http://servername/book/book.pdf) after he bought from us. and that URL should expire after few days lets say (1 week) .
View 2 Replies
Mar 17, 2010
I am using xsd /c book.xsd to generate the a cs file. THe default cs file will be book.cs. I am wondering what swtich I can add so that i can name the generated cs file as document.cs instead of the default one. I attached the book/xsd and book.cs file, I am wondering why it generated two partial class? Should i name the generated file to match one of the partial class like BookForm.cs?
book.xsd:
[Code]....
Book.cs:
[Code]....
View 3 Replies
Nov 18, 2010
How to design an rdl file to generate a report.
i have tables n triggers created.
i use sql server 2005.
View 2 Replies
Nov 16, 2010
How to design an rdl file to generate a report.
View 2 Replies