telerik

Ignore global style for specific control and it's children

半腔热情 提交于 2019-12-10 20:24:42
问题 I've done my best to ensure this isn't an exact duplicate of other questions and have tried quite a few possible solutions. Maybe I'm just not doing the right searches. The problem I have a resource dictionary with a bunch of default styles. For example, most control types have a default height of 26 to provide some consistency in my layout. So for example, I have the following style for TextBlock <Style TargetType="TextBlock"> <Setter Property="Height" Value="26"/> </Style> The problem I

Telerik RadGrid set BoundColumn to ReadOnly in Edit Mode

一世执手 提交于 2019-12-10 19:57:01
问题 I have a Telerik RadGrid that has three bound columns and one button column. I would like to let the user edit the values in only one of the bound columns. The user can add a new record so i can't set the two bound column to read only. Is there anyway i can do this in the ASPX or do i have to do it in the code behind? I have some code that is working but it is not the best. Here's my code: Case "Edit" Dim aoeAnswerCode As GridBoundColumn = CType(e.Item.OwnerTableView.GetColumn("aoeAnswerCode"

How to stop Telerik RadWindow from always reloading on the next PostBack

空扰寡人 提交于 2019-12-10 18:54:57
问题 I am invoking a RadWindow as a dialog in my web page. I am invoking from code-behind since I need to pass some parameters: radWindow1.NavigateUrl = url + "?England,Germany,France"; radWindow1.VisibleOnPageLoad = true; This works great, however it keeps reloading on each and every postback. How can I stop the RadWindow from reloading? I don't mind code-behind or JavaScript to achieve this. 回答1: You can use the IsPostBack property of the page to see if this is the first time it is loading or a

DotNetNuke 5.6.2 - Can Community Edition Users utilize the DNNRadMenu? [closed]

你离开我真会死。 提交于 2019-12-10 18:05:01
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . There is uncertainty surrounding the use of DNNRadMenu in the community edition of DotNetNuke. It is my understanding that as of DNN 5.6.2, it is OK for community edition users to use (and modify) the DNNRadMenu wrapper, but these users/developers will not have access to the core telerik code (which is bundled

How to set multiline column in kendo ui grid

一曲冷凌霜 提交于 2019-12-10 17:54:53
问题 I need to set a column of a kendo ui grid to multiline. Right now the specific column has to much data in it, so its shortened by ... Is there a possibility to make that column multiline? 回答1: You can set multi-line column in kendo ui grid by using following code snippet. <style> .breakWord20 { word-break: break-all !important; word-wrap: break-word !important; vertical-align: top; } .k-grid-header .k-header { overflow: visible !important; white-space: normal !important; } </style> ...... ...

Make Telerik Sidedrawer in all Views

微笑、不失礼 提交于 2019-12-10 15:37:06
问题 I've successfully got the Telerik Side-drawer working in one view, but I'm stuck with making it into a component I can use globally. I'd like to avoid copy and pasting it into every view, so my question is how can I turn it into a reusable component. 回答1: So when you use the page-router-outlet Do not modify the main app template <page-router-outlet></page-router-outlet> - you might feel otherwise but its fine (the way the page router outlet works would add the side drawer only to the main

Forcing RadComboBox drop down direction

拥有回忆 提交于 2019-12-10 13:51:55
问题 Users are desiring that the drop down window of a RadComboBox go up instead of down, regardless of where on the screen they are. Not sure why, but how would you implement this? Note: I have a RadComboBox with a custom template, not the default implementation. Thanks. 回答1: You have to disable screen boundary detection. Then you can set the expand direction to "Up", e.g: <telerik:RadComboBox runat="server" EnableScreenBoundaryDetection="false" ExpandDirection="Up" /> Update: it seems this also

Telerik Radgrid export file name

不想你离开。 提交于 2019-12-10 13:48:56
问题 Does any one know how to provide file name to the exported file in Telerik RadGrid , Exported file could be of any format pdf, excel or word 回答1: Source: Grid / MS Excel/MS Word/CSV Use RadGrid.ExportSettings.FileName property, a string specifying the name (without the extension) of the file that will be created. The file extension is automatically added based on the method that is used Try setting the FileName in the ItemCommand event as shown below. From: When to set RadGrid.ExportSettings

KendoUI line Graph, How to keep labels from being drawn outside the graph?

吃可爱长大的小学妹 提交于 2019-12-10 13:43:30
问题 I'm using KendoUI line graph. I have labels on a line graph and the labels are getting cut off on top. Is there a way to prevent this? Here is a jsFiddle project to play with: http://jsfiddle.net/rodneyhickman/2eWYg/1/ Here is my Markup: <div style="padding:20px;" > <div id="divChart"></div> </div> Here is my script: jQuery('#divChart').kendoChart({ seriesDefaults: { type: "line", missingValues: "interpolate" }, legend: { position: "bottom" }, tooltip: { visible: true, format: "{0}%" },

How to open Telerik Report File .trdx file in WPF using C#?

流过昼夜 提交于 2019-12-10 12:35:00
问题 I am using Stand alone Report Designer tool of Telerik. This creates a .trdx file. Now, on button click i want to show this report using ReportViewer. is it possible in WPF application? View Report Designer Help Appreciated! 回答1: Report Designer != ReportViewer. You should use one of Telerik's ReportSources to set your .trdx file as source and assign that ReportSource to the WPF ReportViewer. Check the following links: http://www.telerik.com/help/reporting/report-sources.html http://www