telerik

AutoComplete Field and multiple selection

被刻印的时光 ゝ 提交于 2019-12-25 03:39:48
问题 I am developping in Xamarin IOS, I need a control that can support autocomplete as I type in and which can receive more than one data. I used to work with Telerik for Web Dev, and I want the control I am looking for to do the same thing as a RadAutoCompleteBox in Telerik would Do. Is there any control that can do that? Or Do I have to implement this myself in Xamarin IOS. if so, can I have a link or a tutorial that could help me with that? 回答1: You could search the google first and you will

Telerik Combo Background

大兔子大兔子 提交于 2019-12-25 02:38:21
问题 How can i Change background color of specific values in telerik Combo (MVC). <%= Html.Telerik().ComboBox() .Name("DropDownList") .BindTo(new SelectList(Model, "ID", "NAME")) .Filterable(filtering => { filtering.FilterMode(AutoCompleteFilterMode.Contains); }) .HtmlAttributes(new { }) %> 回答1: function onDataBaound(e) { var combobox = $(this).data('tComboBox'); var str = '<%:Html.Raw(Json.Encode(ViewData["Values"]))%>'; str = str.replace(/[\[\]']+/g, ''); str = str.split(','); var j = 0; if

Reading a PDF back from an iFrame?

怎甘沉沦 提交于 2019-12-25 02:34:07
问题 I have a PDF document that is getting generated on the fly, and rendered on the fly to an iFrame within a radwindow. Basically the document is already largely prepopulated, however the user will still have a chunk of information that they are required to enter. I've found a good amount of information about sending a pdf TO an iframe, but not much information about going the other way. I have a button within the radwindow that can access the iframe object, however I'm somewhat lost as to where

add checkbox in dropdownlist

好久不见. 提交于 2019-12-25 02:03:57
问题 I'm using telerik control in my project. I want to add checkbox in drdownlist and select multiple values and store in database. I m using c#.net lang. and it is window base application. 回答1: if you are using windows application then its better to use "RadListBoxItem" instead of dropdown list. It is easy to use and more efficiently used in Telerik. for (int i = 0; i < 10; ++i) { RadListBoxItem item = new RadListBoxItem(); RadCheckBoxElement checkBox = new RadCheckBoxElement(); checkBox.Text =

Changing the color of onclick selected text in kendo angular grid

柔情痞子 提交于 2019-12-25 00:48:59
问题 Can someone help me in changing the color of onclick selected text in kendo angular grids. 回答1: ::selection is the property you are looking for to change the selected text color (see this answer for more details). To get this to apply to your kendo grid, use the following CSS: .k-grid ::selection { background-color: #3399FF; color: #fff; } If you are still having trouble, make sure you are applying your CSS to the global scope. Because of style encapsulation, this is the easiest way to affect

Refreshing RadGridView with Programmatically added Button: A column with the same Name already exists in the collection

落爺英雄遲暮 提交于 2019-12-24 20:36:15
问题 Running into an issue using a GridView to Add Document pointers. When I refresh the grid I get an error trying to add (or re-add) two programmatically added button columns. An unhandled exception of type 'System.InvalidOperationException' occurred in Telerik.WinControls.GridView.dll Additional information: A column with the same Name already exists in the collection Might be a dumb oversight on my part but I'm starting to go a little nutty ! I have the following code: public GridEvents() {

Using Firebase in Native Script

别等时光非礼了梦想. 提交于 2019-12-24 13:23:10
问题 I went through the documentation at Native Script but could find a way to use Firebase in Native Script apps. Does any one know how to use Firebase in Native Script apps? 回答1: Note: This is just a copy and paste of my other answer here. I've just built nativescript-firebase, which is loads the Firebase Node.js SDK in a way that's compatible with NativeScript. Also, Eddy Verbruggen has written nativescript-plugin-firebase which uses Firebase's corresponding Android and iOS SDKs. 回答2: Take a

Telerik ASP.NET Ajax RadGrid in MVC and ViewState?

丶灬走出姿态 提交于 2019-12-24 12:43:33
问题 That's right, an ASP.NET Ajax control in MVC. I know I know, there are Telerik MVC controls but the Telerik MVC grid doesn't have everything I need so I'm dead set on using the ASP.NET Ajax control. Anyways, I have the RadGrid up and running great. The problem occurs when I enable all the bells and whistles such as paging, sorting, filtering etc. It looks like it puts the group by/filter/sort data in an eventargument post variable: __EVENTARGUMENT FireCommand:2$RadGrid1$ctl00;GroupByColumn

How can I sort the contents Telerik GridBoundColumn based upon a substring?

我是研究僧i 提交于 2019-12-24 12:34:36
问题 I have the following: <telerik:GridBoundColumn HeaderText="Name(s)" UniqueName="colNames" DataField="NameList" AllowSorting="false"> the data being bound to this is coming from a SQL stored procedure that I can't modify without affecting a number of other pages. I need to sort these items by a substring; the field to be displayed is 'Firstname Lastname', and I need to sort on last name. Is there a way to modify the above to sort on the substring after ' '? I know this is an imperfect solution

How can we implement select All option in Kendo MultiselectFor

孤人 提交于 2019-12-24 12:09:22
问题 How can we implement select all option in Kendo Multiselect For? @(Html.Kendo().MultiSelectFor(model => model.TestData) .DataTextField("DataText") .DataValueField("DataValue") .Placeholder("Select..") .Events(e => e.DataBound("CheckIfEmpty")) .AutoBind(false) .Enable(false) .DataSource(source => { source.Read(read => { read.Action("Action", "Controller").Data("filterData"); }) .ServerFiltering(false); }) ) 回答1: Please check below code snippet. <!DOCTYPE html> <html> <head> <meta charset="utf