Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
110 views
I have a Hierarchical Grid with a CommandItemTemplate defined in the GridTableView so that each child table has the same Button control that when clicked will reset its filter columns.  What I can't figure out is how to get a reference to the parent GridTableView of the button in the server side button click.

I know how to traverse the ALL the child GridTableViews but I just want to reset the column filters on the GridTableView that the button was clicked in.  To do that I need a reference to the parent GridTableView of the button.  Any ideas how I can get a reference to that?

john81
Top achievements
Rank 1
 answered on 19 Mar 2014
3 answers
76 views
My site has RTL layout.
I use RadMenu on the site for a long time and it was fine.
Now I've set the menu drop-down to contain two columns, and since then there is a strange problem:
In IE8 and Firefox - for the first time the drop-down menu appears to the right of the item that opens
it
, and only the second time and on - it appears on the left. (- This is the proper look for RTL)
This is particularly problematic in the first items on the menu because then the right part of the
pop-up menu appears off screen.
In Chrome - There is no difference between the first time and the other times, but it's always not aligned with the item that opens
it
.
Is it a known bug?
How can I solve it?
Thank you.
banana
Top achievements
Rank 1
 answered on 19 Mar 2014
8 answers
231 views
Hi
Firstly I am facing so many rendering problems in IE8 (We are ignoring IE7 so no need to support in that bug browser).

Here I am attaching an image please refer.
To remove this white space I had try this property in CSS

#rgVessel_GridHeader, .rgHeaderDiv {margin-right:0!important}

It works but the alignment of Grid vertical line disturbed. Is it right hack for removing this white space? Then
How we can restore the Grid Vertical Lines.?

Please help us.
Thanks in Advanve

vargis
mailtovargis@gmail.com
Venelin
Telerik team
 answered on 19 Mar 2014
13 answers
124 views
In my Project I'm using a RadSchedular where currently highlighting  of vertical columns is only poosible.
The requirement is of highlighting of horizontal column as well along with the vertical one when the the cursor is placed on particular cell.

Attached is the display of  the Image from part of the Schedular in browser. Suppose now if the cursor is placed on 52 CW only particular row is highlighted ,the requirement is of highlighting of columns as well paralleled.

Below is the code snippet for the RadSchedular 
<telerik:RadPane ID="RadPane2" runat="server" OnClientResized="PaneResized" Height="100%"
      Scrolling="None" MinWidth="200" OnClientCollapsing="CollapseToMinWidth" OnClientBeforeExpand="ExpandFromMinWidth">
      <telerik:RadScheduler ID="SPScheduler" runat="server" SelectedView="TimelineView"
          FirstDayOfWeek="Monday" LastDayOfWeek="Friday" OverflowBehavior="Scroll" OnClientAppointmentMoveEnd="OnAppoinmentMoveEnd"
          OnClientAppointmentResizeStart="OnAppoinmentResizeStart" OnClientAppointmentInserting="OnAppointmentInserting"
          DataEndField="End" DataKeyField="ID" OnClientFormCreated="OnFormCreated" DataStartField="Start"
          DataSubjectField="Phase" CustomAttributeNames="Iteration,Servers,DBType" StartEditingInAdvancedForm="True"
          StartInsertingInAdvancedForm="True" OnAppointmentDelete="SPScheduler_AppointmentDelete"
          OnAppointmentInsert="SPScheduler_AppointmentInsert" OnAppointmentUpdate="SPScheduler_AppointmentUpdate"
          OnAppointmentDataBound="SPScheduler_AppointmentDataBound" OnAppointmentCommand="SPScheduler_AppointmentCommand"
          OnNavigationCommand="SPScheduler_NavigationCommand" OnTimeSlotCreated="SPScheduler_TimeSlotCreated"
          OnFormCreated="SPScheduler_FormCreated" ShowResourceHeaders="False" OnPreRender="SPScheduler_PreRender"
          OnNavigationComplete="SPScheduler_NavigationComplete" Height="100%" MinimumInlineFormHeight="500"
          MinimumInlineFormWidth="200" Skin="Simple">
          <DayView UserSelectable="false" />
          <WeekView UserSelectable="false" />
          <MonthView UserSelectable="false" />
          <TimelineView NumberOfSlots="35" SlotDuration="7.00:00:00" GroupingDirection="Vertical"
              GroupBy="Order" ShowInsertArea="false" /,


  
Farjana
Top achievements
Rank 1
 answered on 19 Mar 2014
8 answers
426 views
I have a web page that uses jquery.load() to load different pages into a div.

When I invoke the .load command, it loads the page perfectly into a div, but it throws an error saying that "$telerik is undefined"

On the main page, I have a link that does this when you click it...

changeTab: function (tabURL) {
        var loader = $("#tabLoad");
        var content = $("div[id$='pnlTabContent']");
        loader.css("height", content.height());
        loader.fadeIn('fast', function () {
            content.load(tabURL, function () {
                loader.fadeOut("fast");
            });
        });
    }

When I call that function, I pass in a URL that has a bunch of telerik sliders on it. Everything shows up and works properly (all CSS and self defined JavaScript) except the telerik controls.

The strange thing is that when I invoke the function again or if I call "content.load(tabURL)" a second time, everything loads fine and all the telerik controls load perfectly.

It seems as if it has to load the telerik library the first time, and the second time, it will work.

Is there any way for me to load the telerik library or initialize telerik before I call the content.load() function?

Niko
Telerik team
 answered on 19 Mar 2014
5 answers
180 views
Is it possible to have the WindowManager within the FileExplorer have a different skin?

