telerik

Save data from telerik radgrid to database

萝らか妹 提交于 2021-02-11 16:49:52
问题 Hi I'm new using telerik rad controls an asp development and I need some help. I have a radGrid wich is populated with data when a button is pressed, I found a solution here in the forum for selecting a row of the radGrid and taking the values of each cell, but now I want to know how to save this values into my database using entity framework. What I've been trying is to put the values into strings and then in my saving method call the strings, but when I execute the program I add two

Save data from telerik radgrid to database

 ̄綄美尐妖づ 提交于 2021-02-11 16:47:17
问题 Hi I'm new using telerik rad controls an asp development and I need some help. I have a radGrid wich is populated with data when a button is pressed, I found a solution here in the forum for selecting a row of the radGrid and taking the values of each cell, but now I want to know how to save this values into my database using entity framework. What I've been trying is to put the values into strings and then in my saving method call the strings, but when I execute the program I add two

WPF Time Chart with absolute or relative time option

心已入冬 提交于 2021-02-11 12:30:08
问题 I have a time chart that shows measurements of temperature over time. I would like to be able to display either absolute time or relative time, which is spent time from a defined starting point (so a TimeSpan). The data points are DateTime in absolute and temperature, I would like to avoid rewriting all the time series with relative value each time the user change. So far my goal was to create a converter for formatting the X-Axis labels with the time and handle the logic in there, passing

Get column index from column name in Kendo grid in Javascript

流过昼夜 提交于 2021-02-08 12:39:12
问题 Is there a way we can find out the index of column in grid, if we know the column name in Kendo grid? e.g. EmployeeID| Name 123 | John I want to know the index of 'Name' field i.e. 1 in the grid. Any suggestions. Thanks. Sanjeev 回答1: Please try with the below code snippet. <!DOCTYPE html> <html> <head> <title>Jayesh Goyani</title> <link rel="stylesheet" href="https://kendo.cdn.telerik.com/2015.2.902/styles/kendo.common-bootstrap.min.css" /> <link rel="stylesheet" href="https://kendo.cdn

QueryableCollectionView with datagrid and dataform - selection changed issue

久未见 提交于 2021-02-08 05:41:50
问题 I have an mvvm solution. In my viewModel I have an QueryableCollectionView of the class BaseClass objects and an standalone BaseClass element(let's call it seletedElem). The BaseClass have a private QueryableCollection of the ChildClass objects - SCollection , and a property that returns this collection. Both classes are implementing the following interfaces: INotifyPropertyChanged , IDataErrorInfo , IEditableObject . In my view I have raddatagrid which itemssource is binded to the

QueryableCollectionView with datagrid and dataform - selection changed issue

本小妞迷上赌 提交于 2021-02-08 05:41:23
问题 I have an mvvm solution. In my viewModel I have an QueryableCollectionView of the class BaseClass objects and an standalone BaseClass element(let's call it seletedElem). The BaseClass have a private QueryableCollection of the ChildClass objects - SCollection , and a property that returns this collection. Both classes are implementing the following interfaces: INotifyPropertyChanged , IDataErrorInfo , IEditableObject . In my view I have raddatagrid which itemssource is binded to the

How to bind data to radcombobox inside grid EditItemTemplate

谁说胖子不能爱 提交于 2021-01-29 15:47:28
问题 I try to bind data to a radcombobox from server side: Here is my grid: <telerik:RadGrid ID="gvWebUsers" runat="server" OnNeedDataSource="gvWebUsers_NeedDataSource" OnItemCreated="gvWebUsers_ItemCreated" Skin="Gray" AutoGenerateColumns="false" OnItemDataBound="gvWebUsers_ItemDataBound" AllowAutomaticUpdates="true" AllowPaging="true" CssClass="SettingsGrid" Width="99.7%"> <MasterTableView DataKeyNames="UserID" PageSize="15" EditMode="InPlace" > <Columns> <telerik:GridTemplateColumn HeaderText=

Issues using Telerik RadWindow and custom WindowManager in Caliburn Micro

不羁岁月 提交于 2021-01-27 08:12:40
问题 I am currently working on a WPF project that utilizes Caliburn Micro and Caliburn.Micro.Telerik. My issues are twofold. Firstly, if I create the View as a telerik:RadWindow then whenever the Show / ShowDialog method is called the window never gets displayed. If I create the view as UserControl then it will display. Secondly TryClose() works fine without parameters but whenever I try and pass in true / false the window does not close. For reference here are the pertinent pieces of code: Window

Issues using Telerik RadWindow and custom WindowManager in Caliburn Micro

白昼怎懂夜的黑 提交于 2021-01-27 08:12:40
问题 I am currently working on a WPF project that utilizes Caliburn Micro and Caliburn.Micro.Telerik. My issues are twofold. Firstly, if I create the View as a telerik:RadWindow then whenever the Show / ShowDialog method is called the window never gets displayed. If I create the view as UserControl then it will display. Secondly TryClose() works fine without parameters but whenever I try and pass in true / false the window does not close. For reference here are the pertinent pieces of code: Window

sitefinity Validation data view

孤人 提交于 2021-01-24 10:41:14
问题 I am building this MVC form not using the sitefinity form control. I wanted to add validate to the First Name TextBox. In the model I have [Required] attribute on the property in the view model used by the view. I only get the red text The FirstName field is required. but I wanted the textbox and label to be red as well. Is there another class I need to use for the TextBox or anything with Bootstrap ? View @Html.Script(ScriptRef.JQueryValidate, "top", true) @{ HtmlHelper