How to refresh the radgridview using wpf ?
Loading
How to refresh the radgridview using wpf ?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit MohantyRank #112 · 20K reputationPosted Mar 26, 2024, 7:34 AM EDT
You can call the Rebind() method of the RadGridView to refresh its data.
Sujay AnandRank #1,857 · 800 reputationPosted Mar 27, 2024, 1:16 AM EDT
THe coding structure they following is 3 tier architechture. I tried this also but not working.
Amit MohantyRank #112 · 20K reputationPosted Mar 27, 2024, 7:59 AM EDT
If you are using a 3-tier architecture and the Rebind() method is not working for refreshing the RadGridView, may be it's due to the data binding mechanism or the communication between layers. You may need to manually update the data source bound to the RadGridView.
So could you please share a minimal, reproducible code snippet to understand the issue? Without seeing your code, it's difficult to provide specific guidance.
Jithu ThomasRank #437 · 5.7K reputationPosted Mar 27, 2024, 9:15 AM EDT
You can refresh the
RadGridViewby reloading the data source:// Assuming this is your method to load data initially private void LoadData() { // Your logic to load data into the RadGridView // Example: radGridView.ItemsSource = YourDataSource; // Replace YourDataSource with your actual data source } // Method to refresh the RadGridView private void RefreshGridView() { // Clear the items source first radGridView.ItemsSource = null; // Call your data loading method again LoadData(); }