?
Solved

Can I control the size of the Image rendered in a ButtonField Image on a GridView?

Posted on 2008-11-17
3
Medium Priority
?
789 Views
Last Modified: 2013-11-07
I have several buttonfields of type Image on a GridView.  The images are all 16x16 but are being rendered larger.  I'm guessing almost 3x size within the browser.

Can I control how this is being rendered?  Do I need to use CSS?
0
Comment
Question by:Bruce
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
sm394 earned 2000 total points
ID: 22976781
try setting
Width="16" Height="16"
of image button
0
 
LVL 1

Author Closing Comment

by:Bruce
ID: 31517480
DOH!!  :-))
Too easy...
That worked.  Thanks.

(Guess I need another cup of jo this morning...)
0
 
LVL 13

Expert Comment

by:sm394
ID: 22976959
 :)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
There may be issues when you are trying to access Outlook or send & receive emails or due to Outlook crash which leads to corrupt or damaged PST file. To eliminate the corruption from your PST file, you need to repair the corrupt Outlook PST file. U…
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question