I am setting the following in code:

            rfeExplorer.Upload.Skin = "Default"
            rfeExplorer.WindowManager.Skin = "Default"

The FileExplorer has a Web20 setting, but appears as though the WindowManager ignores it.
Vessy
Telerik team
 answered on 19 Mar 2014
1 answer
446 views
I am trying to format a RadGrid which contains 4 columns. I have a few issues that I don't know how to fix.
1)I want to format that information so that it aligns with the columns
2)How do I change the background color so that it is alternating colors, right now they are all a gray color
3)I want to get rid of the Client number sorting (keep the grouping) and sort by Date of Decline DESCENDING

Here is the code that I have so far:
​<%@ Page Title="Report" Language="C#" MasterPageFile="~/MasterPages/Site.Master" AutoEventWireup="true" CodeBehind="Report.aspx.cs" Inherits="Report" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
 
<div>
 <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" AllowFilteringByColumn="True"
    AllowPaging="True" AllowSorting="True" CellSpacing="0" GridLines="None"
    PageSize="500" ShowGroupPanel="True">
 <ClientSettings AllowDragToGroup="True">
 </ClientSettings>
 <MasterTableView AutoGenerateColumns="False" DataKeyNames="orderno"
 DataSourceID="SqlDataSource1" GroupsDefaultExpanded="False">
 <RowIndicatorColumn Visible="False">
 </RowIndicatorColumn>
 <ExpandCollapseColumn Created="True">
 </ExpandCollapseColumn>
 <Columns>
 <telerik:GridBoundColumn DataField="custnum" DataType="System.Decimal" FilterControlAltText="Filter custnum column"     HeaderText="Client Number" SortExpression="custnum" UniqueName="custnum">
 </telerik:GridBoundColumn>
 
 <telerik:GridBoundColumn DataField="event_date" DataType="System.DateTime" FilterControlAltText="Filter event_date column" HeaderText="Date" ReadOnly="True" SortExpression="event_date" UniqueName="event_date">
 </telerik:GridBoundColumn>
 
 <telerik:GridBoundColumn DataField="orderno" DataType="System.Decimal" FilterControlAltText="Filter orderno column"    HeaderText="Order Number" ReadOnly="True" SortExpression="orderno" UniqueName="orderno">
 </telerik:GridBoundColumn>
 
 <telerik:GridBoundColumn DataField="statdesc" FilterControlAltText="Filter statdesc column" HeaderText="Order Status" SortExpression="statdesc" UniqueName="statdesc">
 </telerik:GridBoundColumn>
 </Columns>
 <GroupByExpressions>
 <telerik:GridGroupByExpression>
 <SelectFields>
 <telerik:GridGroupByField FieldAlias="custnum" FieldName="custnum" HeaderText=" " HeaderValueSeparator="" />
 </SelectFields>
 <SelectFields>
 <telerik:GridGroupByField FieldAlias="event_date" FieldName="event_date" HeaderText=" " HeaderValueSeparator=" " />
 </SelectFields>
 <SelectFields>
 <telerik:GridGroupByField FieldAlias="orderno" FieldName="orderno" HeaderText=" " HeaderValueSeparator=" " />
 </SelectFields>
 <SelectFields>
 <telerik:GridGroupByField FieldAlias="statdesc" FieldName="statdesc" HeaderText=" " HeaderValueSeparator=" " />
 </SelectFields>
 <GroupByFields>
 <telerik:GridGroupByField FieldAlias="custnum" FieldName="custnum" FormatString="" HeaderText="" />
 </GroupByFields>
 </telerik:GridGroupByExpression>
 </GroupByExpressions>
 <PagerStyle AlwaysVisible="True" Mode="NextPrevNumericAndAdvanced" Position="TopAndBottom" />
 </MasterTableView>
 
 </telerik:RadGrid>
 </div>
 <br />
 <asp:SqlDataSource ID="SqlDataSource1" runat="server"
 ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
 SelectCommand="Report"
 SelectCommandType="StoredProcedure">
 </asp:SqlDataSource>
 
</asp:Content>

Princy
Top achievements
Rank 2
 answered on 19 Mar 2014
1 answer
42 views
I've just downloaded the latest RadControls for ASP .NET AJAX (February 2014). But what I'd like to know is: (a) how do I get this into our ASP.NET application in Visual Studio, and (b) how do I get those onto the web server? The Telerik.Web.UI.dll currently in our ASP.NET application is in the bin folder of our ASP.NET application.

We're using Visual Studio 2010 for this ASP.NET application.

Vessy
Telerik team
 answered on 19 Mar 2014
3 answers
215 views
I have a grid with a detail table that needed a custom sort. the custom sort works fine. I created an if-else to do a regular sort on the main table.
preclick:
column A
b
d
a

 When I click on a column in the main table the first time it sorts acending but the sort arrow points down.
column A v
a
b
d

I click again and the OldSortOrder is decsending just like the arrow which makes the NewSortOrder a no sort but the arrow is no pointing up.
column A ^
a
b
d

I click again and the OldSortOrder is ascending, NewSortOrder is descending and so is the grid but now there is no arrow.
column A
d
b
a


Any clues?
Shinu
Top achievements
Rank 2
 answered on 19 Mar 2014
4 answers
133 views
Hi All,

I have an issue in Safari Browser on Widows 7 OS.

Rad Grid rows are overflowing the fixed height when scroll amount is very large.
Here I had attached the screenshot of small scroll and large.
Venelin
Telerik team
 answered on 19 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?