This is a migrated thread and some comments may be shown as answers.

Why "Add New" graphic button stretched?

3 Answers 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
EZNet Support
Top achievements
Rank 1
EZNet Support asked on 21 May 2008, 03:14 PM
I put an "Add New" graphic button in my CommandItemTemplate of my grid, but when it shows up it's stretched and big.  Any ideas why?

I even specified the actual height/width.  Here's my code...

<

CommandItemTemplate>

<asp:ImageButton ID="ImageButton1" CommandName="InitInsert"

ImageUrl="~/resources/btnAdd.gif" runat="server" Height="27px" Width="75px" />

</CommandItemTemplate>

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 21 May 2008, 03:16 PM
Hello JERRY,

Do you have any global CSS related to INPUT elements?

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
EZNet Support
Top achievements
Rank 1
answered on 21 May 2008, 05:57 PM
No INPUT specs in my CSS.
0
Dimo
Telerik team
answered on 22 May 2008, 12:40 PM
Hi Jerry,

Sorry about the misunderstanding - we wanted to ask whether you have any width/height CSS styles for images?

If not, then please make sure that the Add button is really 75px wide and 27px high.

Let us know if you still experience problems.


Sincerely yours,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
EZNet Support
Top achievements
Rank 1
Answers by
Vlad
Telerik team
EZNet Support
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or