I would be great if the RadProgresBar control was a bit more tolerant of values whih are > max value.
OK, so this is a programming errot, but the error message the user sees is a bit extreme - a .NET error.
Perhaps the Telelrik framework might just ignore these values which are > max value , and just set to 'max value'.
I've made the change to the App.config file to set to use the 'Fluent' Theme for all forms everywhere in the application:
<add key="TelerikWinFormsThemeName" value="Fluent" />
..which looks perfect in the Designer, but the runtime is still using some other theme.
Designer
Runtime
The form does not specify a Theme, so I thought it would use the 'Fluent' theme which I specified.
Do I need to do something else to make the runtime form use the right theme? I'm confused....
I'm experimenting thia for almost one week. I almost read every post in forum and also other sources. problem is simle. I want to flash a grid cell when value changes. It works them column and row count is small but when grid is in fullscreen form with 20 columns and lets say 100 rows, cells sometimes blink, sometimes not. I noticed that when you decrease blink time it doenst work. when you go up to 150 ms and up it works. this tells me it has something todo with refresh rate or something. same problem exists with other solution approaches in forum.
Can I kindly ask you yo provide a working a flashing cell sample. I really tried to use every event, every suggestion in this forum.... and also its not first time I face the problem. Last year I had again and at the end I gave up and didnt use flashing function in my project. But this time I reaaly need this.
And also I should mention that this is a very common practice nowadays, so radgrid should able to handle that.
best.
' at the form load event..
radGrid1.DataSource = sampleDataTable()
Private Function sampleDataTable() As DataTable
Dim table1 = New DataTable("prices")
table1.Columns.Add("id")
table1.Columns.Add("Symbol")
table1.Columns.Add("BuyPrice")
table1.Columns.Add("MarketPrice")
For i = 1 To 20
table1.Columns.Add("Extra Column " & i)
Next
For i = 1 To 100
table1.Rows.Add(i, "Stock A, "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10", "10")
Next
Return table1
End Function
Private Sub radGrid1_CellValueChanged(sender As Object, e As DataGridViewCellEventArgs) Handles radGrid1.CellValueChanged
radGrid1.Rows(e.RowIndex).Cells(e.ColumnIndex).Style.BackColor = Color.Lime
Dim t1 As Task = Task.Run(Sub()
System.Threading.Thread.Sleep(180)
radGrid1.Rows(e.RowIndex).Cells(e.ColumnIndex).Style.BackColor = oldcolor
End Sub)
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
' change some random cells
Dim r As Integer = random.Next(1, 10)
Dim c As Integer = random.Next(1, 6)
radGrid1.Rows(r).Cells(c).Value = Now.ToLongTimeString
End Sub
Hi all, I'm trying to do something very similar to the WPF Custom Shape example; add controls to a shape in some sort of container (panel,...)
WPF Example desired in Winforms
Is there a Winforms version of this example somewhere?
Future Request: I think (IMHO) that there should be a section for this. Defining a Custom Shape, Adding Controls, Setting Custom Connection Points, Adding the new shape to the Toolbox, Configuring the Properties Editor, and setting up Drag-Drop. If you are creating a custom shape all of these are parts of the effort. The Documentation is all spread out over each element with no real guiding document to cover what all is possible/necessary to get a working shape (that i could find anyway).
Hi
Is there any way to use callout instead of tooltiptext in radstepprogress control
such that when i point to StepItemIndicatorElement the callout display the first header text
if yes , can you give me a sample please
Best regards
Atfat
Hi
Is there any way to use callout instead of tooltiptext in radstepprogress control
if yes , can you give me a sample please
Best regards
Atfat
hi
how show cell time like hh:mm
this code have errorGridViewDateTimeColumn column = (GridViewDateTimeColumn)this.radGridView1.Columns["Date"]; column.FormatString = "{0:hh.mm}"; //hour.minutes
Hi.
Is there any way to remove or hide the indicator icons shown in row header?
Hello,
I have an MDI parent form with a radcommandbar across the top.
The commandbar contains 2 commandstripelements which have several buttons
One is left justified and one is right justified
Everything is working fine except when I deploy it to a touch enabled / touchscreen client. Some users are accidentally dragging the commandstripelements into one another and even dragging them off the command bar making them disappear entirely.
Is there a way to disable dragging or reordering of the commandstrips. Ideally I don't want any of the items to move at all
I have already tried
For each commandstripelemnt I set
commandBarStripElement1.AllowDrag = false;
commandBarStripElement1.AllowDrop = false;
commandBarStripElement1.EnableDragging = false;
commandBarStripElement1.EnableFloating = false;
For each button in either strip element I set
buttonX.AllowDrag = false;
I even tried returning e.Canceled in BeginDrag
Nothing seems to be working
Any help would be appreciated
Thanks
Kevin
Hey there!
I was tasked with fixing the memory leak problem of some programs, and since they have more than 100k lines combined i wanted to know something before starting :D
I want to make sure that this is the correct way of clearing/cleaning an object:
/**************************/
tmpPanel:Dispose().
tmpPanel = ?.
IF VALID-OBJECT(tmpPanel) THEN DELETE OBJECT tmpPanel NO-ERROR.
/**************************/
Am I missing something? Do I need to do anything else?
And can I do this dynamically? By sending the object in an argument and running the "Dispose" method by invoking it. Does that work as well?
And If i assign the object i want to clear/clean before doing clearing/cleaning it to another variable, should I also clear/clean such variable?
JP