FAQ Database Discussion Community


How to get the containing grids key from within the server side DataBinding event of a RadComboBox

c#,asp.net,data-binding,telerik,radcombobox
I'm trying to uniquely set the radcombobox datasource based on the detail grid ID value. I would like different values in the comboboxes for each detail table view. here is the server side event code: protected void MethodRadComboBox_DataBinding(object sender, EventArgs e) { RadComboBox combo = (RadComboBox)sender; combo.DataSource = ...need key...

How to set font-weight of a column text to bold based on another column value in Telerik Grid

telerik,formatting,conditional,client-templates
I have a Telerik grid in which based on whether my IsTrue value is true or false, I need to set the font-weight of Name text in only that particular row to bold. I tried the following but I seem to be missing something. columns.Bound(d => d.IsTrue).Width(0).HtmlAttributes(new { id="hdnIsTrue", style...

Winforms remove controls on click

c#,winforms,menu,telerik,controls
In my application I am generating some controls dynamically. On telerik menu control when I click I want to remove those controls and add new controls. I am using the following code. It is removing the controls but only one control per click. Why this code is not removing all...

Custom Serial Number in Kendo UI

kendo-ui,telerik,kendo-grid
I am using Kendo UI for rendering data in a grid. In that grid there are certain column whose data is fetched from server side but while rendering I want first column to be serial number. Is there any solution so that I can generate serial number client side keeping...

Telerik RadDock on left side of main form in Winform application

winforms,telerik,raddocking
I have a WinForm application that I would like to add a RadDoc like a popup menu on the left inside form main. The user should be able to hover to the left side of the screen or click some tab on the left side of the screen and then...

NativeScript slider not showing value

telerik,nativescript
My xml here <Slider value="2" minValue="1" maxValue="10" /> and the print screen, why it doesn't showing min value at beginning and max at ending as well as user sliding value. ...

Xaml - Binding in FallBackValue

c#,xaml,silverlight,binding,telerik
How can i make two bindings on a column in grid, in the way that if first binding is empty or null, second binding will be used. I have tried to do that with FallbackValue property but you can't make binding inside it only static values. Here some code, which...

Using OnClick and OnClientClick together doesn't work

javascript,asp.net,webforms,telerik
I am using RadButton and RadWindow. On my RadButton I am trying to use OnClick and OnClientClick together to show a popup first and then go to a page via a server call. <div class="actionButtons"> <telerik:RadButton ID="btnMedLogin" CssClass="actionButton secondary" runat="server" Text="Doctor Login" SingleClick="true" SingleClickText="Logging in" OnClick="btnDoctor_Click" OnClientClick="openwin();return false"> </telerik:RadButton> </div>...

Radgrid insert with dropdown gets null value when I insert

c#,asp.net,insert,telerik,radgrid
I am using asp.net C# with telerik. I have radgrid and a button add new record. I press it and fill up the informations but the problem is when I press insert it says that ParentDist and RankLevel can not be null. In other words I can get the value...

Radgrid very slow to render on page refresh

telerik,telerik-grid,radgrid
When I initially load a page that has our radgrid on it, the page loads in seconds. When I refresh the exact same page, the page load takes minutes. I'd post code, but I'm not sure it's relevant - as the code doesn't change from initial page load to page...

DateFormat in radGridViewDataColumn WPF

c#,wpf,telerik,radgridview
I'm working on WPF MVVM application with telerik controls. I need to format one of the column to Date(MM/dd/yyyy). When i select a date from the calendar it works fine and after switching to next column the value is showed as MM/dd/yyyy 12:00:00. I dont need the time to be...

JavaScript runtime error only on local machine

javascript,telerik
I am getting the following javascript error but weird thing is it only happen when I run the application through code on my local machine. Code is running fine on servers. Any suggestion or help would be appreciated. Unhandled exception at line 6, column 74203 in...

telerik:RadMenuItem how to keep hard code Item when bind to datasourse?

c#,asp.net,webforms,telerik
I have telerik:RadMenuItem and I added item using hard code called home. my problem home item show after databind and It will render I item that get it from database just I want to ask how can I keep the home Item <telerik:RadMenu ID="DefaultMenu" runat="server" Flow="Vertical" Skin="LeftSide" EnableEmbeddedSkins="False" OnItemDataBound="DefaultMenu_ItemDataBound" OnItemClick="DefaultMenu_ItemClick">...

How to get the Id of the selectedvalue?

c#,winforms,telerik
I have DropDownList with the following values: ddl.SelectedValue = { Id = 234, Name = "ABC Name" } How can I get the value of the Id? I use WinForms and RadDropDownList...

What is that extra benefit of using Telerik Grid Project Or Telerik UI Project

c#,asp.net,asp.net-mvc,telerik
I am looking at the demo for Telerik Grid and The demo starts with having to create a Telerik Grid project /Telerik UI project. My problem here is that I am creating an MVC application which might have multiple Controllers and Views and most of them don't have anything to...

RadGrid ItemCommand Doesn't Fire When Added In Code-Behind

c#,asp.net,telerik,radgrid
I am using a Telerik RadGrid in an ASP.NET website and I need to programmatically add an ItemCommand event handler from my page's PreRender event: MyGrid.ItemCommand += new GridCommandEventHandler(OnItemCommand); However, OnItemCommand is never called. If I put it in the .aspx file it works fine: OnItemCommand="OnItemCommand", just not when I...

Kendo Grid Edit form - Changing control value programmatically is ignored on submit

kendo-ui,telerik,kendo-grid
I'm using Telerik Kendo UI Professional. I have a grid with an edit template, and several controls on it. I ran into a weird little requirement, where I needed to programmatically set the value of one of the controls, based on another control being changed. The actual change of value...

Nested RadGrid Wrong Results

c#,asp.net,gridview,telerik,radgrid
I am using Asp.net C# Telerik NestedGrid. When I press first row to expand I get correct results but when I press second row I get the results of first row for some reason I cant get the new values. What I am doing wrong and how I can fix...

Telerik GridGroupByExpression show only one entry

c#,telerik,dotnetnuke,telerik-grid
Working with Telerik RadGrid, I choose to grouyp my result. Before add my group, all datas was displaying correctly. After, it only show me the first entry, and tell me there are X results, on next pages (without possibilities to go to these pages) I would like to know what...

How override Print in Kendo UI Editor?

asp.net-mvc,kendo-ui,telerik,editor
I used Kendo UI Editor control. IT is ok. But I need to do same events before Printing How override Print function in Kendo UI Editor ? @(Html.Kendo().Editor() .Name("editor") .Tools(tools => tools .Clear() .Bold().Italic().Underline().Strikethrough() .JustifyLeft().JustifyCenter().JustifyRight().JustifyFull() .InsertUnorderedList().InsertOrderedList() .Outdent().Indent() .CreateLink().Unlink() .InsertImage() .InsertFile() .SubScript() .SuperScript() .TableEditing() .ViewHtml() .Formatting() .CleanFormatting() .FontName() .FontSize()...

How to access a Model property in a TreeView on Telerik MVC TreeView (Kendo UI)

telerik,kendo-asp.net-mvc,telerik-mvc
How do I access the ID property of the model when I select one of the treeview nodes? (I want to display the details based on ID next to the treeview) @(Html.Kendo().TreeView() .Name("OrganizationTree") .HtmlAttributes(new { @class = "demo-section" }) .DataTextField("Name") .DragAndDrop(true) .ExpandAll(true) .Events(events => events .Select("onOrgSelect") .Drop("onOrgDrop") ) .DataSource(dataSource =>...

Telerik RadAsyncUpload control - Rename multiple files names if already exist

telerik,asyncfileupload
Telerik's RadAsyncUpload control is used upload files to a file system or a shared folder. If the file already exists, we need to append a counter value to the end of the file. I've written logic to add an integer value named counter to the file name but this code...

how can we remove Save changes button from edit manager of a rad grid

javascript,asp.net,telerik,client-side,telerik-grid
Work on Asp.net webpage vs2012 C#.Need suggestion how to remove Save changes button from the batch editing manager.Actually I want a Save Button is placed outside the grid. I know how to put save button out side the grid.help me to remove save changes button from the grid edit manager....

Open dialog window on checkbox click in Telerik RadGrid

javascript,asp.net,checkbox,telerik,telerik-grid
I have a Telerik RadGrid with a GridTemplate column that has an asp:CheckBox inside of it. I chose to use a GridTemplate column rather than a GridCheckBoxColumn or ClientSelectColumn because I want the user to have the ability to check the box and on checkbox clicked if it is checked...

Use of Kendo's Pie chart with dynamic data

c#,asp.net-mvc-4,kendo-ui,telerik
i'm trying to use a pie chart to display statistics. Data is within my table and i get it this way: public class StatisticsAccess { public static object getTypesForStatistics() { var dbo = new UsersContext(); var all = (from a in dbo.Note select a).ToList(); var results = all.GroupBy(item => item.language.lang)...

show dates when using only HourInterval in RadTimeline wpf

wpf,telerik
I am not much familiar with "Wpf" and "Telerik" Controls. I am using telerik RadTimeline and want to show timeline in HourInterval. User can select start and end date and timeline will show interval in Hour basis. But the problem with this timeline is that it is showing only the...

How do I get a QR code to from my telerik app-builder project so that I can scan it and preview the application from my device?

telerik,qr-code,telerik-appbuilder
I have the Telerik AppBuilder Companion App which allows for previewing an app by scanning a QR code. My issue is, I don't know where to find a code for my project. How can I generate this QR code from the Telerik tools in my visual studio project? Thank you...

How to programmatically select multiple nodes in RadTreeView in C#

c#,winforms,telerik,treeview
I want to programmatically select multiple nodes in my RadTreeView from Telerik component in a C# application. It's a winform. I've set MultiSelect property to True. But when I try this: myTree.SelectedNodes= someNodeCollection; It says: SelectedNodes has no setter Is there a way to do this programmatically?...

KendoUI Grid fails to make Ajax call on the Page Load

ajax,asp.net-mvc,kendo-ui,telerik,kendo-grid
I am working on a demo page for KendoUI grid and I am following example in following link almost as it is "Verbatim". http://demos.telerik.com/aspnet-mvc/grid/index I am not sure what am I doing wrong but it seems like the Grid is not making the first Ajax call that it is supposed...

Cannot mock … The profiler must be enabled to mock, arrange or execute the specified target

unit-testing,telerik,justmock
I have the following in a test (my first ever JustMock test, I might add)... var template = Mock.Create<MessageType>(); Mock.Arrange(() => template.Subject) .Returns("This template has Zero tokens."); Mock.Arrange(() => template.Body) .Returns("This template has {{number}} of {{tokens}}."); The class being Mocked looks like this ... public class MessageType : BaseBusinessEntity {...

Remove formatting for specific column RadGrid MVVM

c#,wpf,xaml,mvvm,telerik
I am using a WPF Application, In that i am using a telerik gird and also i am using MVVM model to bind data in the grid. I have set the rows to gray color and readonly based on some values. Its working fine. Now i have to remove the...

How to access a grid item in detail template kendo ui

c#,asp.net-mvc,kendo-ui,telerik
I have a one-to-many relationship between person and address and I would like to display all the addresses in the grid detail. I know how to do this in a column, but it will look ugly. @(Html.Kendo().Grid(Model) .Name("Test") .Columns(c => { c.Bound(p => p.FirstName); c.Bound(p => p.LastName); c.Bound(p => p.Addresses).Template(...

How can I convert a List to an XML string

c#,xml,telerik,expandoobject,dynamicobject
I want to use a List of ExpandoObjects as a datasource for a Telerik Report but it seems that Telerik Reports don't currently support this. They do support having XML as a data source, so I am trying to convert my List of ExpandoObjects to an XML string. I have...

WPF Telerik :Remove Vertical Column on left side of the gridview

c#,wpf,xaml,telerik
As you see there is a while vertical column in the left side of this DataGridView: How can I remove this parts of the teleriks's DataGridView ?...

Expand radTreeView from serverside

c#,asp.net,telerik,radtreeview
I am binding Telerik RadTreeView from a Datatable. I want to expand the radTreeView nodes at root level (node.level=0) and their child only (node.level=1) from serverside. Datatable contains a column which holds the value for node's level. But the radTreeView doesn't expand at all. This is the code: IList<RadTreeNode> allNodesBS...

control.clientid causes javascript error “cannot read click property of null”

c#,asp.net,telerik,autocompletebox
I'm using telerik autocomplete box for one of my drop down fields. When a user presses enter the telerik autocompletebox is designed to close the drop down. My goal is when a user presses enter the btnServicesSearch button will be clicked. I've tried wrapping the existing panel around the entire...

Kendo Scheduler multiselect issue

json,kendo-ui,telerik,kendo-scheduler,kendo-multiselect
We have Kendo scheduler, where we declaring categories. In event model we have categories field, which represents string array. In scheduler declaration we also have resources, such as this: resources: [{ field: "categories", dataSource: [{ text: "", value: "red", color: "#FF0000" }, { text: "", value: "green", color: "#00FF00" },...

CSS property overwritten by WebResource.AXD

css,asp.net,telerik
I'm working on a website developped with C#, ASP.Net and Telerik components. I have a RadButton that doesn't display properly an image I'm trying to set to it. Tracing the styles with Firefox, I've seen that my image is shifted by some properties (padding) that come from a file called...

Radchart shrinks inside Radtab

telerik,telerik-charting
We have 3 tab RadTabStrip and each of the tab has radtabs. We have radchart inside these tabs. The chart gets loaded correctly onload. But it gets shrinked when i move from one tab to other. I have noticed that 'd' attribute in 'path' element inside the 'g' element('svg') of...

How do I check specific data when reading in data from a remote source with kendo.data.datasource

kendo-ui,telerik,kendo-mobile,kendo-datasource
I am using Telerik Platform to build a hybrid news app. I am pulling in data remotely and I have everything working correctly, but now I need to check to see for featured stories and move them into an variable. I have the data pulling into like this: viewModel =...

RadHTMLChart renders Undefined YAxis after Subsequential Page Loads

asp.net,vb.net,telerik
I have a Telerik RadHTMLChart that I render via a model, which is populated by a SQLCommand. Upon initial load, everything is great. The grid renders and it looks as nice as a Telerik control can look. HOWEVER, upon the second page load, say I click page 2 or 3,...

Kendo pie chart displays only empty area

c#,asp.net-mvc-4,telerik,kendo-asp.net-mvc,pie-chart
Despite all the searchs on the internet. I can't find what's wrong with my code. I'm just trying to populate my pie with data from my database. Here is my code: DataAccess function: (this is here i get all the data to populate my pie) public static IEnumerable<PieModel> getTypesForStatistics() {...

Winforms RadPageView find control

c#,winforms,dynamic,telerik,tabcontrol
I have nested controls inside RadPageView control on a Winform application. RadPageView has a child RadPageViewPage. These two controls are on the form however a tab control and inside that tab control some other controls are added dynamically. How can I find and change the value of the Textbox inside...

How to view the processed SelectCommand of Telerik RadAutoCompleteBox

c#,asp.net,telerik,telerik-ajax
I have a most basic out-of-the-box implementation of a Telerik RadAutoCompleteBox. I would like to inspect the processed SelectCommand generated by the component using the debugger, prior to that command getting sent to the SQL server - so that I can see the actual SQL being generated. I tried to...

ASP.NET C# Telerik RadGrid is null when using site master

c#,asp.net,sql-server,telerik,radgrid
I am trying to convert my current web project to utilize a site master, rather than having my navigation and headers on every individual page. I have a RadGrid defined on a content page that uses a site.master. If I try to launch the project, it will error upon anything...

Disable Row in TelerikGrid in XAML Using MVVM

c#,wpf,xaml,mvvm,telerik
I am using a WPF Application, In that application I am using a telerik gird and also i am using MVVM model to bind data in the grid. I want to disable or gray out the rows based on the value in the collection getting bind to the grid. Its...

Wpf Telerik PDFViewer

c#,wpf,pdf,telerik,pdfviewer
In my application I am trying to print a pdf file silently. The code is working fine but it only works with Acrobat and not with reader. I am trying to embed telerik's pdf viewer to print the file in the background without showing it. As a first step I...

ASP.NET MVC 4 Kendo Grid - ForeignKeyAttribute on property is not valid

c#,asp.net,asp.net-mvc,telerik,kendo-grid
I am trying to navigate through a table in order to display the text value instead of the id and I get this error: An exception of type 'System.InvalidOperationException' occurred in EntityFramework.dll but was not handled in user code Additional information: The ForeignKeyAttribute on property 'languageId' on type 'DevelopmentNotesProject.Models.NoteForm' is...

Wpf RadDocking memory leak

c#,wpf,memory-leaks,telerik
I was tracking a problem of memory leak related to an event handler,while I've discovered that each time I open a raddoCking then I close it I got around 500kb of memory used and not released. I'm using MVVM pattern and as far I've seen its not related to the...

RadlistBox fails in google chrome

asp.net,telerik
I have radlistbox in pop-up which is causing a run-time Error "System.FormatException: Input string was not in a correct format error is thrown." .when the same pop-up is been opened in IE or FireFox it works properly without any error or interruptions.Please Provide solution to this problem.

RadAjaxManager in a user control with at most one such manager per page

c#,asp.net,ajax,telerik
It is a well known error if you try to add the RadAjaxManager to your page twice: Only one instance of a RadAjaxManager can be added to the page Telerik explains how you can solve this for design-time issues with a proxy control. For most of the controls we use...

How to I get (FindControl) the button of a GridAttachmentColumn in a RadGrid

telerik,radgrid,findcontrol
I've got a RadGrid with a GridAttachmentColumn named "FileName". I'm trying to get (FindControl) the control out of the GridDataItem in the ItemCreated event. Specifically, I want the button control (or linkButton in this case). item.FindControl("FileName") always returns Nothing. Protected Sub AttachmentsRadGrid_ItemCreated(sender As Object, e As GridItemEventArgs) If TypeOf e.Item...

Building my own NativeScript app made of TypeScript and using external Telerik modules

telerik,typescript,nativescript
I am building a simple NativeScript app, and am trying to do it using a TypeScript base code. I am using Sublime Text 3 under OSX. I realized by looking at the demo apps that the tns_modules matches the NativeScript repository so I added it to my app/ folder as...

Not able to include reference to telerik dll VS 2013

.net,visual-studio,telerik
I am updating my solution from Q1 2014 to Q3 2014 and after running the update wizard faced the error on VS 2013 SP 3: The name "ExtendedTextBox" does not exist in the namespace "clr-namespace:Telerik.Windows.Controls.MaskedTextBox;assembly=Telerik.Windows.Controls.Input". When I go to the line where the errors occur I try to include the...

Is there an alternative to Microsoft.Office.Interop.Excel.Application?

telerik,office-interop
It may be a class from Telerik. It must not be assumed that Office is installed. So, I've to use another class with the same features or similar.

Trying to use friendly name on Kendo Grid pop up editiing

kendo-ui,telerik,kendo-grid
I have a Kendo Grid that uses pop up editing due to the large amount of fields in my model. However the model does not use friendly. When I bind a column, I can simply use .Title("Some Title") to make the column have a friendly name. When I pop up...

Kendo UI Datasource Auto Increment ID

javascript,jquery,kendo-ui,telerik,kendo-grid
Is there a way within the datasource that you can specify an Auto ID field within Kendo UI? I.e. so when we are inserting rows programmatically the id is auto generated. The data is not coming from a remote source. The data is initially empty and rows created by users...

Send image to database using Kendo Ui Upload

c#,asp.net-mvc-4,kendo-ui,telerik
In my MVC project , i have a form that gives the user the possibility to upload an image with Kendo Ui Upload. This is my view: @using Kendo.Mvc.UI @model DevelopmentNotesProject.Models.NoteForm @{ ViewBag.Title = "Index"; } <script> $(function () { $("form").kendoValidator(); }); function limitUpload() { if ($("span.k-filename").html() != "" ||...

Telerik Grid get value from downdownlist

.net,telerik,telerik-grid
I have a Telerik Grid with the following code: <telerik:GridDropDownColumn DataSourceID="UserSrc" ListTextField="FName" ListValueField="FName" UniqueName="FName" SortExpression="FName" HeaderText="Assigned To" DefaultInsertValue="N/A" DataField="FName" DropDownControlType="DropDownList" AllowVirtualScrolling="true" ShowMoreResultsBox="true" ItemsPerRequest="10"> </telerik:GridDropDownColumn> In my code I have the following: protected void ItemCommand(object sender, GridCommandEventArgs e) { if (e.CommandName == "Update") { My...

Telerik control equivalent to ajax:DragPanelExtender?

asp.net,ajax,telerik
Upgrading some of the front end features on my site. Have chosen to use Telerik to help me with this. So if I had a <ajaxToolkit:ModalPopupExtender I can change this to a Telerik control using <telerik:RadWindow Modal="true" in the same way I can change <ajaxToolkit:AjaxFileUpload to <telerik:RadAsyncUpload However, searching online...

In asp.net MVC Telerik grid, How to change background color of selected row

asp.net-mvc,kendo-ui,telerik,kendo-grid
In asp.net MVC Telerik grid, How to change background color of selected row, as Im using ActionLink inside the grid, my default color of selection is blue and the Link color is also blue, so when I select any row the links are not visible Below is my Code @(Html.Kendo().Grid<Aspectek.MBI.Entities.Products.Product>()...

Asp.net Telerik Radsearchbox not filter properly

asp.net,telerik,filtering
I'm using radsearchbox as a control in my site for search trough db. I used a object data source as radsearchbox's datasource. the aspx code is here: <telerik:RadSearchBox ID="RadSearchBox1" runat="server" DataSourceID="ObjectDataSourceSearch" DataTextField="Name" DataValueField="ID" EmptyMessage="search here" Skin="Silk" MinFilterLength="3"> </telerik:RadSearchBox> <asp:ObjectDataSource ID="ObjectDataSourceSearch" runat="server" SelectMethod="detail" TypeName="InStore"> </asp:ObjectDataSource> And detail function is:...

What is the Difference between Xamarin and Telerik Platform

javascript,c#,mobile,xamarin,telerik
This is going to be quite a hectic question and im hoping that you can all Bear with me. Im having difficulty fully understanding some things about mobile App development. So my Main question is : What is the difference between Telerik Platform and Xamarin ? Dose it just depending...

Entity Framework (Telerik) call fails with ExecuteNonQuery to PostgreSQL stored procedure

entity-framework,postgresql,stored-procedures,telerik
(PostgreSQL 9.1, Telerik OpenAccess v2.0.50727, PgAdmin III). I'm having difficulty calling a stored procedure from the (Telerik) Entity Framework. The exact error is: NpgsqlException was unhandled by user code. ERROR: 42703: column "cpatient" does not exist. The Telerik templated call is: public int SaveDx(string cpatient, Object o, Object n) {...

How to get the sum of an particular column of telerik ListView?

asp.net,winforms,telerik,radlistview
hi can anyone help me with this i want to convert this webform code to used with telerik control, { int i = 0; int j = 0; int k = 0; i = 0; j = 0; k = 0; try { j = ListView1.Items.Count; for (i = 0;...

Include a DropDown in RadToolBarDropDown

html,asp.net,drop-down-menu,telerik
So I'm using Telerik's gui system and would like to insert a dropdown inside another one but I don't know how to do that. This is what I've got so far <telerik:RadToolBarDropDown runat="server" ToolTip="DropDown1" ImageUrl="~/Images/test.png"> <Buttons> <telerik:RadToolBarButton runat="server" Text="Click me!" Value="TOGGLE_WALLS" CheckOnClick="true" ImageUrl="~/Images/checkmark.png"/> </Buttons> </telerik:RadToolBarDropDown> More or less, a dropdown...

Scheduler resources with aliases

kendo-ui,telerik,kendo-scheduler,kendo-template
You all can see Kendo Resources example there. It's very simple — you just got an array with options, which Kendo knows — color, text and then bind them by value. Now imagine another example — we have a more complex datasource in this format: { status: "Busy", value: 1,...

How to display RadListView right to left

asp.net,telerik,radlistview
I am using a Telerik RadListView (the elements are the same in a standard ASP.NET ListView) to show some data from a database. I want to show them in a tiled layout, but it loads the items from left to right. For example - if I have 4 items in...

Bootstrap and Telerik Controls

twitter-bootstrap,telerik
I have an Asp.net site which is styled using Bootstrap CSS and I need to add a bunch of Telerik control to it. The issue I am facing is that the bootstrap.css is overwriting the css from the Telerik controls making them look odd. Can I create a div/Panel which...

Bing maps sdk with Telerik UI controls for universal app

c#,telerik,windows-8.1,win-universal-app
Hi I am using Telerik UI controls for universal application .Since windows phone 8.1 has its own control for map so I used that but when I added bing maps sdk extension to windows 8.1 project and build it it shows following error Payload contains two or more files with...

Kendo UI grid dropdown and angular

angularjs,binding,kendo-ui,telerik,kendo-grid
I try to setup custom dropdown in Kendo UI. I have a reference to my issue. http://dojo.telerik.com/aFIZa/13 My issue is that I do not know how I can setup the selected text in the template attribute? I want to show the text field but save the id as a value....

Parsing 'selectedValue' out of RadDropDownList using jQuery

javascript,jquery,parsing,telerik,rad-controls
The title says what I'm trying to do. I've got a control ('#dropdown') that has this as is its value: value="{"enabled":true,"logEntries":[],"selectedIndex":8,"selectedText":"Option2","selectedValue":"250"}" I'm trying to pull "250" from the "selectedValue" field. Unfortunately, doing $('#dropdown').val gives me the above string as its value. Is there a way to pull just the "selectedValue",...

Telerik RadGrid Insert Fails - Cannot enter null value

asp.net,telerik,radgrid
I have a telerik RadGrid, using an SqlDataSource. I've set the parameteres for insert/select/update statements etc, but upon trying to add a new record, I recieve this error... Cannot insert the value NULL into column 'fld_title', table 'DB_Tests.dbo.tbl_posts'; column does not allow nulls. INSERT fails. The statement has been terminated....

what is Telerik Reporting Services and what actually needs to implemented in it?

telerik,reporting,telerik-reporting
I have been working with Telerik for a while but recently i have encountered about Telerik Reporting services.I'm most confused with telerik reporting services (REST and WCF) What is Telerik Reporting Services ? A web services in a broad sense is way that two software systems will communicate and exchange...

cant get selected date of rad date picker using jquery

jquery,telerik,asp.net-4.0,raddatepicker
I have the following definition of rad date picker: <telerik:RadDatePicker ID="calStartUsingDate" runat="server" DateFormat="dd/MM/yyyy"> <ClientEvents OnDateSelected="calcConsump" /> </telerik:RadDatePicker> I tried to get the selected date of it, but the following statment always returns null !! start = $find("<%=calStartUsingDate.ClientID %>"); ...

Issue with Rad grid inside Rad Ajax panel row edit not firing

ajax,telerik,grid,panel
I'm facing a problem with Rad Gird inside Rad Ajax Panel First in kept my RadGrid inside asp:panel here is works fine <asp:Panel ID="Panel1" runat="server"> When i replace asp:panel with RadAjaxpanel edit and add buttons are not working Here is my code <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <telerik:RadAjaxPanel ID="div" runat="server" EnableAJAX="true"...

Telerik RadPersistenceManager Unable to read storage content

c#,asp.net,telerik,telerik-grid
I've used RadPersistenceManager with asp.net and follow the following guide : http://demos.telerik.com/aspnet-ajax/persistence-framework/examples/custom-storage-provider/defaultcs.aspx. But when I implement this in my project the following exception appears: Title: xxxx.aspx, xxxxx Method Name: Unable to read storage content. Could not find file 'C:\inetpub\wwwroot\XXXX\App_Data\TelerikAspNetRadControlsPersistedState'. Exception: at Telerik.Web.UI.PersistenceFramework.AppDataStorageProvider.LoadStateFromStorage(String key) at...

Object doesn't support property or method 'radopen' in external javascript file

javascript,asp.net,telerik,client-side,radwindow
Before I asked, I took a look around first and found a couple solutions but those were based on calling the script server side and I am calling it from the client side. I looked at this.. here and here. So they were no help. I keep getting an error...

Kendo UI TreeList Popup Dropdownlist

kendo-ui,telerik,kendo-asp.net-mvc,treelist
I have implemented a TreeList as per bellow. @(Html.Kendo().TreeList<Example.UI.ViewModel.Item>() .Name("ExampleItems") .Toolbar(toolbar => toolbar.Create()) .Columns(columns => { columns.Add().Field(p => p.Name); columns.Add().Field(p => p.Label); columns.Add().Field(p => p.Type); columns.Add().Field(p => p.InputType); columns.Add().Command(command => { command.Edit(); command.Destroy(); }); }) .Editable(e => e.Mode("popup")) .DataSource(dataSource => dataSource .Create(create =>...

RadTreeView Localization resourcekey (Telerik, Silverlight)

c#,localization,telerik,silverlight-5.0,radtreeview
I want to translate Drag Tooltip (Drop in, Drop after, Drop before) in RadTreeView. how can I do that? I am using resource file and I successfully translated RadGridView group panel and other in built in visual structures. I need Resource Key for Drop in, Drop after, Drop before texts....

What are the best examples of hybrid apps out there? [closed]

android,ios,cordova,extjs,telerik
I'm writing my thesis on the state of hybrid app development. I would like to see some real world examples of hybrid apps that are in use today, specifically WebView based hybrid apps, so not the Titanium or Xamarin kind. What apps out there are hybrid? What are the best...

Are checked events firing “late” or “early”?

c#,xaml,windows-phone-8,telerik
I am using a Checkbox control inside an ItemTemplate of a Telerik RadJumpList. The ItemTemplate is defined like this: <DataTemplate x:Key="ItemTemplate"> <StackPanel Orientation="Horizontal" Margin="4"> <Image Source="/Assets/Weather.png" Width="64" Height="64" Margin="0,4,12,4" Stretch="Fill" /> <CheckBox x:Name="checkBox" IsChecked="{Binding IsChecked, Mode=TwoWay}" Checked="checkBox_CheckedChanged" Unchecked="checkBox_CheckedChanged" /> <TextBlock FontSize="{StaticResource PhoneFontSizeExtraLarge}"...

Could not load type 'Telerik.Windows.Documents.Packaging.DeflaterOutputStream'

c#,wcf,silverlight,telerik
I've to export some report into pdf. I'm using telerki library PdfFormatProvider. PdfFormatProvider p = new PdfFormatProvider(); p.Export(document, stream); But I'm getting exception on p.Export. Any kind of help will be appreciated. ...

How to parse a string value out of a RadGrid cell for use in RadGrid PreRender event?

vb.net,telerik,radgrid
I have a RadGrid: <telerik:RadGrid ID="rgvBoards" runat="server" AllowPaging="True" AllowSorting="True" GroupPanelPosition="Top" OnPreRender="rgvBoards_PreRender" DataSourceID="odsBoard"> <GroupingSettings CaseSensitive="false"></GroupingSettings> <MasterTableView AutoGenerateColumns="False" DataKeyNames="BoardID" DataSourceID="odsBoard" AllowFilteringByColumn="True" ShowFooter="True"> <Columns> <telerik:GridButtonColumn UniqueName="InActivate" ButtonType="ImageButton"...

Telerik RadWindow

c#,wpf,telerik
I'm facing some issues with Telerik Themes in WPF I have added reference to Telerik.Windows.Themes.Windows8 and merged the resources using the file App.xaml with the following code: <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/System.Windows.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.xaml"/> <ResourceDictionary...

Kendo UI grid undefined decimal

javascript,post,telerik,kendo-grid
This is my grid: $("#grid").kendoGrid({ dataSource: { type: "odata", transport: { read: { url: '/Discount/Get', dataType: "jsonp", type: "POST" }, update: { url: '/Discount/Update', dataType: "jsonp", type: "POST" }, destroy: { url: '/Discount/Delete', dataType: "jsonp", type: "POST" }, create: { url: '/Discount/Add', dataType: "jsonp", type: "POST" }, parameterMap: function (options,...

RadDatePicker selectable Dates

wpf,telerik,raddatepicker
I'm working with Teleriks RadDatePicker and need to disable a various count of dates for the user. I started with the SelectableDateStart and SelectableDateEnd Properties. <telerik:RadDatePicker VerticalAlignment="Center" SelectableDateEnd="{Binding Path=SelectableDateEnd}" SelectableDateStart="{Binding Path=SelectableDateStart}" SelectedValue="{Binding Path=SelectedTimeWindow}" /> Is there a way to bind a list with selectable Dates?...

How to align resized items in RadToolBar when RadToolBar is resized?

css,asp.net,telerik
I am running into an issue with the radtoolbarbutton in a radtoolbar and can't find a solution anywhere. My Radtoolbar looks like this... <div> <telerik:RadToolBar ID="rtlbCustomers" runat="server" Width="100%" Height="18px"> <Items> <telerik:RadToolBarButton runat="server" ImageUrl="~/Images/AddIco.png" Text="Add" Value="btnAdd" /> <telerik:RadToolBarButton runat="server" ImageUrl="~/Images/EditIco.png" Text="Change" Value="btnUpdate" /> <telerik:RadToolBarButton runat="server"...

Telerik.Web.UI.RadGrid does not have a public property named GroupByExpressions

asp.net,telerik,dotnetnuke,radgrid
I'm learning ASP.NET and C#, using DNN. I'm actually trying to show a list, and group all elements by one. Since I've got no ideas about how to do it, I try to follow the Telerik tutorial. But I've got an error, telling me Telerik.Web.UI.RadGrid does not have a public...

Can not find out why 'NullReference Exception' is thorwn

vb.net,winforms,exception,telerik
I have a Telerik Tabbed PageView in my Windows Form application which I can edit tab's titles by double clicking on them which initiates a text editor. Following subs are taking care of altered labels - check the edited labels not to be blank: Private Sub ViewElement_EditorInitialized(sender As Object, e...

Trying to bind DBcontext to Telerik Autocomplete Box.

c#,entity-framework,telerik
I am trying to bind a list that I pull of "string" that comes from my db context to this autocomplete telerik control box: <div style="text-align:center;"> <br /> <telerik:RadAutoCompleteBox ID="GridSortSearch" runat="server" InputType="Token" CssClass="center-block"></telerik:RadAutoCompleteBox> <br /> <asp:Button ID="btnSubmitSortSearch" runat="server" Text="Sort Grid" OnClick="btnSubmitSortSearch_Click" /> </div> protected void Page_Load(object sender, EventArgs e) {...

Telerik RadGrid Returns Empty Grid

asp.net,vb.net,telerik
As the title suggests I am having a hard time getting my RadGrid to properly display records. Here is my code: ASP.NET CODE <Telerik:AjaxSetting AjaxControlID="pnlMain"> <UpdatedControls> <Telerik:AjaxUpdatedControl ControlID="pnlMain" LoadingPanelID="MasterPanel" /> <Telerik:AjaxUpdatedControl ControlID="rgShowData" LoadingPanelID="MasterPanel" /> </UpdatedControls> </Telerik:AjaxSetting> <Telerik:AjaxSetting AjaxControlID="rgShowData"> <UpdatedControls> <Telerik:AjaxUpdatedControl...

Multi-Color Line

javascript,kendo-ui,telerik,kendo-chart
In the data, there is a object property called clr which is actually contains color information of corresponding object. I would like to draw a single line with multiple colors. However so far, I could not able to make it work. Here is a small sample of my dataset. {x:...

Telerik PdfViewer - Binding to a PDF source

c#,wpf,mvvm,telerik
I've tried the samples on telerik's website as well, and to no avail. So I have this code: public ICommand EmailPopUpCmd { get; set; } private void EmailPopUp(object sender) { //ToDo: pdf viewer pop up selectedDataRow = (DataRow)sender; var window = new Window(); window.Content = new EmailView() { DataContext =...

ListBox is blocked after calling window.open()

javascript,asp.net,telerik,telerik-ajax,telerik-radlistbox
I register the following JavaScript in the Page_Load(): var scriptReihe = "<script type=\"text/javascript\">function OnClientLoadHandlerReihe(sender) {" + "var listbox = $find(\"" + lbReihen.ClientID + "\");" + "var item = listbox.get_selectedItem();" + "item.ensureVisible();" + "}" + "</script>"; Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "OnClientLoadHandlerReihe", scriptReihe); lbReihen.OnClientLoad = "OnClientLoadHandlerReihe"; where lbReihen is a RadListBox This is working great...

Display Image in Kendo Grid : Error during serialization or deserialization using the JSON JavaScriptSerializer

c#,json,asp.net-mvc-4,telerik,web-config
In order to display an image saved as binary in dabatase i do the following: .Columns(columns => { columns.Bound(c => c.Title).Width(420).ClientTemplate(string.Format("{0}...", "#= formatter(Title) #")); columns.Bound(c => c.Text).Width(900).ClientTemplate(string.Format("{0}...", "#= formatter(Text) #")); columns.ForeignKey(p => p.languageId, (System.Collections.IEnumerable)ViewData["lang"], "Id", "Name").Title("Language").Width(140).EditorTemplateName("LangDropDown"); columns.Bound(p =>...

Not able to set the value in RadNumeric Text box in OnBlur event

jquery,asp.net,telerik,radtextbox,telerik-ajax
My requirement is - when user enter any number in the text box & tabout - i need to add leading zero's in the text box value. function AddPaddingToInvestmentNumber(sender, args) { var textBoxVar = "<%=txt1.ClientID %>"; var fValue = $find (textBoxVar).get_value(); var resultset = FormatInvNumber(fValue, 5); $find(textBoxVar).set_value(resultset); } function FormatInvNumber(num,...

Bind Kendo pie chart with Datasource

c#,asp.net-mvc-4,telerik,kendo-asp.net-mvc
i'm trying to use a pie chart to display statistics. Data is within my table and i get it this way: public class StatisticsAccess { public static object getTypesForStatistics() { var dbo = new UsersContext(); var all = (from a in dbo.Note select a).ToList(); var results = all.GroupBy(item => item.language.lang)...

Telerik Extensions for ASP.NET MVC - GRID - randomly sorted items inside group in Chrome when GridOperationMode.Client

asp.net,telerik,telerik-grid,telerik-mvc
Data source contains many records, but each 12 records represent 12 characteristic of 1 entity sorted in fixed order. Then rows are grouped by 3 columns (by 'AccountName', 'OportunityName' and 'OpportunityId'), and the group on deepest level contains those 12 characteristic. All worked OK when 'GridOperationMode.Server' was used: But to...

Delete Confirmation Window

jquery,asp.net-mvc,asp.net-mvc-4,telerik
<div id="modalWindow"> <button id="yes" class="k-button">Yes</button> <button id="no" class="k-button">No</button> </div> <script> var wnd; $(document).ready(function() { wnd = $("#modalWindow").kendoWindow({ title: "Delete confirmation", modal: true, visible: false, resizable: false, width: 300 }).data("kendoWindow"); }); function DeleteItem(e) { e.preventDefault(); var grid = this; var row = $(e.currentTarget).closest("tr"); wnd.center().open(); $("#yes").click(function() { grid.removeRow(row);...