I am tracking if document is modified by user so that I can append the text "(modified)" to the form's title, and also to prompt the user to save the modified document. My code also changes the document, but this is not a modification that the user should be concerned with. TextChanged event is alas raised in both cases. So I introduced a flag that means "ignore TextChanged event once". If in event handler the flag is set then just reset it. Otherwise update the form's title.
And now I've added default footer with code, in the same place where all other code changes to the document are made. This causes two events to fire, instead of just one. And now my document is marked as modified from the start. I could change the meaning of the introduced flag to mean "ignore TextChanged event twice", but that now just feels like a hack. Is there a "proper" way to track user's changes and not track changes from the code?
hi expers:
when i filtered the gridrows,i dont know the count of the filtered rows.
by the way,i use paged gridview,and i only know how many pages and pagesize
the property 'Childrows' always gives the pagesize of the gridview .
if if count the rows while filtering(the event CustomFiltering). the counts some times go wrong.
best wishes
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
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
> }
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...
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
e.Row.Cells[e.ColumnIndex].CellElement.ToolTipText = errorMsg;
e.Row.InvalidateRow();
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
Hi
I’m using in . Please suggest if there any possible way to change the background in it.
Thanks in Advance.