Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
148 views
In my scheduler i leave the rowheight set to default, thinking this will work best with a varity of browsers (both desktop and mobile).

However i have created a 'current time indicator line' by adding an image to the timeslot.
As MinutesPerRow is set to 30, i do :

-----------
        protected void Scheduler_OnTimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
        {
            if (Scheduler.SelectedView == SchedulerViewType.WeekView || Scheduler.SelectedView == SchedulerViewType.DayView)
            {
                if (e.TimeSlot.Start.Date == DateTime.Now.Date)
                {
                    e.TimeSlot.CssClass = "today";
                }
                if ((e.TimeSlot.End < DateTime.Now.AddMinutes(30)) && (e.TimeSlot.End > DateTime.Now))
                {
                    int currentMinute = (DateTime.Now.Minute >= 30) ? DateTime.Now.Minute - 30 : DateTime.Now.Minute;
                    e.TimeSlot.CssClass = "now" + currentMinute;
                }
            }
        }

-----------

In the aspx page i have cssclasses like :

-----------
        html .RadScheduler .now0 {
            background: #FFFBE6;
            background-image: url('/images/Scheduler/1.png');
            background-repeat: repeat-x;
        }
        html .RadScheduler .now1 {
            background: #FFFBE6;
            background-image: url('/images/Scheduler/2.png');
            background-repeat: repeat-x;
        }
        html .RadScheduler .now2 {
            background: #FFFBE6;
            background-image: url('/images/Scheduler/3.png');
            background-repeat: repeat-x;
        }
-----------

See attached file for 1 one of the images, in this case 14.png

It looks like this works fine, except for the fact that the row height is set to 25px and my images are 30px high.
So from minute 26-29 and 56-59 the correct image is shown, but my red-dotted-line on the image is shown OUTSIDE the timeslot (thus NOT shown).

What i would like to do now is GET the rowheight used by the scheduler and use that to calculate which image should be shown.

So : is there a way to GET the rowheight being used by the scheduler ?





Plamen
Telerik team
 answered on 08 Jul 2014
1 answer
331 views
I have a fixed position div on my page that sets at the top of the screen always.  When I click "toggle fullscreen" from the rad editor the editor sits behind this div and the toolbar can't see seen.  Surprising cuteeditor handled this fine.  Any help with this would be super

Thanks
-Pat
Ianko
Telerik team
 answered on 08 Jul 2014
2 answers
112 views
Dear Telerik,

Thanks for the very useful function of GroupInterval in RadPivotGrid, however, is it possible to customise a threshold to grouping interval?

For example, data: 1,2,3,4,5,6,7,8. GroupInterval="Numeric" and GroupIntervalNumericRange="1".

Currently it's forced to group all the way to the end: 1,2,3,4,5,6,7,8; but I would like to have a threshold of 4 to give 1,2,3,4+. How can I do that?

Great Thanks.
Angel Petrov
Telerik team
 answered on 08 Jul 2014
1 answer
185 views
I am having a problem with the scheduler on my ipad.
As seen in the attached image, the times in the left column do not align with the slots.
My settings are : 

            DayStartTime="07:00:00" DayEndTime="22:00:00"
            WorkDayStartTime="07:00:00" WorkDayEndTime="22:00:00"

But as you can see the times at the left side only go to 20:00.
Is there some mobile-setting or work around for this ?
Dimitar
Telerik team
 answered on 08 Jul 2014
6 answers
92 views
Hi... I use a pivotGrid and I need to use a datafield with format "HH:MM" in a AggregateField, is that possible?
Eyup
Telerik team
 answered on 08 Jul 2014
1 answer
94 views
Is it possible to set the Language of a RadMap?  I am using the OpenStreets Tiles, and see that each Country Name appears to be in its native language.  

What I would like to do is say turn the map to French or English and see all of the labels render correctly for that language... ?
Ianko
Telerik team
 answered on 08 Jul 2014
1 answer
259 views
Hi,

I have a page which contain 5 user controls in it. In each user control i am using Rad Window to insert master data.  On closing i need to display that inserted data in its respective user control so i want to update that user control only. Currently i am reloading whole page to update respective Grid resides in the user control so because of that all user controls get refreshed and page gets slow.

Can you some provide example.

Thanks.
Shinu
Top achievements
Rank 2
 answered on 08 Jul 2014
3 answers
111 views
Hi,
    I'm having a problem with cascading RadDropDownLists where the EnableVirtualScrolling property is enabled. I have three lists that cascade so that each selection filters the available options on the next list. When I first set the screen up, none of the lists had virtual scrolling enabled. It turned out that there was quite a long list for certain combinations of filtering. When the list length exceeded the available space on the page, the user was unable to access the options lower down. After a bit of reading, I discovered the EnableVirtualScrolling property and it seemed to work great. However, I found that the drop-down lists on the lower two tiers of the cascade would only display the first record/row of their available options after a postback from the preceding  lists.

