Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
115 views

Hi everybody,

we've recently updated to Telerik 2016 Q1 SP1 with latest Hotfix.

I am still facing some minor issues with the HTMLChart. There is a class called .k-chart-tooltip and after the upgrade this class is totally missing.
The html-markup is still referencing to this class but it can not be found in the resources, it is not there. Any help on this?

Another thing is that i give the possibility to make a cahrt 'small' or 'big'. The javascript code for this functionality looks like this:

function makeSmallGraph(chart) {
            if (chart == null) { chart = $find('<%=cGraph.ClientID%>'); }
                         
            chart._chartObject.options.series[0].labels.visible = false;
            chart._chartObject.options.series[1].labels.visible = false;
            chart._chartObject.options.series[2].labels.visible = false;
            chart._chartObject.options.series[3].labels.visible = false;
            chart._chartObject.options.title.visible = false;
            chart._options.valueAxis[0].title.visible = false;
            chart._chartObject.options.valueAxis.title.visible = false;
            chart._options.categoryAxis.title.visible = false;
            chart._chartObject.options.categoryAxis.title.visible = false;
 
            chart.repaint();
        }
 
        function makeBigGraph(chart) {
            if (chart == null) { chart = $find('<%=cGraph.ClientID%>'); }
                         
            chart._chartObject.options.series[0].labels.visible = true;
            chart._chartObject.options.series[1].labels.visible = true;
            chart._chartObject.options.series[2].labels.visible = true;
            chart._chartObject.options.series[3].labels.visible = true;
            chart._chartObject.options.title.visible = true;
            chart._options.valueAxis[0].title.visible = true;
            chart._chartObject.options.valueAxis.title.visible = true;
            chart._options.categoryAxis.title.visible = true;
            chart._chartObject.options.categoryAxis.title.visible = true;
 
            chart.repaint();
        }

 

After calling 'makeBigGraph' there are no more tooltips showing up. after calling 'makeSmallGraph' tooltips are back! Why?
We used version 2015 Q1 before upgrading to the latest build and i had none of the Problems described.

Kind regards

Philipp

Philipp
Top achievements
Rank 1
 answered on 19 Apr 2016
1 answer
86 views

I'am loading data using the Entity Framework into the RadGridView an I'am using the default filter popup control. The problem is that the Entity Framework can throw exceptions when something is wrong with the data. In this case the rows are still displayed but these exceptions are causing trouble with the filter control. (There are no items in the top list to choose from)

Is it possible to get the filter control to work even when exceptions are occuring? Or can I maybe go arround this problem by building my own filter control?

Konstantin Dikov
Telerik team
 answered on 19 Apr 2016
1 answer
76 views

Hi Telerik,

I am using Telerik.Web.UI Version 2016.1.113.45.

The grid which I am using is dynamically generated with static header and frozen columns and scrollbar.

Till date, grid was loading/binding properly before I set the column width of certain columns from Pre_render event. At this moment the grid is losing it's original width due to which even scrollbar is going off. Table layout is also set to default "Auto".

I have attached 2 screenshot of before and after behavior of the grid once I set the width in the PreRender event(code added below) explicitly from code behind

ascx page:

<telerik:RadGrid ID="dgEscrow" runat="server" GridLines="None" EnableEmbeddedSkins="false" AutoGenerateColumns="false" ShowFooter="true" CssClass="esGridTable">
    <HeaderStyle Font-Bold="true" HorizontalAlign="Center" />
    <ClientSettings>
        <ClientEvents OnGridCreated="setScrollerDimensionsEscrow" />
        <Scrolling AllowScroll="true" SaveScrollPosition="true" />
    </ClientSettings>
</telerik:RadGrid>

 

after adding the below code, the grid starting displaying in a squuezed form:

Protected Sub dgEscrow_PreRender(sender As Object, e As EventArgs) Handles dgEscrow.PreRender
        For Each column As GridColumn In dgEscrow.MasterTableView.Columns
            If column.UniqueName = "File #_String" Then
                column.HeaderStyle.Width = Unit.Pixel(95)
            End If
            If column.UniqueName = "Lot/Unit_String" Then
                column.HeaderStyle.Width = Unit.Pixel(90)
            End If
            If column.UniqueName = "Status_String" Then
                column.HeaderStyle.Width = Unit.Pixel(95)
            End If
        Next
    End Sub

It will be of great help if you guys update me at the earliest.

Thanks

 

Maria Ilieva
Telerik team
 answered on 19 Apr 2016
1 answer
136 views

Hi  im using a treeview with page method load on demand mode.

1. I want to expand and check all child nodes when user checks a certain node. How can i managed to do this?

2. I want to use filtering on this treeview is it possible?

Dimitar
Telerik team
 answered on 19 Apr 2016
1 answer
95 views

IsSeparator not work in Lightweight RenderMode ...

 

 

Dim NewForeningItem As New RadComboBoxItem()
rcbForeningar.Items.Insert(i, NewForeningItem)
NewForeningItem.IsSeparator = True

Magdalena
Telerik team
 answered on 19 Apr 2016
1 answer
46 views

I have a RadGrid on the page which is using the Bootstrap skin. The grid displays perfectly fine, but the paging buttons are using css from the rest of the project which is altering its appearance, as shown in the screenshot attached.

Is there anyway to just use the skin and avoid css from the project interring with it.

It appears to be mainly from the .button, input[type="button"], input[type="submit"] css from looking at the page inspector.

Eyup
Telerik team
 answered on 19 Apr 2016
1 answer
88 views
Dear All,

