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

[Solved] RadUpload in RadGrid visualizing problem

3 Answers 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Larevenge
Top achievements
Rank 1
Larevenge asked on 02 Dec 2009, 05:32 PM
I have a problem with a RadUpload while using it in a RadGrid. In Firefox this RadUpload is presented just fine, when i try to use it in Internet Explorer, the RadUpload  is messed up. THis means that it don't adjust the skin to the control and also shows the "browse" option on weird places when i hover the control. I attached 2 printscreens to this message to show the problem.

Beneath i have the code.

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucKlantDocumenten.ascx.cs" 
    Inherits="VEGAS.Klanten.ucKlantDocumenten" %> 
<telerik:RadGrid ID="RGKlantDocumenten" runat="server" GridLines="None" AllowPaging="True" 
    AllowSorting="True" AutoGenerateColumns="False" ShowStatusBar="True" OnPreRender="RGKlantDocumenten_PreRender" 
    OnNeedDataSource="RGKlantDocumenten_NeedDataSource" OnItemCommand="RGKlantDocumenten_ItemCommand" 
    Skin="Telerik" OnDetailTableDataBind="RGKlantDocumenten_DetailTableDataBind" AllowMultiRowSelection="False"
    <PagerStyle Mode="NumericPages"></PagerStyle> 
    <MasterTableView Width="100%" DataKeyNames="intKlantDocumentID" EditMode="PopUp"
        <DetailTables> 
            <telerik:GridTableView DataKeyNames="intDocumentID" Width="100%" SkinID="2" Name="FysiekDocument" 
                runat="server" HierarchyLoadMode="Client" CommandItemDisplay="Top" CommandItemSettings-AddNewRecordText="Upload document" 
                CommandItemSettings-RefreshText="Vernieuw" EditMode="Popup"
                <Columns> 
                    <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn1"
                        <HeaderStyle Width="20px" /> 
                        <ItemStyle CssClass="MyImageButton" /> 
                    </telerik:GridEditCommandColumn> 
                    <telerik:GridBoundColumn DataField="intDocumentID" UniqueName="intDocumentID" Visible="true"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="strDocumentNaam" UniqueName="strDocumentNaam" 
                        HeaderText="Documentnaam" Visible="true"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="strFileName" UniqueName="strFileName" HeaderText="Document" 
                        Visible="true"
                    </telerik:GridBoundColumn> 
                    <telerik:GridBoundColumn DataField="strDocumentextensie" HeaderText="Documentextensie" 
                        SortExpression="strDocumentextensie" UniqueName="strDocumentextensie"
                    </telerik:GridBoundColumn> 
                    <telerik:GridDateTimeColumn DataField="dtmUpload" HeaderText="Upload datum" UniqueName="dtmUpload" 
                        DataFormatString="{0:dd/MM/yyyy}"
                    </telerik:GridDateTimeColumn> 
                    <telerik:GridBoundColumn DataField="intKlantDocumentID" UniqueName="intKlantDocumentID" 
                        Visible="true"
                    </telerik:GridBoundColumn> 
                    <telerik:GridTemplateColumn> 
                        <ItemTemplate> 
                            <asp:LinkButton ID="btnTTT333TTT" runat="server" Text='<%# Eval("strFileName") %>' 
                                CommandName="Download" /> 
                        </ItemTemplate> 
                    </telerik:GridTemplateColumn> 
                    <telerik:GridButtonColumn ConfirmText="Wilt u dit klantdocument verwijderen?" ButtonType="ImageButton" 
                        CommandName="Delete" Text="Delete" UniqueName="DeleteColumn1"
                        <HeaderStyle Width="20px" /> 
                        <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" /> 
                    </telerik:GridButtonColumn> 
                </Columns> 
                <EditFormSettings UserControlName="ucKlantDocumentDetails.ascx" EditFormType="WebUserControl"
                    <EditColumn UniqueName="EditCommandColumn1"
                    </EditColumn> 
                    <PopUpSettings ScrollBars="Auto" Height="300px" Width="550px"></PopUpSettings> 
                </EditFormSettings> 
            </telerik:GridTableView> 
        </DetailTables> 
        <Columns> 
            <telerik:GridBoundColumn DataField="intKlantDocumentID" UniqueName="intKlantDocumentID" 
                Visible="true"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="strTypeStap" UniqueName="strTypeStap" Visible="true"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="intBeheerDocumentID" UniqueName="intBeheerDocumentID" 
                Visible="true" HeaderText="Document ID"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="strDocumentNaam" UniqueName="strDocumentNaam" 
                HeaderText="Documentnaam" Visible="true"
            </telerik:GridBoundColumn> 
            <telerik:GridDateTimeColumn DataField="dtmVerloopdatum" HeaderText="Verloop datum" 
                UniqueName="dtmVerloopdatum" DataFormatString="{0:dd/MM/yyyy}"
            </telerik:GridDateTimeColumn> 
        </Columns> 
    </MasterTableView> 
</telerik:RadGrid> 

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 03 Dec 2009, 08:35 AM
Hello Corné,

The RadUpload skin is not applied at all in IE. Judging by the provided information, I suspect that you have too many CSS files on the page. IE is unable to handle more than 32. Is this the case? If yes, then use RadStyleSheetManager to combine all embedded CSS files into one.

If the problem seems to be different, we will need a runnable demo to inspect it locally.

Regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Larevenge
Top achievements
Rank 1
answered on 03 Dec 2009, 10:54 AM
Thanks for the answer, youre right that there are a lot of css files, but not 32. Anyways, i will try to bring those down first.
0
Larevenge
Top achievements
Rank 1
answered on 08 Dec 2009, 05:55 PM
Well after adding a RadStyleSheetManager to the MasterPage the problem was fixed. Thanks for the answer.
Tags
Grid
Asked by
Larevenge
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Larevenge
Top achievements
Rank 1
Share this question
or