javascript,asp.net,telerik,client-side,radwindow
I figured out why it was throwing that error. I forgot to add.. <telerik:RadWindowManager ID="RadWindowManager1" runat="server"> <Windows> <telerik:RadWindow ID="RadWindow1" runat="server"> </telerik:RadWindow> </Windows> </telerik:RadWindowManager> to the markup. No more error....
Sometimes it may happen, for best results use RadAjaxManager. Add the RadAjaxManager in page, then click on open Configuration, the configuration is easy. Imagine the (One to One) case. Click on any of the control (cause) and map the another control (effect). Just checkbox clicks.. Go ahead here's the documentation....
kendo-ui,telerik,kendo-asp.net-mvc,treelist
Solved: Change: .Editable(e => e.Mode("popup")) To: .Editable(e => e.Mode("popup").TemplateName("TreeListPopupEdit")) Then create an EditorTemplate @model Example.UI.ViewModel.Item @Html.HiddenFor(model => model.Id) <div class="editor-label"> @Html.LabelFor(model => model.Name) </div> <div class="editor-field"> @Html.EditorFor(model => model.Name) @Html.ValidationMessageFor(model => model.Name) </div> <div class="editor-label"> @Html.LabelFor(model => model.Label) </div>...
vb.net,winforms,exception,telerik
The issue was addressed by updating to 'Telerik UI for WinForms Q1 2015 (version 2015.1.225)'
c#,xml,telerik,expandoobject,dynamicobject
You can serialize it by transforming the ExpandoObject to an IDictionary<string, object> first, and then using DataContractSerializer for serialization: void Main() { dynamic firstExpando = new ExpandoObject(); firstExpando.Name = "Name"; firstExpando.Age = 1; dynamic secondExpando = new ExpandoObject(); secondExpando.Name = "SecondName"; secondExpando.Age = 2; var expandoList = new List<ExpandoObject> {firstExpando,...
You need to call RadPane's RemoveFromParent() method for it to be garbage collected. Please check out these links: http://www.telerik.com/forums/radpanegroup-memory-leak http://www.telerik.com/forums/radpane-not-garbage-collected-when-closed...
Due to Anti-virus the pop-up was acting weird.After Disabling the anti-virus it worked fine.
c#,asp.net,telerik,telerik-ajax
If you need details about the innards of the code, download the source from your account, open the project, add it to your solution, reference it and start it in debug mode. You can step through the code at your leisure then.
c#,asp.net,insert,telerik,radgrid
Use the Bind expression (https://msdn.microsoft.com/en-us/library/vstudio/ms178366%28v=vs.100%29.aspx), as shown here: http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/form-template-update/defaultcs.aspx. Note the SelectedValue property of the dropdown lists. Or, just use the InsertCommand event, access the controls (http://www.telerik.com/help/aspnet-ajax/grid-accessing-cells-and-rows.html) and use their values to compile the query yourself....
html,asp.net,drop-down-menu,telerik
You can use an item template to nest a DropDownList or ComboBox in the RadToolBarDropDown: <telerik:RadToolBarDropDown> <Buttons> <telerik:RadToolBarButton> <ItemTemplate> <telerik:RadDropDownList ID="RadDropDownList1" runat="server"> </telerik:RadDropDownList> </ItemTemplate> </telerik:RadToolBarButton> </Buttons> </telerik:RadToolBarDropDown> ...
c#,telerik,dotnetnuke,telerik-grid
The issue came from AllowCustomPaging Disable it fix my issue <rad:RadGrid runat="server" ID="grdCustomer" AutoGenerateColumns="False" GridLines="None" CssClass="dnnRadGrid mgCustomersGrid" AllowPaging="true" AllowCustomPaging="false" PageSize="50" AllowSorting="false" AllowFilteringByColumn="true" EnableLinqExpressions="False" OnNeedDataSource="GrdCustomerOnNeedDataSource"> ...
angularjs,binding,kendo-ui,telerik,kendo-grid
Ok, this was a tough one, but I think I could achieve what you want, or at least I got closer: $scope.mainGridOptions = { dataSource: $scope.dataSource, pageable: true, height: 550, toolbar: ["create"], columns: [ { field: "Category", title: "Category", width: "180px", editor: function(container, options) { // #1 var editor =...
telerik,kendo-asp.net-mvc,telerik-mvc
Check the common operations topic here. function onSelect(e) { // this refers to the TreeView object var dataItem = this.dataItem(e.node); console.log("Selected node with id=" + dataItem.id); } $("#treeview").kendoTreeView({ dataSource: [ { id: 1, text: "Item 1", items: [ { id: 3, text: "Item 3" } ] }, { id: 2,...
Add the handler when you create the grid (in Page_Load or Page_Init): http://www.telerik.com/help/aspnet-ajax/grid-programmatic-creation.html. Or, simply in the markup. If you need it to fire only on a certain condition, you can add that condition inside the handler itself and exit it. EDIT: Try using the following code as base as...
Okay so to help other users, I found this on the telerik forums: (Telerik Forum Link) There is one additional thing to do in order to make RadPdfViewer work in a WinForms application: you should ensure that the Application.Current property is initialized before the user control is initialized, for example...
In short, it was all wrong. Assume usageGraph is being called on Page_Load. Then call the DataBound event. In the DataBound event declare the ChartSeries object outside of the loop and instantiate a new Chart Series Item inside the loop and add to the ChartSeries object. The important part is...
The proper way to do this is using the 'OnNeedDataSource' event. HTML: <telerik:RadGrid ID="rgvBoards" runat="server" AllowPaging="True" AllowSorting="True" GroupPanelPosition="Top" OnNeedDataSource="rgvBoards_NeedDataSource" DataSourceID="odsBoard"> <GroupingSettings CaseSensitive="false"></GroupingSettings> <MasterTableView AutoGenerateColumns="False" DataKeyNames="BoardID" DataSourceID="odsBoard" AllowFilteringByColumn="True" ShowFooter="True"> <Columns> <telerik:GridTemplateColumn...
Simply because the Android slider does not display the min/max values, as can be seen in the documentation. You may however create a layout below this to achieve this. <StackLayout orientation="horizontal"> <Label text="1" /> <Slider value="2" minValue="1" maxValue="10" /> <Label text="10" /> </StackLayout> ...
They are probably using the [Display(Name="Some Nice Title")] on the properties. part of the Data Annotations collection. (That's what I usually do with pop up editors) Then using the @Html.LabelFor(m => m.[Your Property here]); within the editor window itself (if you are providing a custom template rather than getting the...
c#,asp.net,gridview,telerik,radgrid
Remove the following > <NestedViewSettings DataSourceID="SqlDataSource1"> > <ParentTableRelation> > <telerik:GridRelationFields DetailKeyField="DocHandle" MasterKeyField="DocHandle" /> > </ParentTableRelation> </NestedViewSettings> from your code and it should be ok....
c#,asp.net,sql-server,telerik,radgrid
Based on your comment, you are calling RadGrid1 inside Page_PreInit. RadGrid1 will always be null if you call inside Page_PreInit, because it hasn't been created yet. The earliest you can call is inside Page_Init. Look at ASP.NET Page Life Cycle Overview. PreInit - Raised after the start stage is complete...
c#,asp.net,telerik,telerik-grid
The different between the demo and my example that I need to load the persistence configurations on page load instead of load button. so it seems some times the CookieStorageProvider not initiated in Page_Init, so I added it in page_load instead.
c#,asp.net-mvc,kendo-ui,telerik
Current template is driven each grid row for Addresses column. You can iterate Addresses list and include address information e.g. html list. <script id="template" type="text/x-kendo-template"> <ul> # for (var i = 0; i < data.Addresses.length; i++) { # <li>#=data.Addresses[i].City#</li> # } # </ul> </script> ...
asp.net,telerik,telerik-grid,telerik-mvc
After a lot of researching I decided to implement sorting by myself using JS. Works fast for page size equals 396 my grid uses, of course can be made faster. Each from those linked 12 items already has a field SortOrder with correct order inside this 12-items group. Quick and...
Issue was due to mismatch version of Telerik.Windows.Documents.FormatProviders.Pdf.dll and Telerik.Windows.Documents.
The issue comes down to sizing. The width and height (you are using percentages, are you not) are not always passed down from one container to the next. You will have to explicitly add Height and width to each container. Then your charts and grids will shape up correctly.
c#,asp.net,telerik,radtreeview
Please try with the below code snippet. To bind data I have used programmatic data binding method but below code works for all binding. ASPX <head runat="server"> <title></title> <script src="https://code.jquery.com/jquery-1.11.2.min.js"></script> <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> var IsTreeViewLoaded; $(document).ready(function () { IsTreeViewLoaded = setInterval(function () { test() }, 500); }); function...
Could you please try with the below code snippet. <script type="text/javascript"> var rowNumber = 0; function resetRowNumber(e) { rowNumber = 0; } function renderNumber(data) { return ++rowNumber; } function renderRecordNumber(data) { var page = parseInt($("#Grid").data("kendoGrid").dataSource.page()) - 1; var pagesize = $("#Grid").data("kendoGrid").dataSource.pageSize(); return parseInt(rowNumber + (parseInt(page) * parseInt(pagesize))); } </script> Please...
javascript,kendo-ui,telerik,kendo-chart
As mentioned here, the colorField option is supported when series.type is set to "bar", "column", "bubble", "donut", "pie", "candlestick", "ohlc" or "waterfall". The only way to do this seems to be by creating multiple series. See fiddle: http://jsfiddle.net/53ygp9ut/2/ function createChart() { $("#chart").kendoChart({ xAxis: {}, yAxis: {}, seriesDefaults: {type: "scatterLine" },...
To select a node, you need to set its Selected property: foreach (RadTreeNode node in radTreeView1.Nodes) { node.Selected = true; } ...
Plane A - add the RadAjaxManager to the page level, not to the user controls. Thus, the user controls can have RadAjaxManagerProxy controls, the static GetCurrent() method will work. Plan B - use RadAjaxPanel controls if you want self-contained user controls. They have an ajaxRequest() client-side method and a server...
There is no way to bind a list with selectable Dates, but you can set BlackoutDates which contains a list of dates that cannot be selected. You should follow these step: Set SelectableDateStart - the first date that can be selected (SelectableDateStart doc) Set SelectableDateEnd - the last date that...
c#,telerik,windows-8.1,win-universal-app
Get the path of SDK folder (right click on referenced telerik library in project and see properties) and copy binaries folder to a another location Uninstall Telerik Universal App SDK Open you project and remove Telerik Library from references (which should be giving exclamation mark since the SDK is...
It turned out to be the viewstate. I disabled it for the entire page (just doing it for the grid did no good) and the page loads/refreshes quickly. There is a whole host of new issues that arises with the viewstate now disabled, but we're working through those.
telerik,typescript,nativescript
The sidebar, which they're using in the example, is a (payed) controller from Telerik. As such, it needs to be downloaded and added with tns library add {ios|android} /path/to/the/sidebar. This command will read project.properties file from the specified shared library folder and will add a reference to it in your...
javascript,asp.net,telerik,client-side,telerik-grid
To remove save button, and to change the cancel button text: <CommandItemSettings ShowSaveChangesButton="false" CancelChangesText="Clear"/> I didnt understand what the other thing you want to do, sorry....
javascript,jquery,kendo-ui,telerik,kendo-grid
There is no way to auto-generate a sequence using the Kendo UI API. You'll have to do this using JavaScript. Something like this: function onEdit(e) { if (e.model.isNew()) { //set field var id = generateId(); e.model.set("Id", id); } } function generateID() { AutoID = 1; // Get the latest sequential...
javascript,asp.net,checkbox,telerik,telerik-grid
As far as concerning the command to open the RadWindow I would also go in a similar way as proposed by Mark. There is no reason to use a checkbox as a button since this is the function of such control and you do not need to use its status...
Use your dev toolbar to find the elements you need to change. Here is what seemed fine for me: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <style type="text/css"> div.RadToolBar .rtbOuter, div.RadToolBar .rtbIn, div.RadToolBar .rtbIcon { padding: 0; line-height: 14px; } </style> </head> <body> <form id="form1"...
c#,xaml,windows-phone-8,telerik
MJW's answer is correct. However in order to solve my problem I was modified the code such that the count calculation is done when the CheckBox click event was triggerd. It works in my private case but I am not sure if it is a rule that the click event...
javascript,c#,mobile,xamarin,telerik
In Xamarin you can build natvie applications for Android and iOS system. There is also possible to write them for Windows Phone. Xamarin uses C# language. Apps a re created natively using Xamarin wrappers. There are two options for creating apps in Xamarin: 1) Xamarin.Forms is best for: Data entry...
c#,asp.net,data-binding,telerik,radcombobox
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item is GridCommandItem) { GridCommandItem commandItem = (GridCommandItem)e.Item; RadComboBox combo = (RadComboBox)commandItem.FindControl("MethodRadComboBox"); combo.DataSource = e.Item.OwnerTableView.DataSource; combo.DataBind(); ...
jquery,asp.net,telerik,radtextbox,telerik-ajax
Try to set the sender - sender._value = yourvalue; sender._displayText = yourvalue; sender._text = yourvalue; sender._validationText = yourvalue; sender._textBoxElement.value = yourvalue; ...
asp.net-mvc,kendo-ui,telerik,kendo-grid
I guessing this is because of theme you have selected? But you can override the background color fairly easily with plain old css. This example sets the selected row color to grey with white text <style type="text/css"> .k-state-selected { color: #fff; background-color: #dcdcdc; } </style> ...
Yes. it will display everything in the list, because in SelectMethod you are setting the function detail(). The function detail is returning the whole list. To overcome this you can use the OnSearch event handler of the radseachbox or simply use the Linq to filter the result and then return...
c#,asp.net,asp.net-mvc,telerik
Using the Telrik Projects is just a boiler plate or bootstrapped way of having all of the Telerik components ready for your project. You do not need to create Telerik Projects to use their components. You would simply create your APS.NET MVC Application and add a reference to their DLLs...
I have achieved like this, <telerik:GridViewDataColumn Header="Name" IsReadOnlyBinding="{Binding IsActive}"> </telerik:GridViewDataColumn> Binding the value to each of the column made this work. For those columns which are editable just got rid of IsActive....
asp.net-mvc,kendo-ui,telerik,editor
You can create a custom button in the tool bar (http://demos.telerik.com/kendo-ui/editor/custom-tools) with something like .CustomButton(cb => cb.Name("Custom Primt").ToolTip("Do stuff then Print").Exec(@<text> function(e) { var editor = $(this).data("kendoEditor"); editor.exec("inserthtml", { value: "Printing this document..." }); editor.exec("print"); } Which will add "Printing this document..." to the editor body, then call the Print...
You need to expose ApprovedDate as a DateTime property instead of a string - DataFormatString will only work correctly on that type. Either that or wherever you are converting to string, use the format string you require instead of a simple .ToString() call by calling .ToString("MM/dd/yyyy")....
You should use the Bootstrap specific CSS for the Telerik controls as stated in the documentation here Use the kendo.common-bootstrap.min.css instead of kendo.common.css. This ensures that the dimensions of Kendo UI will match the ones in Bootstrap. Use the kendo.bootstrap.min.css theme, which applies the Bootstrap colors to the Kendo UI...
kendo-ui,telerik,kendo-scheduler,kendo-template
Solved problem using next approach. First, I've declared datasource, and then just wrapped it in method, which accepts ID. And in a template I wrote: <div class="pre" style="background: url(#: intToStatus(status).img #)"></div> And it works!...
c#,asp.net-mvc-4,kendo-ui,telerik
I think you are doing the Count in your LINQ the wrong way. Count = g.Select(l => l.language.lang).Count() There is no need to do a Select here as they are already group from your .GroupBy should be: Count = g.Count() Using GroupBy, Count and Sum in LINQ Lambda Expressions...
I think as you're using implicit styles you need to state that your window style is based on the implicit styles you've imported. Add this inside your RadWindow XAML: <telerik:RadWindow.Style> <Style TargetType="telerik:RadWindow" BasedOn="{StaticResource RadWindowStyle}" /> </telerik:RadWindow.Style> Alternatively add this to your resource dictionary (local:MainWindow should resolve to Foo.MainWindow): <Style BasedOn="{StaticResource...
Dim button As LinkButton = TryCast(item("FileName").Controls(0), LinkButton) OR Dim FileName = item.FindControl("gac_FileName") The first line of code might be Telerik's preference so I put that line first. Notice that the AttachmentColumn in read mode is basically just a linkbutton. Notice in the 2nd example that "gac_" in item.FindControl("gac_FileName") is added...
c#,asp.net,asp.net-mvc,telerik,kendo-grid
You need to configure the relationship between NoteForm and Language models. [Required] [Display(Name = "Language")] public int languageId { get; set; } [ForeignKey("languageId ")] public Language Language { get; set; } ...
Happens often to me that the wizard does that! The reason is not known, the official answer is "there is some plugin installed in VS that affects the wizard". 1) manually cancel the old DLL 2) manually add the newest DLL 3) remove the line in the webconfig referringto the...
It depends on what exactly you need to implement in the code... Open XML SDK. See Welcome to the Open XML SDK 2.5 for Office for more information. You can find various third-party components on the web. Try searching for any of them. Don't want to advertise any. ...
c#,winforms,menu,telerik,controls
The issue is that you are deleting the control out of the collection that you are iterating through, which causes a change in the collection and causes the loop to fail. I would suggest using a different style of loop to accomplish this. For example: private void radMenuItem3_Click(object sender, EventArgs...
The reason my RadGrid was not being populated, despite the Data Source containing the correct data, was because the RadGrid and Data Source had different formats that I was unaware of and could not be converted. I am not exactly sure how it happened, as I modeled this RadGrid after...
c#,asp.net-mvc-4,telerik,kendo-asp.net-mvc
There are at least two major issues with your code. You've defined a column chart, this should be a pie chart: @(Html.Kendo().Chart<MyModel>() .Name("chart") .Title(title => title .Text("Share of Internet Population Growth, 2007 - 2012") .Position(ChartTitlePosition.Bottom)) .Legend(legend => legend.Visible(false)) .Series(series => { series.Pie(model => model.language, model => model.Count); }) .DataSource(ds =>...
c#,asp.net-mvc-4,kendo-ui,telerik
What is your problem? You have IEnumerable<HttpPostedFileBase> files as parameter of your action. Just get files from this Enumerable and set them to your NoteForm in proper attributes. Update You should switch of async post of files in upload control: .Async(a => a.Save("Save", "MyNotes") .Remove("Remove", "MyNotes") Just remove this code...
Try this one: public int GetId(object obj) { var anon = new { Id = 0, Name = string.Empty }; var obj2 = MakeSameType(obj, anon); return obj2.Id; } public static T MakeSameType<T>(object obj, T anonymous) { return (T)obj; } use it like: int id = GetId(ddl.SelectedValue); If it works, it...
ajax,asp.net-mvc,kendo-ui,telerik,kendo-grid
By default the read action is a POST and not a GET. So you either need to remove the HttpGet Verb from your read action or add .Read(read => read.Action("ReadEmployee", "EmployeeGrid").Type(HttpVerbs.Get)) To the read method. Hope this helps. For issues like this I like to use Fiddler to check the...
c#,winforms,dynamic,telerik,tabcontrol
I have found this example over the internet and its working perfectly. public Form1() { InitializeComponent(); TabControl tb = new TabControl(); tb.Width = 500; TabPage tp = new TabPage("Tab 1"); Label lb = new Label(); lb.Text = "Test"; lb.Name = "lblTest"; lb.Location = new Point(10, 10); TextBox txt = new...
c#,asp.net,telerik,autocompletebox
You need to run your script after the DOM is ready and your control is loaded into it. Currently, as per the execution flow, your script will be called first before your control is generated on the view which is why it becomes NULL and you are receiving that error....
jquery,telerik,asp.net-4.0,raddatepicker
Use this outside of your OnDateSelected function: var start = $find("<%=calStartUsingDate.ClientID %>").get_selectedDate(); OR if you are using it in the OnDateSelected function it would look something like... function calcConsump(sender, args){ var start = sender.get_selectedDate(); } http://www.telerik.com/help/aspnet-ajax/calendar-client-side-rad-datepicker.html...
jquery,asp.net-mvc,asp.net-mvc-4,telerik
Every time you call the DeleteItem function you are setting up a handler for the #yes button to delete a specific row. Even if you cancel and select a different row, the handler was already set, and will run on a future click of the button. To avoid this, you...
Probably RadDock is the control that can help you replace the DragPanelExtender. Demos: http://demos.telerik.com/aspnet-ajax/dock/examples/dockmode/defaultcs.aspx Doc: http://www.telerik.com/help/aspnet-ajax/dock-overview.html...
entity-framework,postgresql,stored-procedures,telerik
I never could get the Telerik EntitiesModel ExecuteNonQuery to work under any conditions. Hence the suggested code of: using (var cxt = new Nova.Data.Data()) { cxt.SaveDx(); cxt.SaveChanges(); } where cxt.SaveDx() is the domain model name for the postgresql g_savedx stored procedure, fails. My eventual workaround for PostgreSQL is to use...
Here is the response I got from Telerik support: You will need to trigger the change event as well, as the Grid listens for it in order to update the value. Please see the updated example here: http://dojo.telerik.com/UjUkE var units = e.container.find("[name='UnitsInStock']").data("kendoNumericTextBox"); units.value( <insert new value here> ); units.trigger("change"); The...
This answer is assuming you have this code in the AsyncUpload1_FileUploaded subroutine. I'm making that assumption because I was able to recreate your issue with the code in there. If that is the case, this event fires for each uploaded file. When you select the file, it creates a temp...
c#,asp.net-mvc-4,telerik,kendo-asp.net-mvc,pie-chart
I found a good solution doing things a different way : Controller : public ActionResult Index() { IEnumerable <PieModel> pieModel = DAL.StatisticsAccess.getTypesForStatistics(); return View(pieModel); } [HttpPost] public ActionResult displayChart() // no longer used { var results = Json(DAL.StatisticsAccess.getTypesForStatistics()); return Json(results); } view : @model IEnumerable<DevelopmentNotesProject.Models.PieModel> .. ... .... @(Html.Kendo().Chart(Model) .Name("chart")...
javascript,asp.net,telerik,telerik-ajax,telerik-radlistbox
Make sure you register the script with each postback, because the provided button declaration will invoke a postback on your main page. If the script does not get registered properly, you will get script errors, which will explain why you have issues with scrolling to the item and why things...
Be sure you have enabled the profiler from the menu. While using Visual Studio for writing your tests you will notice the Telerik menu and the JustMock menu-item in it. Once there, you have to check if JustMock is enabled(“Enable JustMock” should be grey, see the example bellow). ...
javascript,asp.net,webforms,telerik
Right name of the property is OnClientClicked, and it should be given a function name, so: OnClientClicked="openwin" This comes directly from docs: Sets a name of a JavaScript function that will be called when the RadButton is > clicked, after the OnClientClicking event. ...
I am not expert on telerik:RadMenu but from my knowledge in asp.net server controller manu you can set properties attribute called AppendDataBoundItems to "true" and that will keep hard coded Item
c#,localization,telerik,silverlight-5.0,radtreeview
After i post this on telerik forum they gave me an answer and it worked. "The resources are not apply because the new LocalizationManager needs to be defined before the create of the application's UI. For example, you can add it just before the InitializeComponent() method." public MainPage() { LocalizationManager.Manager...
telerik,reporting,telerik-reporting
Telerik Reporting Services are a set of services that allow report generation from client applications. Based on the technology there are: Telerik Reporting REST Service, which has two implementations based on ASP.NET WebAPI framework and ServiceStack. This service is designed for the purposes of the Telerik HTML5 Report Viewer. The...
kendo-ui,telerik,kendo-mobile,kendo-datasource
You should be able to get access to your json data within the datasource. I'm using the requestEnd event. You didn't explain exactly what you're trying to do with the data once you know an article is featured so I'm just showing a basic way to get the data and...
telerik,qr-code,telerik-appbuilder
Go to the AppBuilder menu and choose "Build [project] in Cloud". This will bring up a dialog and let you choose to run your app in one of the Companion Apps.
javascript,post,telerik,kendo-grid
Uncaught TypeError: Cannot read property 'DiscountValue' of undefined This error doesn't mean there is no field 'DiscountValue', it means you are trying to read a property of an undefined variable. So if the error is from here : options.models.DiscountValue It means options.models is undefined. Your log output printed the...
asp.net,winforms,telerik,radlistview
ok so here is the solution itself thanks @checho for helping me out really appreciate your help foreach (ListViewDataItem item in radListView1.Items) { //k += (int)item["Column 1"].ToString(); //this code helped me k += Convert.ToInt32(item["Column 1"].ToString()); } ...
telerik,formatting,conditional,client-templates
I modified my code to the following with help from the post: Telerik MVC Grid making a Column Red Color based on Other Column Value .Columns(columns => {columns.Bound(d => d.IsTrue).Width(0); columns.Bound(d => d.Name).Title("Name).Width(200).HtmlAttributes(new { style = "font-weight:normal;" }); }).CellAction(cell => { if (cell.Column.Title == "Name"){ var item = cell.DataItem; if(item.IsTrue)...
You can achieve this by creating a custom IntervalFormatterProvider <Window xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:formatter="clr-namespace:YouFormatterNamespace" > <telerik:RadTimeline x:Name="timeline" VerticalScrollBarVisibility="Visible" PeriodStart="1-Jan-2010 12:00:00 AM" PeriodEnd="3-Jan-2010 11:59:59 PM"> <telerik:RadTimeline.Resources> <formatter:HourFormatterProvider x:Key="HourFormatterProvider"> </formatter:HourFormatterProvider>...
You should set the DataTextField and DataValueField of the RadAutoCompleteBox control and call the DataBind() method after setting up the DataSource property. Here is the help topic: http://www.telerik.com/help/aspnet-ajax/autocompletebox-databinding-datasource.html...
Give a try to this but you need to be in edit mode because when such row is in display mode, the DropDown control is not rendered. Therefore is not databound and you cannot get its DataValues. { if (e.Item is GridEditableItem && e.Item.IsInEditMode) { GridEditableItem item = e.Item as...
json,kendo-ui,telerik,kendo-scheduler,kendo-multiselect
Your multiselect data source contains collection of objects, therefore the value you get from multiselect will be in form of object. This is because valuePrimitive property, by default it is set to false so it will return type of data inside its data source which in this case is object...
c#,xaml,silverlight,binding,telerik
I can think of at least two ways: First Solution (solved in the DataContext): Add a property to your DataContext type, something like ResolvedFirstName and the value is either taken from FirstName or FirstName2, and when either of the two is changed the ResolvedFirstName is re-evaluated. public string ResolvedFirstName {...
c#,json,asp.net-mvc-4,telerik,web-config
I found a solution by overriding the json method
javascript,jquery,parsing,telerik,rad-controls
After viewing this Telerik forum, it turns out that "selectedValue" cannot be extracted a single value. The solution, instead, was to use a regular ASP dropdownlist to produce the value I need.
Usually disabling Visual Studio browserlink resolves that problem - Here's a link showing how to disable it http://www.poconosystems.com/software-development/how-to-disable-browser-link-in-visual-studio-2013/
After some conversation in the comments, it sounds like what you want is to right-align your content. In that case, float: right is what you're looking for. The key is to have an overall container that will hold all of your data. Then, have another container for each row. This...