How To Reduce Box Size

Aug 13, 2010

I have the line where is goes "Hide Suggested budget with tolerance %' then the box is too large. It is almost fine, you can see here

[URL]

The box holding the '5' for the Tolerance percent is too large. How can I reduce this?

the code for all this area is here:

[URL]

View 2 Replies


Similar Messages:

Reduce PDF Size On Upload To Database?

Oct 25, 2010

I have an application that allows users to upload a pdf. I am saving the PDF into SQL (I know already this is not the best practice, but it was not my decision) and I need to some how duing this upload process reduce the size of the pdf. Is there a way to get the uploaded file, reduce its size, then stream it to SQL?

View 12 Replies

Reduce The Size of The Image In Code Behind before uploading?

Mar 18, 2011

I am using a sql server 2008 database and I am uploading images to the server using an asp.net webapplication. I have an image column that I use to store the images. I have chosen the database to store the image and not a folder on the server, because the database table will contain only very few rows. maybe close to 10 or 15 rows.

My question is, Do I have to reduce the size (dimensions and quality affecting size on disc in kbs) of the image in code behind before uploading it to the database or do I keep it as is. The total upload size permitted is 200kb. I am thinking that when the image size (size in kbs) is small my webapplication performance will not be affected when displaying them from the database.

View 6 Replies

Web Forms :: How To Reduce Size Of Barcode Font In C#

Sep 30, 2012

i want to reduse the size of barcode image in this code . i tried to reduce but its cutting the number ...  how can i reduce the size of this barcode image

string barCode = TextBox2.Text;
System.Web.UI.WebControls.Image imgBarCode = new System.Web.UI.WebControls.Image();
using (Bitmap bitMap = new Bitmap(barCode.Length * 40, 80))

[Code]....

View 1 Replies

Web Forms :: Reduce Image Size And Dimensions Using C#

May 30, 2012

I have many image in my page my images size are between 100 -200kb I want redeuce my images size to 4-5Kb ... How I can do it? is there any control to do it?

View 1 Replies

Controls :: GridView Export To PDF - Reduce Font Size

Apr 4, 2013

I am using iTextSharp to convert my html page to pdf, It works perfectly.

But the size of the font is very big.

I am using the below code,

Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.AddHeader("content-disposition", String.Format("attachment; filename={0}.pdf", Me.psn.Text))
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Dim sw As New StringWriter()

[Code] ....

View 1 Replies

Web Forms :: Reduce Image Size While Fetching From Database

Feb 25, 2016

I have stored images in folder each images is more than 700kb so datalist binding process became slow.so it is possible that while loading record and corresponding images from folders Can I reduce the image size or compress images so that record fetching become faster.In database i m stroing image path and image is stored in directory.

View 1 Replies

Web Forms :: Optimize ScriptResource.axd And WebResource.axd To Reduce Page Size?

Dec 14, 2010

In my web application, I have used AJAX Toolkit and my .net version is 3.5. When I run the application and save the page, so many ScriptResource.axd and WebResource.axd generate which makes the file size 200 to 300 KB more big. After doing the same procedures mentioned in the above link, it was working fine as all ScriptResource.axd and WebResource.axd file is removed.

But when I go from one page to another page using on click, then Object Expected Error comes and when I debug it,I found one ScriptResource.axd file containing query string like .axd?d=-bA.like this and Request. GetResponse cannot find the file and it gives 404 errror (File Not Found).

View 3 Replies

When Load Webpage Image's File Size Stays Same Rather Then Reduce

Aug 4, 2010

when I load the web page the image's file size stays the same rather then reduce.

[Code]....

View 54 Replies

Visual Studio :: Publish The Website And Reduce Its Size By Command Line

Sep 11, 2010

We need through command line to build our site (which we already do using msbuild.exe), but the resulting files are way too many and it takes our to ftp it to the server. I am able to publish the website and reduce its size by ~90%; however, we need to do this through command line not manually using the GUI. I have read many postings but noone is clear on how to do it (and msbuild seems to no be able to do this). Can anyone provide me a link. We are using Visual Studio 2010 and DOT NET4.0

View 3 Replies

Web Forms :: Without Effecting Quality Reduce Image File Size While Resizing Saving To Folder

Aug 31, 2013

I have uploaded a .jpg image and resized as Small and Large thumbnail. The small image is (135 X 173) but after resizing the small thumbnail image file size is of 40.8 KB. And mostly all images (around 64) thumbnails having file size more than 40 KB. Due to which thumbnails taking lot of time to get display.

