RadToolTipManager, Radgrid in a user control

5 posts, 0 answers
  1. sadi
    sadi avatar
    15 posts
    Member since:
    May 2009

    Posted 05 Sep 2013 Link to this post

    Hi,

    Please look at these screen shots..This grid in a RadToolTipManager using a user control. It appears correctly mostly but then sometimes it looses its skin and starts to look like Metro skin for some reason. I have not used Metro skin anywhere. Why on postaback at times it will change the skin.....Please advise here is small code snippet as well...


    <telerik:RadToolTipManager ID="RadToolTipManagerForMattersTotal" OffsetY="-5"    
    HideEvent="ManualClose" Width="850" Height="200" runat="server" EnableTheming="true" RenderMode="Classic" EnableShadow="true" ClientIDMode=AutoID EnableAjaxSkinRendering="true" OnAjaxUpdate="OnAjaxUpdate" RelativeTo="Element" Position="TopCenter">
        </telerik:RadToolTipManager>

    and user control.....
      <telerik:RadGrid ID="ClientProfitGrid" runat="server" ShowStatusBar="True" ClientIDMode="AutoID"  Height="200"
                     AutoGenerateColumns="False" BorderWidth='1px' AllowPaging="False"  
                     CellSpacing="0" GridLines="None" 
                     PageSize="50"  
                     Skin = "Sitefinity" 
                     OnItemDataBound="ClientProfitGrid_ItemDataBound">  
                     <PagerStyle Mode="NextPrev" Visible="false" />
                    <ClientSettings> 
                       <Scrolling AllowScroll="True" UseStaticHeaders="true" />
                    </ClientSettings>
                <MasterTableView DataKeyNames=""  ShowHeader="true"  >
                 <ColumnGroups>
                  <telerik:GridColumnGroup HeaderText="Client Name" Name="ClName" HeaderStyle-HorizontalAlign="Center">
                  </telerik:GridColumnGroup>
               </ColumnGroups>
                    <NoRecordsTemplate> ...
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 06 Sep 2013 Link to this post

    Hello,

    It seems that the needed stylesheets or images for the grid are not present on the page in the problematic case. Generally, the purple color I see in the screenshots is not part of our built-in skins and I cannot speculate where it comes from or why is it missing in some cases.

    If this happens only under IE, it is possible that your page has reached its stylesheet limitation.

    If you are changing the skins of the grid in the code-behind you would need to set its EnableAjaxSkinRendering property to true when you do that.

    Regards,
    Marin Bratanov
    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 RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. sadi
    sadi avatar
    15 posts
    Member since:
    May 2009

    Posted 06 Sep 2013 Link to this post

    Grey part is fine. Its just that it just changes in between post back like. look at default and after post back images...Thanks.
  5. sadi
    sadi avatar
    15 posts
    Member since:
    May 2009

    Posted 09 Oct 2013 Link to this post

    Can somebody remove/delete this post. It has some company related information. Thanks. 
  6. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 10 Oct 2013 Link to this post

    Hello,

    I have just deleted the screenshots. I believe the code has nothing specific in it and I have left it intact.


    Regards,
    Marin Bratanov
    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 RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017