telerik

TabView vs SegmentedBar

不问归期 提交于 2019-12-02 04:25:11
I am creating SegmentedBar in native script. I am able to create segments but I am not able to add Label to segment view. <Page xmlns="http://www.nativescript.org/tns.xsd" loaded="pageLoaded"> <StackLayout> <SegmentedBar> <SegmentedBar.items> <SegmentedBarItem title="Segment 1"> <SegmentedBarItem.view> <Label text=" I am in segment bar 1"/> </SegmentedBarItem.view> </SegmentedBarItem> <SegmentedBarItem title="Segment 2"> <SegmentedBarItem.view> <Label text=" I am in segment bar 2"/> </SegmentedBarItem.view> </SegmentedBarItem> </SegmentedBar.items> </SegmentedBar> </StackLayout> </Page> What

Image fill the space on the button in WPF

。_饼干妹妹 提交于 2019-12-02 02:33:26
问题 I have Button on my WPF app and I want an Image to fill the Button completely. Currently I have The following code and it does not fill the Button . <Image x:Key="MyResource" Source="Images/up-arrow-icon.jpg" Margin="0" /> <telerik:RadButton Height="25" Width="40" HorizontalAlignment="Left" Margin="417,10,0,0" Name="radButton1" VerticalAlignment="Top" Click="UpButtonClick"> <telerik:RadButton.Content> <StaticResource ResourceKey="MyResource"/> </telerik:RadButton.Content> </telerik:RadButton>

Image fill the space on the button in WPF

我是研究僧i 提交于 2019-12-02 01:00:38
I have Button on my WPF app and I want an Image to fill the Button completely. Currently I have The following code and it does not fill the Button . <Image x:Key="MyResource" Source="Images/up-arrow-icon.jpg" Margin="0" /> <telerik:RadButton Height="25" Width="40" HorizontalAlignment="Left" Margin="417,10,0,0" Name="radButton1" VerticalAlignment="Top" Click="UpButtonClick"> <telerik:RadButton.Content> <StaticResource ResourceKey="MyResource"/> </telerik:RadButton.Content> </telerik:RadButton> Do I need resize the Image outside WPF then use it? You can try changing your Image to an ImageBrush

Telerik MVC custom AJAX editor template

ⅰ亾dé卋堺 提交于 2019-12-01 23:06:56
问题 I am using the MVC version of the Telerik controls with ASP.NET MVC and the razor view engine . I have an AJAX grid. When I click edit I want it to display the data in form style. But the issue is that I want to rearrange the in form controls they way that I want them to display. How would I do something like that? Currently the controls are all beneath each other. I want to create my own layout for editing. I have a whole lot of other controls on the view, one of them being this grid. My

Telerik MVC custom AJAX editor template

故事扮演 提交于 2019-12-01 20:45:50
I am using the MVC version of the Telerik controls with ASP.NET MVC and the razor view engine . I have an AJAX grid. When I click edit I want it to display the data in form style. But the issue is that I want to rearrange the in form controls they way that I want them to display. How would I do something like that? Currently the controls are all beneath each other. I want to create my own layout for editing. I have a whole lot of other controls on the view, one of them being this grid. My view model object has a list of Children objects and I want to use my grid to populate this list. The view

Telerik + Visual Studio 2010 Toolbox = Maddening Problems

两盒软妹~` 提交于 2019-12-01 17:23:05
Has anyone ever found a solution to either of these problems: When entering any design mode in Visual Studio 2010 (WPF, EDMX, Silverlight, Reporting, etc) I see a message in the status bar like Loading toolbox content from package Microsoft.VisualStudio.IDE.Toolbox.ControlInstaller.ToolboxInstallerPackage '{2C98B35-07DA-45F1-96A3-BE55D91C8D7A}'... This locks VS for about a minute everytime. Telerik toolboxes have many duplicate controls. Toolbox doesn't show any items when expanded. I think this is because it has too many controls in it. I believe all of these issues to be related. I think

Why doesn't my KendoGrid call my MVC controller?

这一生的挚爱 提交于 2019-12-01 11:57:26
问题 I have the following code in a standard C# ASP.NET MVC controller. public JsonResult ReadTeachers() { return Json(ReadTeacherData(), JsonRequestBehavior.AllowGet); } public void UpdateTeachers(IEnumerable<Teacher> updatedTeachers) { // this is never called } I'm trying to call this controller with a KendoGrid. Here is the code for my grid. $("#teachers").kendoGrid({ dataSource: { type: "json", transport: { read: { url: '@Url.Action("ReadTeachers", "EducationPortal")', dataType: "json" },

Why doesn't my KendoGrid call my MVC controller?

此生再无相见时 提交于 2019-12-01 11:41:08
I have the following code in a standard C# ASP.NET MVC controller. public JsonResult ReadTeachers() { return Json(ReadTeacherData(), JsonRequestBehavior.AllowGet); } public void UpdateTeachers(IEnumerable<Teacher> updatedTeachers) { // this is never called } I'm trying to call this controller with a KendoGrid. Here is the code for my grid. $("#teachers").kendoGrid({ dataSource: { type: "json", transport: { read: { url: '@Url.Action("ReadTeachers", "EducationPortal")', dataType: "json" }, update: { url: '@Url.Action("UpdateTeachers", "EducationPortal")', dataType: "json" }, parameterMap:

Indirect dependency on the .NET Framework assembly

a 夏天 提交于 2019-12-01 10:39:13
问题 So i have updated my Telerik dll's by dropping the new ones over the top and then cleaning my solution and rebuilding, to produce the following error: Warning 3 The primary reference "Telerik.Windows.Documents.FormatProviders.Xaml" could not be resolved because it has an indirect dependency on the .NET Framework assembly "mscorlib, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" which has a higher version "5.0.5.0" than the version "2.0.5.0" in the current target framework.

Customize the data in Kendo Grid pdf export

北慕城南 提交于 2019-12-01 08:40:45
I am using the built in functionality of Kendo Grid to export the grid data in pdf and excel http://demos.telerik.com/kendo-ui/grid/pdf-export . It is working fine for me. I want to customize the data that is exported i.e. add some additional columns and remove some of the columns of grid. Is there any way to customize the export data using templates or some other feature. Thanks in advance. You have two options: Define a second grid with the columns that you want to export to PDF and when asked to export actually export the second. Both grids should share the datasource so filtering, orders..