Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
138 views
Is there any way to disable Responsive Behavior from Telerik components? for example disabling it for Navigation menu?
Vessy
Telerik team
 answered on 12 Dec 2015
3 answers
84 views

Hi,

is it possible to merge multiple columns in one (because of lack of space) but being able to sort by each of the columns?

See Screenshot attached for example.

Thanks in advance,

Martin

Pavlina
Telerik team
 answered on 12 Dec 2015
4 answers
82 views

Am am using this example for my learning tool.  The example is using a SQL connection string for data access but I am using Data Entity so I am having to do some code translation.  So far I have been able to get the Parent RadGrid configured and can access the USerControl to display the record data when I click the edit link.  However Since I am very new to the RadGrid world and am still working on my C# skills I am having some difficulty with the code translation to perform the update.

In the Telerik example this code is used to start to process:

//Prepare new row to add it in the DataSource
       DataRow[] changedRows = this.Employees.Select("EmployeeID = " + editedItem.OwnerTableView.DataKeyValues[editedItem.ItemIndex]["EmployeeID"]);

 This does not work for me  and I get this error message:

LinkAnalysis3.Subjects' does not contain a definition for 'Subjects' and no extension method 'Subjects' accepting a first argument of type 'LinkAnalysis3.Subjects' could be found (are you missing a using directive or an assembly reference?)

Okay I understand the error the Subjects table from the database is not identified, so I have no record or row selected.  So I tried this C# code:

DataRow[] changedRows = (results.Where(r => r.SubjectId = (editedItem.OwnerTableView.DataKeyValues[editedItem.ItemIndex]["SubjectId"])));

 But it does not work and I get an error message stating :

"Cannot implicitly convert type 'object' to 'int'. An explicit conversion exists (are you missing a cast?)"

Can someone please explain what I am doing wrong and how I can get this fixed.

 

Thank You for your assistance.

Perry

 


 

 

Pavlina
Telerik team
 answered on 12 Dec 2015
6 answers
381 views

We have had no issues printing in any browsers until Microsoft Edge. The contents of the radWindow overlays the underneath layers when printing. How do we globally fix this as we have a TON of places we print the contents of radWindows?

Thanks!

Marin Bratanov
Telerik team
 answered on 12 Dec 2015
3 answers
97 views

Hi

Can I add additional points to a BoxPlotSeries plot? For example, on http://demos.telerik.com/aspnet-ajax/htmlchart/examples/charttypes/box-plot-chart/defaultcs.aspx, looking at the plot for January, I want to add a point for 69. Can it be done?

Also, what is DataFieldY used for?

Thanks!

Danail Vasilev
Telerik team
 answered on 12 Dec 2015
2 answers
63 views

The given javascript function returns date in the following format:

Thu Nov 12 2015 00:00:00 GMT-0500 (Eastern Standard Time)

 

That output fails DateTime.TryParse. Is there any way to get the timeSlot.get_startTime() to return a simpler date format, or a way to parse that output into a Date object? 

 

Thank you

Ranjit
Top achievements
Rank 1
 answered on 11 Dec 2015
3 answers
53 views

Hi,

I have two websites using your Rad Editor, both are running Telerik UI Version 2014.2.724.35.

Both sites are set up identically and both have been working fine up till today when now on one of the sites when you go into a RadEditor and try and upload an image or a file the toolbar for uploading is greyed out and on inspection of the page I am presented with the error uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Component 'RadFileExplorer1_ajaxLoadingPanel' was not found. 

I can't seem to find a solution to this. I've tried rolling back the version and also using the trial of your newer version and i'm left with the same effect.

Any suggestions would be most welcome.

 

Thanks.

Vessy
Telerik team
 answered on 11 Dec 2015
1 answer
49 views

i am updating my content through editor like this 
<span itemprop="code" itemscope itemtype="http://schema.org/MedicalCode">

but it ignors the itemscope attribute from it.

Ianko
Telerik team
 answered on 11 Dec 2015
2 answers
95 views

Hello,

 I'm trying to insert SVG elements into my calendar day cells, to color the cell with two colors split down a diagonal (using SVG polygons). However, when I insert this SVG element with 100% height and 100% width, the cell expands to quite a bit larger than it's original size. For reference, I'm trying to insert something like this: https://jsfiddle.net/qgLvbhn8/

The SVG elements are inserted on the server side during the OnDayRender event as follows:

Literal styledcell = new Literal();

styledcell.Text = "<svg width=\"100%\" height=\"100%\" style=\"\" >" + "</svg>";

e.Cell.Controls.Add(styledcell);

 

The calendar itself is being given a static size, but it is expanding way past that size when I insert the SVG elements into the day cells. The calendar is being used as a full-year calendar, here is the markup:

<telerik:RadCalendar
            ID="RadCalendar"
            runat="server"
            FocusedDate="2015-01-01"
            TitleFormat="yyyy"
            SingleViewRows="53"
            SingleViewColumns="7"
            EnableWeekends="True"
            FastNavigationNextText="&amp;lt;&amp;lt;"
            ResolvedRenderMode="Classic"
            SelectedDate=""
            OnDayRender="CustomizeDay"
            EnableNavigation="False"
            RangeSelectionMode="OnKeyHold"
            EnableMonthYearFastNavigation="False"
            NavigationCaption=""
            ShowOtherMonthsDays="True"
            ShowRowHeaders="true"
            ShowFastNavigationButtons="False"
            Width="180px"
            Height="900px"
            Style="padding-bottom: 20px"
            CssClass="dtCal"
            >
            <HeaderTemplate>
                <asp:Label ID="CalLabel" CssClass="calendar-label" runat="server" Text="" Width="100%" Font-Bold="true" Font-Size="X-Large" ForeColor="Black"></asp:Label>
            </HeaderTemplate>
            <WeekendDayStyle CssClass="rcWeekend" />
            <CalendarTableStyle CssClass="rcMainTable" />
            <OtherMonthDayStyle CssClass="rcOtherMonth" />
            <OutOfRangeDayStyle CssClass="rcOutOfRange" />
            <DisabledDayStyle CssClass="rcDisabled" />
            <SelectedDayStyle CssClass="rcSelected" />
            <DayOverStyle CssClass="rcHover" />
            <FastNavigationStyle CssClass="RadCalendarMonthView RadCalendarMonthView_Default" />
            <ViewSelectorStyle CssClass="rcViewSel" />
            <ClientEvents OnDateSelecting="formatSelect"/>
        </telerik:RadCalendar>

I've tried to statically size the cells to their approximate dimensions before they are enlarged by inserting the SVG element using CSS:

.dtCal .rcMain  .rcMainTable .rcRow  td{
    height:18.4px;
    width:21.6px;
}

 This has no effect in Chrome, and only restricts the height in IE9.

 

I'm not sure what to do at this point. Is there a way I can set the size of the day cells statically? Or is there a way I can insert elements into the cells without the size of the cell blowing up?

Jared
Top achievements
Rank 1
 answered on 11 Dec 2015
1 answer
148 views

My understanding is that OnClientFilesUploaded will fire when all files in the list have been uploaded.  However, if you queue up several files (drag and drop)... and then later (while the first set is still uploading) queue up a second set of files (drag and drop); the OnClientFilesUploaded event will trigger after the first set of files is finished uploading and not after all files have finished uploading.

 

I have a full postback happening in my OnClientFilesUploaded handler which causes any other queued up files to be removed from the list.  Can the OnClientFilesUploaded be changed to only fire when all files in the list have been uploaded?  And not after the first set is complete?

 

Tested on IE 11 and Chrome.

Ivan Danchev
Telerik team
 answered on 11 Dec 2015
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?