I´m pretty new to Telrik controls and have the following question.
I want to Update in real time my radSchedular when clicking on RadCalendar like illustrated in this sample:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx,
The radSchedulat doesn't synchronise when i click to a date on RadCalendar date: Could you help me to find the source of the issue please?
Source code:
 <telerik:radscheduler runat="server" id="RadScheduler1"
                    DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End" DataDescriptionField="Description"
                    DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentId" DataReminderField="Reminder"
                    OnAppointmentDataBound="DiaryRadScheduler_AppointmentDataBound" OnAppointmentCommand="DiaryRadScheduler_AppointmentCommand"
                    AllowDelete="false" AllowEdit="false" AllowInsert="false" EnableDescriptionField="true"
                    EnableRecurrenceSupport="false" EnableResourceEditing="false" EnableExactTimeRendering="false"
                    DayStartTime="08:00:00" DayEndTime="20:00:00" WorkDayStartTime="09:00:00" WorkDayEndTime="18:00:00"
                    WeekView-DayStartTime="08:00:00" WeekView-DayEndTime="20:00:00" WeekView-WorkDayStartTime="09:00:00" WeekView-WorkDayEndTime="18:00:00" WeekView-EnableExactTimeRendering="true"
                    MultiDayView-DayStartTime="08:00:00" MultiDayView-DayEndTime="20:00:00" MultiDayView-WorkDayStartTime="09:00:00" MultiDayView-WorkDayEndTime="20:00:00" MultiDayView-NumberOfDays="5" MultiDayView-EnableExactTimeRendering="true"
                    AppointmentStyleMode="Auto" SelectedView="AgendaView"
                    StartEditingInAdvancedForm="true" StartInsertingInAdvancedForm="true"
                    ShowHeader="true" ShowFooter="true" ShowAllDayRow="false" ShowDateHeaders="true" ShowFullTime="false" OverflowBehavior="Expand"
                    RowHeight="25px" RowHeaderWidth="50px" MinutesPerRow="30" TimeLabelRowSpan="2"
                    FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" HoursPanelTimeFormat="HH:mm tt">
                    <DayView HeaderDateFormat="d" UserSelectable="true" />
                    <WeekView HeaderDateFormat="d" UserSelectable="true" />
                    <MonthView HeaderDateFormat="d" UserSelectable="true" />
                    <AgendaView HeaderDateFormat="d" UserSelectable="true" />
                    <TimelineView UserSelectable="false" />
                    <MultiDayView UserSelectable="false" />
                    <AdvancedForm Modal="true" />
                    <AppointmentTemplate>
                        <%# Container.Appointment.Resources.GetResourceByType("Type").Text%><br /><%# Eval("Subject") %><br /><%# Eval("Description") %>
                        <div>
                            <asp:Button runat="server" ID="BtnExport" CssClass="rsExportButton" ToolTip="Export to iCalendar" CommandName="Export" OnClientClick="Export(this, event); return false;" style="border: none; cursor: pointer;" />
                        </div>
                    </AppointmentTemplate>
                </telerik:radscheduler>
Code Behind:
RadScheduler1.DataSource = DataSourceRadSchedular;


Thanks in advance for your help.
Martin Gartmann
Top achievements
Rank 2
 answered on 19 Apr 2016
1 answer
39 views
I  have one scenario where I have to find the index of ROW which is invisible?

How to check if the row in the rad grid is visible or not?
Eyup
Telerik team
 answered on 19 Apr 2016
17 answers
360 views
I develop a product which uses RadScheduler, and initially, our product was used in one Time Zone (GMT) and we didn't need to care about any other Time Zones.  We did not apply any Time Zone offset or configuration to the RadScheduler, and generally, everything just worked.

All appointments were stored in the database in "wall clock" time (from the user's point of view), and so even across DST changes, recurring appointments worked, e.g. if you create a recurring appointment that occurred between 9am-5pm every day from 20-Mar-2012 to 28-Mar-2012, and the clocks went forward by 1 hour on 25-Mar-2012, this would all display correctly.

However, the next version of our product does need to be Time Zone aware.  To this end, we have been converting all dates/times in our database to UTC, and then applying the correct Time Zone Offset to RadScheduler.  For non-recurring appointments, this works.  However, for recurring appointments, what happens is that the RadScheduler displays the recurring appointment correctly for 9am-5pm for 20-Mar-2012 to 24-Mar-2012 - but then moves it to 10am-6pm for 25-Mar-2012 to 28-Mar-2012.

What the user is expecting, is for the recurring appointment to appear at the same "wall clock" time - i.e. 9am-5pm on 25-Mar-2012 to 28-Mar-2012, and NOT 10am-6pm.  

Now, I understand why the RadScheduler is doing this, because, presumably, the Recurrence Rule has a single fixed start/end date in UTC, and during DST, "wall clock" appointments are 1 hour ahead of UTC.

So, how do I adjust for this?  Is there a way of telling the Recurrence Rule or the RadScheduler when the Start/End date of DST is, so that the RadScheduler can display the recurring appointment correctly - 9am-5pm "wall clock" time for 20-Mar-2012 to 28-Mar-2012?

Plamen
Telerik team
 answered on 19 Apr 2016
9 answers
116 views
Hello,

I am using this demo as a reference.
http://demos.telerik.com/aspnet-ajax/scheduler/examples/outlook2007/defaultvb.aspx
But the calendars and the scheduler does not seem to interact
This is the place it is not working because I tried debugging, but no luck.
scheduler.set_selectedDate(selectedDate);

Both the calendars interact properly but the issue is just with the scheduler.

If you can help.
Thanks.
ProgrammerNet
Top achievements
Rank 1
 answered on 18 Apr 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?