Is there a way through which we can reduce the image file size upto 8 to 12 kb, but without effecting image quaity??

Below is the source code that i am using for resizing an image:

If FileUpload1.HasFile Then
Dim stream As Stream = FileUpload1.PostedFile.InputStream
Dim x As String = IO.Path.GetExtension(FileUpload1.FileName).ToLower
If x = ".jpg" Or x = ".jpeg" Then
Dim image As New Bitmap(stream)

[Code] .....

View 1 Replies

Web Forms :: Dynamically Changing Size Of Content Placeholder Based On Browser Size?

Oct 14, 2010

I know the content palcehlder does not have a size ,I have a masterpage and content page, the master page has a table with a header, content area, and footer, header and footer are fixed size, content area is 100%. As the user sizes the browser the content area grows and shrinks and the footer stays at the
bottom of the browser window - perfect!

Problem: The contentpalceholder does not grow to fill the available content area. Now, the contentplaceholder gets its size from its contents, which in this case is a div holding a silverlight object.I was thinking I could hook the master or child page's re-size event and somehow pass that info onto the SL object, but as it turns out (and I'm surprised I never knew this) there is no aps.net page re-size event! (really?, wow.)

So is there a way to get a SL object hosted on a master page to size itself based on the size of the browser window?Or more generally, a way to size the contents (like a div or panel) of a contentplaceholder based on the browser? on a standard aspx page (not a master page) I CAN get the SL object to size itself based on the broswer, the problem seems to come from the fact that I'm hosting the SL object in a content placeholder.

I guess I could 'unroll' the master page into several standalone pages and have it work, but the menu is on the master page and I'm used to using them, plus it's already done...<sigh>

View 1 Replies

AJAX :: The Controls Inside TabContainer Size, Font Size And Location Changing After Page Refresh?

Dec 19, 2010

I am using TabContainer with some controls on each tab (asp: labels, text boxes). When redirecting to the page that contains the TabContainer, the tabs and their content loads as expected, but when there is a postback, and the page refreshes, the TabContainer UI changes - the font size of the labels gets bigger, the text boxes become bigger and their location changes a bit (not aligned as before), and the tab header is partially hidden. I am using IE7.

I dont know if this is relevant but in some of the text boxes i use edit mask extender as well for date. Also, I have used a table inside the TabContainer for layouting the controls.

View 1 Replies

AJAX :: PageMethods Results Size Limit / Is There A Setting In The Web.config Somewhere To Handle Pagemethod Buffer Size

Mar 24, 2010

I am using PageMethods to send a few parameters to a webmethod in my codebehind. The method runs a stored procedure and uses the results to build a string that I am returning from the method.

Everything works fine until I try to include too many records in my results..

Once the results I am trying to return hit about 70K, the pagemethod times out even though it is taking about 1 second to process the results.

Is there a buffer limit or limit on the size or results returned from a pagemethod and if so, where can this be set or changed?

Is there a setting in the web.config somewhere to handle pagemethod buffer size?

View 3 Replies

Security :: Caps Lock Is Off When Enter User Name It Prints In Capital Letters But Size Is Small size?

Oct 20, 2010

In login.aspx I have used login control to enter user name and password, the problem is: even my caps lock is off when I enter user name it prints in capital letters but size is small size (when I copy and paste in note pad or msword it paste in small letters not in capital letters), when I turn on my caps lock on and type - it prints in bigger size as if I am typing in capital letters.

ex: 1. temp is my user name if my caps lock is off it shows like this TEMP (but size in smaller than 2nd one)

2. if my caps lock is on is shows like this as if I am typing capital letters TEMP

what do you think the problem is how can I fix it

View 3 Replies

Web Forms :: Caching When Cached Size Exceed Memory Size?

Nov 29, 2010

As I know, by default Cache is stored in the memory and to the disk at the same time DiskCacheable=true).When the cached response is removed from the output cache due to memory pressure, it still remains on disk allowing a much larger set of pages to be cached. In addition, disk cached pages survive application restarts. And this is already in ASP.NET 2.0.I dont't know in which order the caches are removed from the memory and readen from disk instead? I would like to achive, that caches with the minimal trafic, or the longest last used, would be removed first from the memory. Is there some settings to do that, or even by default works that way?

View 1 Replies

Page Size As Screen Size And Scrollable Frame Inside

Aug 17, 2010

Here's the scenario:I have an asp.net webpage which displays dynamic data in a gridview.I'm using a master page to display the header and footer of the page, and this gridview is being displayed inside a div in the contentplaceholder.

