C# - Customize Printing Properties?
Mar 12, 2011
I need to print some pictures in asp.net page and I need to print every picture in a separate page. How can I do this using ASP.net C#?
When I use window.print() it prints the whole page, but I need just the images and also every image in a separate page!
View 1 Replies
Similar Messages:
Nov 23, 2010
I have usercontrol called as 'DateControl1' in which i have textbox and a calenderextender(ajax).I have written a property for my usercontrol as follows: public string DateFormat
{
get { return dateformat; }
set { dateformat = value; }
}
when i assign the format in my cs file as DateControl1.DateFormat = "dd-mm-yyyy", then this dateformat must be assigned to the built-in property of Calenderextender.Can anyone please tell how to do this in c# asp.net?
View 1 Replies
Jan 19, 2011
I have enabled Logging in my Default website properties. There are around 10 virtual directories (websites) under my default website. For a particular website I need to enable "URI Query" option in Extended Logging Options. I want IIS to log this only for one particular virtual dir and not for the others.
Is there a way that I can exclusively decide logging options for one virtual dir ?
View 2 Replies
Dec 22, 2010
I am using formview control to generate invoice. But instead of printing html view it is printing html code in PDF. I am doing like this:
[Code]....
View 2 Replies
May 1, 2010
I'm developing an application in which user can decide if he wants to print something now or at some other time. So the idea is for user to click print and say now or determine the time when the document will be printed (without any further user inputs). I don't know what is the best way in asp.net mvc to this. Is there any way to print html in this way or do i have to convert that html in some other format and save it in database?
View 4 Replies
Nov 3, 2010
I have a new VS2010 .NET 4.0 Web project and the Properties Folder has gone wierd on me. It has lost teh "Open" under the right click. There is no way to get a Settings file created now.
I am unable to get to the Settings grid and no Settings file is created. I tried the help and it has the normal trip of select Properties, Open (right click), Settings Tab, etc. etc.
View 1 Replies
Mar 3, 2010
I am relatively new to ASP.NET. I am just wondering if there is way to read values from properties file (similar to rading a properties file from JSP or java).
For example if a property file has something similar to this:
[Code]....
I would like to read all the values for username_list (comma seperated) and also the value of is_valid.
View 2 Replies
Dec 16, 2010
In my LogOnViewModel.cs :[Code]....I have this code, and on the view control, i call <%: Html.EditorForModel()%>
Then I have something like this look:
UserName:|||||||||||||||||||||||||||||||||||| <- TextBox
Password:||||||||||||||||||||||||||||||||||| <- TextBox
ㅁ <- Checkbox
||Login|| <- submit button
how do i change the layout of this template? I want to change the text and change the position of the textboxes.I know that I can customize it by calling individual fields and write hard-coding, but I am curious if there is a way to use EditorForModel() in easier.
View 1 Replies
Nov 2, 2010
I've written code that can make a phone dial a number from a function call, that's done and dusted. What I would like to achieve is adding a Dial button to each phone number field on the forms in Dynamics CRM. Eventually this could also create a new phone record fill in the basic details and show it to the user to enter notes and an outcome for the phone call, and perhaps some other workflow bits to schedule the next call.
Can I put a custom control on a standard form in place of the standard control. I'm assuming it would have to be an IFrame to an asp.net page, that pulls in the record id, and the field name, looks up the number to show in a text box, and passes the number to the DialNumber function. I assume its not going to be that easy... Has anyone tried this before, what's the process, what are the gotchas?
View 1 Replies
Aug 24, 2010
I'm looking to customize the tooltip look of an asp.net chart.
View 1 Replies
Jun 4, 2010
I have this requirement to display site sub menu items in horizontal direction instead of vertical.
Home | Site1 | Site2
Page1 | Page2 | Page3
Is there any attribute avaliable in Sharepoint:ASPMenu to achieve this. We dont intend to write code behind for this. how to achieve this thru Sharepoint desinger.
View 1 Replies
Nov 26, 2010
in my web page am using Tab control i.e AJAX Toolkit Tab control.
if am applying styles the it won't work , how to apply styles in tab control.
View 2 Replies
Jan 28, 2011
how do i go about modifying the display of the validationSummary control in asp.net i want to modify it completely not just modify the color of the text etc.has anyone got any sample code etc ?
View 2 Replies
Nov 27, 2010
Is it possible to allow a user to customize sections of our website to match their look and feel? For example, to modify logos and CSS, possibly pointing back to their site for the actual content. Ideally I would also like a third-party (ASP.NET) tool to manage this, rather than coding a hack myself.
Edited: I want a solution where a customer can just use a menu to modify the attributes they want, so that there is no need for me to interact with the customer at all.
View 1 Replies
Jan 6, 2011
Is it possible to customize a siteMapNode? Like adding space between the menu selections and/or adding icons?
View 1 Replies
Feb 28, 2011
I've been searching high and low trying to find out how to customize the AJAX Editor. I can create a custom aspx page and add the methods FillTopToolbar() and FillBottomToolbar(), but these don't seem to do a lot. In fact, if I leave the bottom one blank,I still get all three buttons in the bottom toolbar (even if I just add one or two of the buttons in the method as in some samples I've seen, I still get all three). I'd also like an image button, but everything keeps directing me to some OBout site, which, for all of its documentation, tells me absolutely nothing, except maybe that I have to buy their control. (I noticed their control has twice as many buttons on it.
View 1 Replies
Apr 6, 2010
I have a page that contains information retrived from the database. It's a simple page. Inside the page I have in left side a panel with controls that will filter the result from the database; on the top I have the sumary of the information retrived from the database and the middle I have the data (it's a htmltable created dinamically). As I said, very simple.
The problem is that this page have to be customized per client. for example:
The client 1 have a logo (image 500x50), have a fotter with image (500x50).
The client 2 have only a logo (image 800x100) and wants that appears on the botton of left side, some information about stock market.
The client 3 have a oval logo and wants a background image with the colors of the company.
As you see, I have a core (the data from database + controls to filter) and all the pages have to be customized.
My question is:
How can I accomplish this task. Do I create per each client a specif XSLT to handle the HTML? Do I create per each client a customized Page (each page inside a specific directory)? Is there a way to accomplish this task using only one page even with specific layouts?
View 5 Replies
Oct 13, 2010
I want to have rounded corners for the validator callout.
View 1 Replies
Aug 19, 2010
I need to modify the open-source FCKeditor (not CKeditor) to allow users to select multiple files and upload them in one go (as opposed to selecting them one at a time).
I've found a way to provide the functionality - there are ready made components that can be used.
But how do I add custom buttons with custom functionality in FCKeditor.
View 1 Replies
Jul 22, 2010
I use ViewModel to display datawhen i use to code
[Code]....
I want to know how to customize id and name will use the htmlHelper such as XXXXXXxxFor() ?
View 5 Replies
Jun 23, 2010
As my app gets deployed on diff servers so I have to display the Top banner on the error page depending upon which server it is on.Can I customize the customerror page?
View 3 Replies
Sep 1, 2010
I have more problem in costomize membership provider, i did download the code in c# from videos tutorial, that code have Membership provider class. but i am unable to use that class. how i will use it.
View 7 Replies
Aug 13, 2010
I have created a MVC application and I want to make it customizable by adding an API to it, how do I go about doing this?
So, I have a database table called Orders with a bunch of a fields and my application is a simple form with the ListView control and users can add and delete orders. this API should allow users to add extra columns to ListView control and extra buttons as well.
View 2 Replies
Sep 2, 2010
I have 2 websites running on localhost in different ports. As browsers do not differentiate port numbers when sending cookies, my forms authentication ticket from one site is being sent to the other
How do I solve this? I thought that a good solution would be to change the forms authentication ticket or one of the websites but I don't know how to do this.
View 1 Replies
Mar 25, 2010
I have a webservice, that when called, calls many other web services based on the information that was sent. I have always left the timeout as the default, or a better way to describe it, I have never changed anything.
How (and where) do I change the timeouts for each service individually. Since I have quite a few now, I want the original transaction to never take more than 30 seconds. That said. I want to go in and change the timeouts for the services I have to ping in that 30 seconds to be 5 to 10 seconds based on which one.
View 2 Replies