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

Huge imageButtons in grid

2 Answers 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fdf
Top achievements
Rank 1
Fdf asked on 14 Feb 2014, 08:19 PM
Im just using the default imagebuttons, nothing fancy. The images are huuuuge. How to mitigate this?

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 15 Feb 2014, 04:47 AM
Hi,

Im not able to replicate such an issue at my end. Make sure you have not set any size to the button. Below is a sample code snippet that use a GridButtonColumn and asp:ImageButton and I have tried with all skins. Please provide your code snippet if this doesn't help

ASPX:
<telerik:RadSkinManager ID="QsfSkinManager" runat="server" ShowChooser="true" />
<telerik:RadFormDecorator ID="QsfFromDecorator" runat="server" DecoratedControls="All" EnableRoundedCorners="false" />
<telerik:RadGrid ID="RadGrid1" runat="server">
    <MasterTableView >
        <Columns>      
            <telerik:GridButtonColumn ButtonType="ImageButton" ImageUrl="~/RadGrid8/image.jpg" HeaderText="ButtonColumn">
            </telerik:GridButtonColumn>
            <telerik:GridTemplateColumn HeaderText="AspImageBtn" UniqueName="AspImageBtn">
                <ItemTemplate>
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/RadGrid8/picture.jpg" />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
    </MasterTableView>
    <ClientSettings Selecting-AllowRowSelect="true" EnablePostBackOnRowClick="true">
    </ClientSettings>
</telerik:RadGrid>

Thanks,
Shinu
0
Pavlina
Telerik team
answered on 17 Feb 2014, 10:30 AM
Hello,

I noticed that you have opened multiple forum posts on the same matter. Please keep in mind that it is highly recommended that you keep related questions in one thread, so that we can easily keep track of your support history and provide better answers in a shorter time.

I would recommend you continue the communication on the subject in this forum thread.

Regards,
Pavlina
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Fdf
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Pavlina
Telerik team
Share this question
or