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

Erro VS2013 Grid

2 Answers 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robson
Top achievements
Rank 2
Robson asked on 25 Oct 2013, 10:09 AM
Hi,


when I use the grid GridTemplateColumn not score loads the Skin.



See the attachment.

Erro only in debug mode VS 2013.

In VS 2012 loads  normal.

Version Telerik Q3 2013. All browsers.

My Grid.

<telerik:RadGrid ID="RadGridClienteInd" runat="server" AllowMultiRowSelection="True"
                             AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
                             CellSpacing="0" GridLines="None" Skin="Vista"
                             ShowGroupPanel="False"  Width="100%" 
                             >
                <SortingSettings SortedAscToolTip="Ordenação crescente"
                                 SortedDescToolTip="Ordenação decrescente"
                                 SortToolTip="Clique aqui para ordenar" />
                <ClientSettings AllowDragToGroup="True">
                    <Selecting AllowRowSelect="True"></Selecting>
                    <Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling>
                    <ClientMessages DragToGroupOrReorder="Drag to group" />
                    <Selecting AllowRowSelect="True" />
                    <ClientMessages DragToGroupOrReorder="Drag to group"></ClientMessages>
                    <ClientEvents OnRowDblClick="RowDblClick" />
                </ClientSettings>
                     
                <GroupingSettings CollapseTooltip="" ExpandTooltip="Expandir grupo"
                                  GroupContinuedFormatString="... continuando o grupo da página anterior. "
                                  GroupContinuesFormatString=" Grupo continua na próxima página."
                                  GroupSplitDisplayFormat="Mostrando {0} de {1} items."
                                  UnGroupButtonTooltip="Clique aqui para desagrupar" UnGroupTooltip="" />
                                   
                <GroupPanel Text=" Arraste o cabeçalho de uma coluna e solte aqui para agrupar">
                </GroupPanel>
                                   
                <MasterTableView ClientDataKeyNames="cod_cliente_ligacao"
                                 PagerStyle-PageSizeLabelText="Itens por página" NoDetailRecordsText=""
                                 NoMasterRecordsText=""  HierarchyLoadMode="ServerOnDemand">
                    <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                 
                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </RowIndicatorColumn>
 
                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </ExpandCollapseColumn>
 
                    <Columns>
                         
                        <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn1 column" HeaderText="Mail"
                                                    UniqueName="ind_visualizar" HeaderStyle-Width="40px" ItemStyle-Width="40px" ItemStyle-VerticalAlign="Middle"
                                                    ItemStyle-HorizontalAlign="Center" SortExpression="ind_visualizar">
                            <ItemTemplate>
                                <asp:Image ID="Mail" runat="server" ImageUrl='<%#"http://www.lanel.net.br/Geral.ashx?GeralId=" + IIf(Eval("ind_visualizar") = 1, "mailIcon.gif", "Em_aberto.png")%>' style="margin-bottom: 10px; margin-left: 2px"  Width="18px" />
                            </ItemTemplate>
                                                     
                            <HeaderStyle Width="40px" HorizontalAlign="Center" ></HeaderStyle>
                                 
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="40px"></ItemStyle>
 
                        </telerik:GridTemplateColumn>
 
                        <telerik:GridBoundColumn FilterControlAltText="Filter column3 column"
                                                 HeaderText="Dt. Ligação" UniqueName="dat_ligacao" DataField="dat_ligacao"
                                                 SortExpression="dat_ligacao" DataFormatString="{0:d}" ItemStyle-Width="80px" HeaderStyle-Width="80px">
                            <HeaderStyle Width="80px" HorizontalAlign="Center" ></HeaderStyle>
                         
                            <ItemStyle Width="80px"></ItemStyle>
                        </telerik:GridBoundColumn>
                             
                        <telerik:GridBoundColumn FilterControlAltText="Filter column column"
                                                 HeaderText="Nome Cliente" UniqueName="nome" DataField="nome" SortExpression="nome" >
                            <HeaderStyle Width="400px" HorizontalAlign="Center" ></HeaderStyle>
                            <ItemStyle Width="400px"></ItemStyle>
                        </telerik:GridBoundColumn>
                                                  
                        <telerik:GridBoundColumn FilterControlAltText="Filter column2 column"
                                                 HeaderText="Municipio" UniqueName="municipio" DataField="municipio" SortExpression="municipio">
                            <HeaderStyle HorizontalAlign="Center" />
                        </telerik:GridBoundColumn>
                         
                        <telerik:GridBoundColumn FilterControlAltText="Filter column1 column"
                                                 HeaderText="Situação" UniqueName="situacao_contato" DataField="situacao_contato" SortExpression="situacao_contato">
                            <HeaderStyle HorizontalAlign="Center" />
                        </telerik:GridBoundColumn>
                         
                        <telerik:GridBoundColumn DataField="cod_cliente_ligacao"
                                                 FilterControlAltText="Filter cod_cliente_ligacao column"
                                                 HeaderText="cod_cliente_ligacao" UniqueName="cod_cliente_ligacao" Visible="false" >
                        </telerik:GridBoundColumn>
                         
                    </Columns>
                                                  
                    <EditFormSettings>
                        <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
                    </EditFormSettings>
 
                    <PagerStyle PageSizeLabelText="Itens por página"
                                FirstPageToolTip="Primeira Página" LastPageToolTip="Ultima Página"
                                NextPagesToolTip="Próxima Página" NextPageToolTip="Próxima Página"
                                PagerTextFormat="" PrevPagesToolTip="" PrevPageToolTip=""></PagerStyle>
                </MasterTableView>
                                 
                <FilterMenu EnableImageSprites="False"></FilterMenu>
                                 
                <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
            </telerik:RadGrid>

2 Answers, 1 is accepted

Sort by
0
Accepted
ABC
Top achievements
Rank 1
answered on 27 Oct 2013, 06:01 AM
http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-rendering-differently-in-different-machine-of-100-same-application.aspx

0
Robson
Top achievements
Rank 2
answered on 28 Oct 2013, 10:08 AM


ABC


Very thanks...
Tags
Grid
Asked by
Robson
Top achievements
Rank 2
Answers by
ABC
Top achievements
Rank 1
Robson
Top achievements
Rank 2
Share this question
or