Here's my code:
<telerik:RadDropDownList ID="DropDownList1" DataSourceID="SQLDataSource1"
    DataValueField="Table1_Id" DataTextField="Table1_Text" Width="460px"
    EnableVirtualScrolling="true" DropDownHeight="250px" DropDownWidth="460px"
    AppendDataBoundItems="true" AutoPostBack="true" Skin="Metro" runat="server" >
</telerik:RadDropDownList>
 
 
<telerik:RadDropDownList ID="DropDownList2" DataSourceID="SQLDataSource2"
    DataTextField="Table2_Id" DataValueField="Table2_Text" Width="460px"
    EnableVirtualScrolling="true" DropDownHeight="250px" DropDownWidth="460px"
    AppendDataBoundItems="true" AutoPostBack="true" Skin="Metro" runat="server">
</telerik:RadDropDownList>
 
 
<telerik:RadDropDownList ID="DropDownList3" DataSourceID="SQLDataSource3"
    DataTextField="Table3_Id" DataValueField="Table3_Text" Width="460px"
    EnableVirtualScrolling="true" DropDownHeight="250px" DropDownWidth="460px"
    AppendDataBoundItems="true" AutoPostBack="true" Skin="Metro" runat="server">
</telerik:RadDropDownList>
 
 
<%-- Data Source for DropDownList1 --%>
<asp:SqlDataSource ID="SQLDataSource1" runat="server"
    ConnectionString="<%$ ConnectionStrings:RAMtrack %>"
    ProviderName="<%$ ConnectionStrings:RAMtrack.ProviderName %>"
    SelectCommand="Select_Table1Data"
    SelectCommandType="StoredProcedure">
 
    <SelectParameters>
        <asp:SessionParameter Name="Customer_id" SessionField="Customer_Id" Type="Int64" />
    </SelectParameters>
</asp:SqlDataSource>
 
 
<%-- Data Source for DropDownList2 --%>
<asp:SqlDataSource ID="SQLDataSource2" runat="server"
    ConnectionString="<%$ ConnectionStrings:RAMtrack %>"
    ProviderName="<%$ ConnectionStrings:RAMtrack.ProviderName %>"
    SelectCommand="Select_Table2Data"
    SelectCommandType="StoredProcedure"
    >
    <SelectParameters>
        <asp:SessionParameter Name="Customer_id" SessionField="Customer_Id" Type="Int64" />
        <asp:ControlParameter Name="Table1_Id" ControlID="DropDownList1" PropertyName="SelectedValue" DefaultValue="0" Type="Int64" />
    </SelectParameters>
</asp:SqlDataSource>
 
 
<%-- Data Source for DropDownList3 --%>
<asp:SqlDataSource ID="SQLDataSource3" runat="server"
    ConnectionString="<%$ ConnectionStrings:RAMtrack %>"
    ProviderName="<%$ ConnectionStrings:RAMtrack.ProviderName %>"
 
    SelectCommand="Select_Table2Data"
    SelectCommandType="StoredProcedure"
    >
    <SelectParameters>
        <asp:SessionParameter Name="Customer_id" SessionField="Customer_Id" Type="Int64" />
        <asp:ControlParameter Name="Table2_Id" ControlID="DropDownList2" PropertyName="SelectedValue" DefaultValue="0" Type="Int64" />
    </SelectParameters>
</asp:SqlDataSource>
 
 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
 
        <telerik:AjaxSetting AjaxControlID="DropDownList1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="DropDownList2" LoadingPanelID="pnl_SystemAffected" />
                <telerik:AjaxUpdatedControl ControlID="DropDownList3" LoadingPanelID="pnl_SystemAffected" />
            </UpdatedControls>
        </telerik:AjaxSetting>
 
        <telerik:AjaxSetting AjaxControlID="DropDownList2">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="DropDownList3" LoadingPanelID="pnl_SystemAffected" />
            </UpdatedControls>
        </telerik:AjaxSetting>
 
    </AjaxSettings>
</telerik:RadAjaxManager>

If I remove the [EnableVirtualScrolling="true" DropDownHeight="250px" DropDownWidth="460px"], it all works fine (except that some lists are too long). Am I missing another property or setting somewhere?

Geoff
Geoff
Top achievements
Rank 1
 answered on 08 Jul 2014
1 answer
155 views
Is filtering using wildcard available in in the latest release (as of 7/7/14) or would that still need to be a composite?

For example:

I have a column 'Part Number' and would like to filter where Part Number like 'AB%11' which would return AB845711 and AB348511 in the results.

Princy
Top achievements
Rank 2
 answered on 08 Jul 2014
3 answers
163 views
It looks like by default the RadMap is Pannable - very nice.  However, when I add markers, then pan to the next map left or right, those markers do not follow.  When I pan back to the original view they are there.

Is this by design?  In development?  Or am I missing something?
Ianko
Telerik team
 answered on 08 Jul 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?