Telerik Forums
UI for WinForms Forum
2 answers
338 views

Hi,

I'm trying to allow additional data on my chart to be panned through via the arrow keys but it appears that keydown and keypress events aren't firing for the cursor keys. Keyup DOES fire on arrow keys at least, but I'd much rather have it happen on keydown. Is there a reason for this behaviour or a workaround/setting I've not noticed?

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Nov 2018
3 answers
174 views

Hi,,,

 

I am using Telerik Q1 2015, i just want to export chart view into image but legend not showing event I set show legend is true.

please help me, bellow is my code

private RadChartView radChartView1;<br><br>        public Form1()<br>        {<br>            InitializeComponent();<br><br>            this.radChartView1 = new RadChartView();<br>            LoadData();<br><br>            this.radChartView1.ShowLegend = true;<br>            this.radChartView1.ChartElement.LegendElement.LegendTitle = "Expenses";<br>            this.radChartView1.ShowTitle = true;<br>            this.radChartView1.Title = "Personal monthly expenses";<br>            <br><br>            //this.Controls.Add(this.radChartView1);<br>        }<br><br>        private void radButton1_Click(object sender, EventArgs e)<br>        {<br>            Application.DoEvents();<br>            this.radChartView1.ExportToImage(@"C:\Users\syahr\Documents\Visual Studio 2010\Projects\TesTelerik\OutputTes\sopp.png", new Size(1871, 1086), ImageFormat.Png);<br>            <br>            RadMessageBox.Show("ok");        <br>        }<br><br>        private void LoadData()<br>        {<br>            LineSeries lineSeries;<br>            LineSeriesDataModel model = new LineSeriesDataModel();<br><br>            for (int i = 0; i < 11; i++)<br>            {<br>                lineSeries = new LineSeries();<br>                lineSeries.CategoryMember = "Month";<br>                lineSeries.ValueMember = "Expense";<br>                lineSeries.LegendTitle = model.GetLegendText(i);<br>                lineSeries.DataSource = model.GetData(i);<br>                lineSeries.PointSize = new SizeF(3f, 3f);<br>                lineSeries.BorderColor = Color.Blue;<br>                lineSeries.IsVisibleInLegend = true;<br><br>                this.radChartView1.Series.Add(lineSeries);<br>                Application.DoEvents();<br>            }<br>        }
zake
Top achievements
Rank 1
 answered on 06 Nov 2018
2 answers
200 views

Hi every one.

I'm using radMap in my project.

I want to know that can i loading my map from tiles that has been already downloaded instead of loading from internet?

In other words can i use cache file for loading map?

thanks...

Lost
Top achievements
Rank 1
 answered on 05 Nov 2018
1 answer
74 views

is there any way to get a summery of for the count of records from radgrid after filtering. 

see attached example for your reference. 

 

thank you 

MOhammad
Top achievements
Rank 1
 answered on 05 Nov 2018
1 answer
111 views
I tried ThemeResolutionService.ApplyThemeToControlTree(this, "ThemeName") it didn't work.
Dimitar
Telerik team
 answered on 05 Nov 2018
6 answers
432 views
In CellValidating i'm doing some validation on the values of the cell and depending if good or not i set e.cancel to true or not.
I would like to had a tooltip for that cell so the user would know what is wrong.
Here is what i'm doing

myObj obj = grdSearchResults.Rows[e.RowIndex].DataBoundItem as myObj;

if(obj==null)
return;

if (e.Value != null)
newValue = e.Value.ToString();

switch (grdSearchResults.Columns[e.ColumnIndex].UniqueName)
{
case "No":
if (!Validation.IsAlphaNumeric(newValue))
{
e.Cancel = true;
errorMsg = "Invalid No PNR. Must be alphaNumeric";
}
if (!e.Cancel && curPax.NoPNR != newValue)
modified = true;
break;

e.Row.Cells[e.ColumnIndex].CellElement.ToolTipText = errorMsg;

e.Row.InvalidateRow();


When a value is not entered correctly, i woul like to show that cell in red with a brief caption but it seem's impossible. Once a cell is cancelled, the client cannot do nothing before he corrects the entered value.

Any help?
Dimitar
Telerik team
 answered on 05 Nov 2018
8 answers
217 views

Hello,

I started using Telerik just recently and this is my first post here.

I have RadChartView that gets populated with different LineSeries based on the selection I make in the Combobox. It works fine, and also I can Export single currently displayed images just fine. However, I need to export images for all combobox options at once by clicking on a single button. Currently I do this by manually switching combobox options from code and printing the charts which in the UI causes the chart to quickly switch from one to another.

My question is: is it possible to export all the charts to images without actually showing the switch visually? If not, any workaround is also welcome. 

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Nov 2018
1 answer
248 views

Hi

I’m using in . Please suggest if there any possible way to change the background in it. 

Thanks in Advance.

Dimitar
Telerik team
 answered on 02 Nov 2018
3 answers
132 views

Ive got 2 questions.

1)When I select a page of the grid, then in the OnCellValueNeeded event, if that page has no table of data then I call function "AskForData" which uses an event to run a sql  query to read in 100 records to fill the table.

My call to Grid.VirtualGridElement.BestFitColumns(); is the last line of the AskForData() function as I didn't really know where else to put it, it seems to work. But at that moment of time, the cells haven't been formatted. Is there a recommended event I should trap?

2) I've set up my grid to use a hierarchical/child grid for displaying some data using the help document https://docs.telerik.com/devtools/winforms/virtualgrid/hierarchical-virtual-grid/hierarchical-data

Grid.VirtualGridElement.BestFitColumns seems to affect the masterviewinfo but not the child view info. Is there a way of accessing that to get bestfit on child columns?

thanks :)

 

Dimitar
Telerik team
 answered on 02 Nov 2018
0 answers
126 views

Hi

  In on day view, when I scroll from left to right in day view. The dates are not changing. Is there any possibility to change the resource design like the attached image. Please check & do the needful. Thanks in advance

Suganya
Top achievements
Rank 1
 asked on 02 Nov 2018
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?