Telerik Forums
UI for ASP.NET MVC Forum
1 answer
166 views
PDF Export can export div's content in one page in this example. When I have many content with very long height, how can I exoprt pdf's document with pages! And then, when I set  paperSize with "A4", it can only export the first page. How to solve my problem. Another Question, how to set the pdf's header and footer in document.

Marin Bratanov
Telerik team
 answered on 12 Jan 2017
5 answers
497 views
We've been using the ASP Dot Net version of Telerik controls for years and use the RadWindow extensively. Is there an equivalent in Telerik MVC? I need to load an existing ASPX page in a pop up from an MVC view and can't get the JQuery dialog to work. (I know, long story) Thanks.
Rumen
Telerik team
 answered on 11 Jan 2017
5 answers
540 views

Hi,

I want to have "Slide in windows" in my ASP.NET solution für editing, Report showing etc.

here in this Video you can see what I mean:http://www.screencast.com/t/9clutfLk3

how to implement such a functionality with Kendo window?

robert

Robert Madrian
Top achievements
Rank 1
Veteran
Iron
 answered on 11 Jan 2017
2 answers
86 views

Hi,

I created an app using Telerik grids and EF. Everything works like a charm on my machine. However, when I deply it to the server the screen layout and everything is there but ther grids don't show ANY data whatsoever. I opened the Developer Tools in Chrome and it throws an Error 500.

I doubled checked NET version on the server and it's all up to date. I have no idea what's going on. Also, I made sure the following libraries were in the bin folder on the server:

Telerik.OpenAccess.dll

Telerik.OpenAccess.35Ext

Telerik.OpenAccess.40Ext

Telerik.OpenAccess.Web.40

Telerik.OpenAccess.Runtime

I don't know what the hell else to do!!

 

Nick
Top achievements
Rank 1
 answered on 10 Jan 2017
2 answers
834 views

Hi! 

I have one column in my kendo grid.

 columns.Bound(c => c.PhoneNumber).Filterable(ftb => ftb.Cell(cell => cell.Operator("contains")));

I use the build-in filter for this column. However, my data of "PhoneNumber" is a STRING in "(123)-456-7890" format. So when I put 1234567890 in the filter textbox, there is no result. I saw an example to apply a phone number mask for kendo text box. Is it possible to apply one for a grid column filter?

Daniel
Telerik team
 answered on 10 Jan 2017
2 answers
529 views
Hello
We want to create a kendo treeview with css binding.
There is a hierarchical data source which is binded to this kendo treeview. We want to change left border style and color of innermost span according to the value existing in the data source. For example, we want to make left border red if status value is -1. This status value takes place in the data source which is binded to the kendo treeview. We want to make this operation for each row.
We could not success css binding for a field from the data source and change left border style and color according to the value of that field.
The final desired kendo treeview should look like attached png file. The attached png file could be helpful to explain the situation and request.
I would appreciate your immediate attention to this matter.
Emin Inam
Top achievements
Rank 1
 answered on 10 Jan 2017
2 answers
327 views

Hello, I am struggling with a minor annoying issue when trying to save a worksheet.  Basically, I am placing string values into cells that start with 0 ex: "012345".  I then try to save the workbook to a local directory and the zero is being removed.  I understand this behavior being desired for numeric values but I am specifically formatting this cell as text, in which case I expect the string value to be saved exactly as it is written.  Am I missing something? Do I need to format the columns?  I have attached the resulting file as well as a screenshot showing values in watch window just prior to save.  Here is a sample of my code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Telerik.Web.Spreadsheet;

namespace KendoSpreadsheetPaddedZeroIssue.Controllers
{
    public class SpreadsheetController : Controller
    {
        public ActionResult SaveSpreadsheet()
        {
            Workbook resultWorkBook = new Workbook();
            resultWorkBook.AddSheet();
            Worksheet resultWorkSheet = resultWorkBook.Sheets[0];
            resultWorkSheet.ShowGridLines = true;
            resultWorkSheet.Name = "test1";
            resultWorkBook.ActiveSheet = "test1";
            

            List < Cell > cellItems = new List<Cell>();

            cellItems.Add(new Cell() {Index = 0, Format = "@", Value = "01234", Bold = false, FontSize = 13, TextAlign = "center", VerticalAlign = "center" });
            cellItems.Add(new Cell() {Index = 1, Format = "@", Value = "05678", Bold = false, FontSize = 13, TextAlign = "center", VerticalAlign = "center" });
            Row testRow = new Row() { Index = 0, Height = 20, Cells = cellItems };
            Worksheet testWorkSheet = resultWorkBook.Sheets[0];
            testWorkSheet.AddRow(testRow);

            resultWorkBook.Save(@"somepathonmydesktop\Test.xlsx");

            return View("Index");
        }

    }

}

