Hi..Telerik Team
How to clear all cells value after binding a data then reload data. Here's my code.
Class Module
Public Function GetDataTable(ByVal Query As String) As DataTable
Dim adapter As New SqlDataAdapter()
Dim mydt As New DataTable()
Using Conn As New SqlConnection(DBConnection)
adapter.SelectCommand = New SqlCommand(Query, Conn)
adapter.Fill(mydt)
End Using
Return mydt
End Function
---> i use above function to binding data into my grid and succeed
- Click NEW button then clear all cells value just loaded.My code as below
Me.RadGridView1.DataSource = New DataTable()
- Click LOAD button to load another data
dim vQstr as string = "SELECT * FROM table"
RadGridView1.DataSource = objDB.GetDataTable(vQStr)
1. problem is when i load another data, my grid didnt show any data. Please kindly help
2. can manually save gridview data records into database by clicking a button, but user allows to add, edit and delete row before do saving
Thank you
I have the following aggregate to calculate the count of people in my data.
radPivotGrid1.AggregateDescriptions.Add(new PropertyAggregateDescription()
{
PropertyName = "personId",
AggregateFunction = AggregateFunctions.Count
});
I want to add a custom aggregate that calculates 5% of the count, always rounding up to the next integer value. For example, if there were 102 people, the customer aggregate would yield 6. (102 * 5% = 5.1 rounded up = 6)
How can I do this?
I just started using the panorama example "Demo Apps Hub".
When run as-is, the application starts slow, but it works as expected.
However, the first simple modification(change Form1's Windowstate property to Maximized) the sample is not behavng as expected.
An blank outline of the designed form width is printed on screen for as much as 1.5 seconds after which the form is resized and updated.
Is there any additional code needed to make the sample behave as one would expect?
Thanks!
I still learning a lot about C# and Telerik. I am trying to figure out what NODE I am moving in a TREEVIEW when I am done moving it. Any node in my tree can move and any node can be in any position (ROOT or CHILD). I have looked at DragEnded event, but the sender is never the node I have selected and/or moved.I have looked at SelectedNodeChanged, but that fires multiple times during a drag event and while the last one is the correct node, I don't believe this is the correct direction. As for DragDrop even, this never fires, which I found both weird and interesting, as I have both AllowDragDrop and AllowDrop turned on for the tree view. I am currently using Telerik Winforms version 2016.2.503.40.
Thanks in advanced.
Mark
Hello,
I use one Datagridvew with 10.000 rows.
I add or remove FilterDescriptors by code.
this update block the thread 2s.
Its possible to display a radwaiting ? or move this action on other thread ?
Thank you.
Hello,
Ik have a gridview which is bound to a SQL-server table. Records in this table are changes by other users/programs.
Can anyone tell me the easiest way to Reload/Update the data in the gridview ?
Kind regards
A desperate developer