Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
431 views
Hello, I have some problems with the RadGrid, I hope I can help.

In Internet Explorer 9. The control does not display the columns as it should inMasterTable both headers and data in rows, and I also piled Detail information as shown in the image RadGridImgIE9.jpg.

In Google Chrome stacked all the information from the MasterTable to detail, as shownin the image RadGridImgChrome.jpg.

I'm using version Q1 2009.

thanks 

My code is as follows: 


<telerik:RadGrid ID="RadGrid1"
    ShowStatusBar="True"
    DataSourceID="SqlDataSource1"
    runat="server" 
    AutoGenerateColumns="False"
    GridLines="None" 
    Skin="WebBlue" 
    Height="555px" 
    Width="1022px" 
    AllowFilteringByColumn="True"
    AllowPaging="True" >
    <GroupingSettings CaseSensitive="false" />
    <PagerStyle Mode="NextPrevAndNumeric" />
    <MasterTableView
        CommandItemDisplay="Top"
        DataSourceID="SqlDataSource1"
        DataKeyNames="id_empresa"
        AllowMultiColumnSorting="True" 
        nodetailrecordstext="No hay Pólizas que mostrar." 
        nomasterrecordstext="No hay Empresas que mostrar.">
        <CommandItemTemplate>
            <asp:Label ID="LabelTituloGrid" runat="server" Text="Listado de Empresas" Font-Bold="True"></asp:Label>
        </CommandItemTemplate>
        <DetailTables>
            <telerik:GridTableView DataSourceID="SqlDataSource2" Width="10%" AllowFilteringByColumn="False" runat="server">
                <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="id_empresa" MasterKeyField="id_empresa" />
                </ParentTableRelation>
                <ExpandCollapseColumn Visible="True"></ExpandCollapseColumn>
                <Columns>
                    <telerik:GridBoundColumn   SortExpression="no_poliza"  HeaderText="No Póliza"  HeaderButtonType="TextButton" DataField="no_poliza"  UniqueName="no_poliza"                                                           >  </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn   SortExpression="vigencia"   HeaderText="Vigencia"   HeaderButtonType="TextButton" DataField="vigencia"   UniqueName="vigencia"                                                            >  </telerik:GridBoundColumn>
                    <telerik:GridNumericColumn SortExpression="total"      HeaderText="Total"      HeaderButtonType="TextButton" DataField="total"      UniqueName="total"      DataType="System.Decimal" DataFormatString="{0:#,##0.00}" > </telerik:GridNumericColumn>
                    <telerik:GridNumericColumn SortExpression="pagado"     HeaderText="Pagado"     HeaderButtonType="TextButton" DataField="pagado"     UniqueName="pagado"     DataType="System.Decimal" DataFormatString="{0:#,##0.00}" > </telerik:GridNumericColumn>
                    <telerik:GridNumericColumn SortExpression="pendiente"  HeaderText="Pendiente"  HeaderButtonType="TextButton" DataField="pendiente"  UniqueName="pendiente"  DataType="System.Decimal" DataFormatString="{0:#,##0.00}" > </telerik:GridNumericColumn>
                    <telerik:GridBoundColumn   SortExpression="id_empresa" HeaderText="ID Empresa" HeaderButtonType="TextButton" DataField="id_empresa" UniqueName="id_empresa" DataType="System.Int32"   Visible="False">                  </telerik:GridBoundColumn>
                </Columns>
            </telerik:GridTableView>
        </DetailTables>
        <ExpandCollapseColumn Visible="True"></ExpandCollapseColumn>
        <Columns>
            <telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn" AllowFiltering ="False">
                <HeaderTemplate>
                    <asp:CheckBox ID="CheckBox2" runat="server" AutoPostBack="True" Checked="False" oncheckedchanged="CheckBox2_CheckedChanged" />
                </HeaderTemplate>
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox1" runat="server" Checked="False" />
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridBoundColumn UniqueName="ss"                     DataField="ss"                  HeaderText="Status">                                                </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="nombre_tipo_empresa"    DataField="nombre_tipo_empresa" HeaderText="Tipo de Empresa">                                       </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="id_empresa"             DataField="id_empresa"          HeaderText="ID Empresa"          DataType="System.Int32">           </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="nombre_empresa"         DataField="nombre_empresa"      HeaderText="Nombre">                                                </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Vendedor"               DataField="Vendedor"            HeaderText="Vendedor">                                              </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="fecha_alta"             DataField="fecha_alta"          HeaderText="Fecha Alta"          DataFormatString="{0:dd/MM/yyyy}"> </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="fecha_baja"             DataField="fecha_baja"          HeaderText="Fecha Baja"          DataFormatString="{0:dd/MM/yyyy}"> </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="vigencia"               DataField="vigencia"            HeaderText="Vigencia"            DataFormatString="{0:dd/MM/yyyy}"> </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="RFC"                    DataField="RFC"                 HeaderText="RFC">                                                   </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Calle_numero"           DataField="Calle_numero"        HeaderText="Dirección">                                             </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Colonia"                DataField="Colonia"             HeaderText="Colonia">                                               </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="CP"                     DataField="CP"                  HeaderText="CP">                                                    </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Ciudad"                 DataField="Ciudad"              HeaderText="Ciudad">                                                </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Estado"                 DataField="Estado"              HeaderText="Estado">                                                </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Telefono"               DataField="Telefono"            HeaderText="Telefono">                                              </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_nombre_1"      DataField="contacto_nombre_1"   HeaderText="Nombre Contacto 1">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_puesto_1"      DataField="contacto_puesto_1"   HeaderText="Puesto Contacto 1">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_correo_1"      DataField="contacto_correo_1"   HeaderText="Correo Contacto 1">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_telefono_1"    DataField="contacto_telefono_1" HeaderText="Telefono Contacto 1">                                   </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_nombre_2"      DataField="contacto_nombre_2"   HeaderText="Nombre Contacto 2">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_puesto_2"      DataField="contacto_puesto_2"   HeaderText="Puesto Contacto 2">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_correo_2"      DataField="contacto_correo_2"   HeaderText="Correo Contacto 2">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_telefono_2"    DataField="contacto_telefono_2" HeaderText="Telefono Contacto 2">                                   </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_nombre_3"      DataField="contacto_nombre_3"   HeaderText="Nombre Contacto 3">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_puesto_3"      DataField="contacto_puesto_3"   HeaderText="Puesto Contacto 3">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_correo_3"      DataField="contacto_correo_3"   HeaderText="Correo Contacto 3">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_telefono_3"    DataField="contacto_telefono_3" HeaderText="Telefono Contacto 3">                                   </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_nombre_4"      DataField="contacto_nombre_4"   HeaderText="Nombre Contacto 4">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_puesto_4"      DataField="contacto_puesto_4"   HeaderText="Puesto Contacto 4">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_correo_4"      DataField="contacto_correo_4"   HeaderText="Correo Contacto 4">                                     </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="contacto_telefono_4"    DataField="contacto_telefono_4" HeaderText="Telefono Contacto 4">                                   </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <exportsettings>
        <excel format="ExcelML" />
    </exportsettings>
    <ItemStyle Wrap="False" />
    <HeaderStyle Wrap="False" />
    <ClientSettings EnablePostBackOnRowClick="true" EnableRowHoverStyle="true">
        <selecting allowrowselect="True" />
        <Scrolling ScrollHeight="100%" AllowScroll="True" UseStaticHeaders="true" />
        <Resizing AllowColumnResize="true" AllowRowResize="true" EnableRealTimeResize="true"/> 
    </ClientSettings>