The Problem:What I want is that the size of the page that is displayed remains constant for a user and must be equal to the size of their browser's available display area and the content being visible by scrolling the div.Sort of like the header and footer remain at the same position and the content inside it is scrollable.

View 1 Replies

VS 2010 - Increase Max Buffer Size And Max Received Message Size

Jul 19, 2011

according to the developer of the web service I am calling.He said "bump up the default values for the following":

maxBufferSize="4096000"
maxReceivedMessageSize="4096000"

Where can I put these to bump them up? I've tried googling these settings, and I get sections of web.config that I don't have. I don't have a WCF client, either. Does this make sense to do from my web service, developed in VS 2010?

I'd like to just call his service without changing anything, get the error, and then go from there. I'm even getting that far because I got some other exception saying server was unable to process request, but it had nothing to do with exceeding a buffer size.

View 2 Replies

.net - Reduce This IF-Else Ladder In C#?

Apr 8, 2010

This is the IF -Else ladder which I have created to focus first visible control on my form.According to the requirement any control can be hidden on the form.So i had to find first visible control and focus it.

if (ddlTranscriptionMethod.Visible)
{
ddlTranscriptionMethod.Focus();

[code]...

View 10 Replies

How To Reduce The Quality Of The Picture So It Is Less Than 10 KB

Jan 15, 2011

I am using asyncfileupload ajax control and can successfully upload and save picture on server.I need to do the following and not sure how:When user is in process of uploading, I only want them to see *.jpg *.gif and *.bmp files
Once the user uploads their picture, how do I reduce the quality of the picture so it is less than 10 KB?

View 1 Replies

Reduce Spacing In Silverlight

Feb 26, 2010

I have two lines of labels each in a Horizontal StackPanel. When they display there is a wide space (about an inch) between them. I can't figure out how to reduce this spacing. The height characteristics does not seem to do it.

<UserControl x:Class="SilverlightApplication1.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" Margin="10">
<StackPanel x:Name="LayoutRoot" Background="LightGray" Margin="10">
<StackPanel Orientation="Horizontal" Height="50" Width="500" Margin="10">
<TextBlock Height="15" Width="100" Margin="20"/>
<TextBlock Text="Heading" Height="15" Width="100" Margin="10"/>
<TextBlock Text="PDOF" Height="15" Width="100" Margin="15"/>
<TextBlock Text="PDOF" Height="15" Width="100" Margin="15"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Height="50" Width="500" Margin="10">
<TextBlock Height="15" Width="100" Margin="20"/>
<TextBlock Text="(degrees)" Height="15" Width="60" Margin="10"/>
<TextBlock Text="locked" Height="15" Width="40" Margin="10"/>
<TextBlock Text="(degrees)" Height="15" Width="100" Margin="15"/>
<TextBlock Text="(O'Clock)" Height="15" Width="100" Margin="15"/>
</StackPanel>
</StackPanel>
</UserControl>

View 2 Replies

How To Reduce Gap Between 2 Tables In Javascript

Jul 23, 2010

I am using Javascript for my ascx control. I have 2 tables, one below the other. My code written is like

</tr>
</table>
<table style="border-spacing: 15px;">

But when i execute, it shows almost 2 inch space between them.

View 3 Replies

Data Controls :: Size Of BLOB / TEXT Data Inserted In One Transaction Is Greater Than 10% Of Redo Log Size

Feb 25, 2016

My admin set innodb_buffer_pool_size=512M, innodb_log_file_size=128M, and innodb_log_buffer_size=1M although in mysql query show global variables its showing what the value is set. When i restart my system also its showing what we set the data.(It means we set log file buffer file size to max and its working fine.) but when i try to upload a file of 58 mb again its throwing error as The size of BLOB/TEXT data inserted in one transaction is greater than 10% of redo log size.

View 1 Replies

How To Reduce Image Load Time

Dec 18, 2010

I have a problem of image loading. My site contains around 20 images on home page. It will take to much time to load.

So is there any code in asp.net framework 3.5 that will reduce the load time without jquery or javascript.

View 2 Replies

Reduce Second By Second From Total Amount Of Time In C#?

Nov 11, 2010

I have a variable called "Totaltime" in my program. I assign the variable (in seconds) as Totaltime = 3600. Now i want to reduce the time by 1 sec for each Tick event and show the reducing time in label or litera control. tell the C# ASP.NET coding to implement this?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved