Rad Grid position moves left after post back

2 posts, 0 answers
  1. Germán
    Germán avatar
    6 posts
    Member since:
    Jan 2014

    Posted 18 Aug 2014 Link to this post

    Dear Telerik,

    I setup a rad grid, with a nested rad grid inside a rad ajax panel, like so:
    <telerik:RadAjaxLoadingPanel ID="PartsRadAjaxLoadingPanel" runat="server"></telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxPanel ID="PartsRadAjaxPanel" runat="server" LoadingPanelID="PartsRadAjaxLoadingPanel">
    ​ <telerik:RadGrid ID="PartsRadGrid" runat="server" ShowHeader="False" OnItemDataBound="PartsRadGrid_ItemDataBound"
    OnItemCommand="PartsRadGrid_ItemCommand" BorderStyle="None" OnPreRender="PartsRadGrid_PreRender" EnableHierarchyExpandAll="true" OnItemCreated="PartsRadGrid_ItemCreated">
    <MasterTableView AutoGenerateColumns="False" DataKeyNames="id, part_statistic">
    <AlternatingItemStyle BackColor="White" />
    <telerik:RadGrid ID="PartsImagesRadGrid" runat="server" ShowHeader="false"
    OnItemCommand="PartsImagesRadGrid_ItemCommand" OnItemDataBound="PartsImagesRadGrid_ItemDataBound"
    <MasterTableView AutoGenerateColumns="False" DataKeyNames="id">
    <AlternatingItemStyle BackColor="White" />
    <div id="part_images">
    <div class="grid_long">
    <div class="grid_left-left"></div>
    <div class="colspan_left-right-right">


    when the form initially loads everything displays OK like pic one, when one of the controls inside the rad ajax panels causes a post back and the rad grid is rebound on the code behind then rad grid moves left like pic two. The div tags are for grids like so:

    width: 100%;
    display: -ms-grid;
    -ms-grid-columns: 140px 160px 140px 160px 140px 160px;
    -ms-grid-rows: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    -ms-grid-column: 1;
    -ms-grid-row: 1;

    Any ideas on what could be causing this behavior and how to prevent it from happening?

  2. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 19 Aug 2014 in reply to Germán Link to this post


    Can you please created one sample application (using same UI and dummy data) and try to reproduce this issue in it?

    If it is reproduced than please provide your sample application. 

    As per my knowledge this type of known issue is exists in Radgrid.

    Let me know if any concern.

    Jayesh Goyani
  3. DevCraft R3 2016 release webinar banner
Back to Top