</telerik:RadGrid>

Pavlina
Telerik team
 answered on 25 Mar 2013
4 answers
148 views
Here is the behavior I am seeing with RadMonthYearPicker.

In my ASPX I have:

<telerik:RadMonthYearPicker ID="RadMonthYearPicker1" runat="server" Skin="WebBlue"  OnSelectedDateChanged="RadMonthYearPicker1_SelectedDateChanged" AutoPostBack="true" >
            </telerik:RadMonthYearPicker>

In my code behind I have:

        protected void RadMonthYearPicker1_SelectedDateChanged(object sender, SelectedDateChangedEventArgs e)
        {
}

I old date is in the same year as new date, e.OldDate and e.NewDate are correct. If old date is in a different year as new date, new date is incorrect and is == to old date.



Ivan
Top achievements
Rank 1
 answered on 25 Mar 2013
3 answers
105 views
Does anyone know if the GridSettingsPersister will work with RadPivotGrid? 
Daniel
Telerik team
 answered on 25 Mar 2013
3 answers
122 views
I must be dense, because I can't seem to find a way to retrieve a setting from a persisted grid. I just want to know if there are any groupby expressions saved (a count or the like). I've tried many different combos - an example would be great.
Thanks,
--J
Angel Petrov
Telerik team
 answered on 25 Mar 2013