Nencho
Telerik team
 answered on 10 Jan 2017
2 answers
244 views

Hello,

1) How I can change the color slider when user select another value of the slide.  Example, selecting 1 the slider become yellow, selecting 2 it's become red, etc.  I have to use the sliderChange I guess.  But what are the JS instructions?

2)  And it's possible the change the thickness of the slider?

 

Thank a lot for your precious help.

Louis
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 09 Jan 2017
1 answer
916 views

Hello,

I would like to provide users with the ability to do quick edits on records inline in a grid (i.e. editing a subset of fields that are displayed on the grid), but also give them the ability to launch a popup window to edit all fields for a particular record (including some that don't show up as bound columns on the grid).

I have successfully used MVC editor templates to customize the popup editor for a grid so I am wondering if there is a way I can create a custom button in a command column that will launch a popup editor window (using a ASP.NET MVC editor template for the record).

 

Thanks in advance for any advice you may be able to provide!

 

Eduardo Serra
Telerik team
 answered on 09 Jan 2017
1 answer
872 views

I am trying to call a function from the clientTemplate. Here's sample code. I am trying to send the value of RoleName to a translator function. In my Translate() function the value I get is "#= RoleName #" , not the value. Is this possible?

 

@(Html.Kendo().Grid<SaviUser>()
.Name("UsersGrid")
.Columns(columns =>
{
    columns.Bound(c => c.RoleName).ClientTemplate(@translator.Translate("#= RoleName #")).Title(translator.Translate("ROLE_NAME")).MinScreenWidth(768);
})

Eduardo Serra
Telerik team
 answered on 09 Jan 2017
Narrow your results
Selected tags
Tags
Grid
General Discussions
Scheduler
DropDownList
Chart
Editor
TreeView
DatePicker
ComboBox
Upload
MultiSelect
ListView
Window
TabStrip
Menu
Installer and VS Extensions
Spreadsheet
AutoComplete
TreeList
Gantt
PanelBar
NumericTextBox
Filter
ToolTip
Map
Diagram
Button
PivotGrid
Form
ListBox
Splitter
Application
FileManager
Sortable
Calendar
View
MaskedTextBox
PDFViewer
TextBox
Toolbar
Dialog
MultiColumnComboBox
DropDownTree
Checkbox
Slider
Switch
Notification
Accessibility
ListView (Mobile)
Pager
Security
ColorPicker
DateRangePicker
Wizard
Styling
Chat
DateInput
MediaPlayer
TileLayout
Drawer
SplitView
Template
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Badge
LinearGauge
ModalView
ResponsivePanel
TextArea
Breadcrumb
ExpansionPanel
Licensing
Rating
ScrollView
ButtonGroup
CheckBoxGroup
NavBar
ProgressBar
QRCode
RadioButton
Scroller
Timeline
TreeMap
TaskBoard
OrgChart
Captcha
ActionSheet
Signature
DateTimePicker
AppBar
BottomNavigation
Card
FloatingActionButton
Localization
MultiViewCalendar
PopOver (Mobile)
Ripple
ScrollView (Mobile)
Switch (Mobile)
PivotGridV2
FlatColorPicker
ColorPalette
DropDownButton
AIPrompt
PropertyGrid
ActionSheet (Mobile)
BulletGraph
Button (Mobile)
Collapsible
Loader
CircularGauge
SkeletonContainer
Popover
HeatMap
Avatar
ColorGradient
CircularProgressBar
SplitButton
StackLayout
TimeDurationPicker
Chip
ChipList
DockManager
ToggleButton
Sankey
OTPInput
ChartWizard
SpeechToTextButton
InlineAIPrompt
TimePicker
StockChart
RadialGauge
ContextMenu
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?