24 answers
1.9K+ views
Since the Q3 2012 release we have identified a common scenario when Telerik Visual Studio extensions crash which leads to various problems when using any Telerik project template or wizard. The crash happens when you have multiple Telerik Visual Studio extensions with different versions (e.g. Q2 2012 SP2 and Q3 2012).

To resolve the issue you need to ensure that all Telerik Visual Studio extensions installed have the same version. If you are using Visual Studio 2010/2012 the easiest way is to upgrade all Telerik Visual Studio extensions to the latest version (which is the same) through the Visual Studio Extension Manager.



For Visual Studio 2008 you need to upgrade all Telerik products with Visual Studio extensions to the same version using the Telerik Trial Web Installer or the Telerik Control Panel.

We are currently resolving the issue on our side so that no crashes happen in future releases. Please excuse the inconvenience caused.

Kind regards,
Petar Raykov
The Telerik team

Update:
As some customers reported issues resulting in being unable to perform the above procedure or it not helping in all cases we created a very simple tool for cleaning all Telerik VS Extensions older than our latest version.

You can find the patch attached to this post. Make sure you do not have any running Visual Studio instances when you run the tool.

Note: Running the patch will resolve all version-conflict-related issues (including Visual Studio crashes outlined in this post), but will leave you without VSExtensions in case you have not installed our latest version. The easiest way to get those back is just getting the extensions once more through the Visual Studio Online Gallery.
Chavdar Dimitrov
Telerik team
 answered on 25 Mar 2013
1 answer
450 views
hi i need multiline in tool tip. How acn i achieve. In general tool i wrote like below and working fine

Label1.ToolTip = string.Format("Username : {1}{0}Age : {2}{0}Place : {3}", Environment.NewLine, username, age, place)

When i added Tooltip manager this shows as single sentence
Marin Bratanov
Telerik team
 answered on 25 Mar 2013
1 answer
95 views
I have a range of dates. My chart needs to start on a certain date, but is beginning on the first date of the Xaxis. How do I get in a certain specific date?
Petar Kirov
Telerik team
 answered on 25 Mar 2013
1 answer
209 views
I am using telerik radpanelbar and source from  a sitemap data source.When i give value to url in the sitemap,then the link is redirected to a page other that telerik radwindow manager.I tried to give the value of URl to empty and give  url value to the title attribute,It works and open in the radwindow but the title of the menu is also a link which is not good at all.
How can i open radpanel menus open in the rad window without redirection to its own page other than Radwindow manager?
Marin Bratanov
Telerik team
 answered on 25 Mar 2013
5 answers
218 views
I've started working on an ASP.Net version of a winforms control we have written which uses the RadScheduler control.

The idea of this is to show events and consultants in a timeline view. The scheduler is to take up the entire width of the web page, apart from a section to the right hand side of the scheduler, where a set sized column (300px) shows a calendar and a number of labels that get updated when a user clicks on an event in the scheduler.

In the Winforms control, when the form is resized, then the scheduler control also resizes and I am trying to replicate this in the ASP.Net page. However, the control grows if I make the page wider by resizing the browser, but will not shrink if I make the page narrower (again, by resizing the browser).

Is this by design or is there a setting i need to set to allow the control to shrink as well as grow when a browser resizes the page?
Karl
Top achievements
Rank 1
 answered on 25 Mar 2013
3 answers
177 views
I have a radwindow dialog (opened through RadWindowManager and .radopen()) that loads a page for users to enter information in a form. The form contains a button which raises an ajax update, storing the user's entered values and displaying a loading image. Once the info is saved, I would like to change the dialog's title.  I don't think this is possible to do today, or at least is quite difficult since it requires the ajax call to update the container. Anyhow, if it isn't possible today, it would be a nice piece of functionality to add to RadWindow in the future.
Marin Bratanov
Telerik team
 answered on 25 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?