This is a migrated thread and some comments may be shown as answers.

Client side refresh

6 Answers 107 Views
ClientDataSource
This is a migrated thread and some comments may be shown as answers.
Ricardo
Top achievements
Rank 1
Ricardo asked on 15 Jan 2015, 06:15 PM
Hi, I have a grid connected to a clientdatasource and I need to refresh the grid from the web service, how can I do that using client side methods?
I tried the fetch() method of the datasource, or rebind() from the master table view but nothing works.
Thanks.

6 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 20 Jan 2015, 02:17 PM
Hello Ricardo,

For your convenience I have prepared a sample WebSite Project that illustrates how you can rebind RadGrid when client-side binding is used. In the sample the data is different based on the selected item in the RadTreeView control.

Try using similar approach and you should be able to implement the functionality you are looking for.

Regards,
Viktor Tachev
Telerik
0
Ricardo
Top achievements
Rank 1
answered on 13 Mar 2015, 07:02 PM
Hi Viktor, I've implemented your suggestion and was working good
My problem now is that I've upgraded to version Q1 2015 and when I call rebind() in client side causes a postback.
In the previous version this doesn't happens
Do you have any suggestion to fix this?
Thanks
0
Viktor Tachev
Telerik team
answered on 17 Mar 2015, 03:13 PM
Hi Ricardo,

We examined the behavior you describe and it seems to be caused by a bug. I have notified the development team and they will provide a fix for the issue as soon as possible. You can monitor the status of the issue in the Ideas & Feedback Portal in the following link.


I apologize for any inconvenience this may cause you. As a token of gratitude for bringing the issue to our attention you will find your Telerik points updated.


Regards,
Viktor Tachev
Telerik
0
vijay
Top achievements
Rank 1
answered on 24 Nov 2016, 03:00 AM
Hi, 

I am using RadGrid on modal-dialog, it is working fine after page load.
But it is not showing newly created appointments. i.e. modal dialog not refreshing after new appointments created.
Please find attached image for my script. (I am using SqlDataSource for radGrid)
My scenario is i am creating appointments from a page and after clicking a invite button i am showing a modal-dialog with all newly created appointments.

Thanks & Regards,
Vijay
0
vijay
Top achievements
Rank 1
answered on 28 Nov 2016, 03:22 AM
Hello, do i need to raise ticket for above query? I did not get any update from you from 4 days. Please advise. 
0
Viktor Tachev
Telerik team
answered on 28 Nov 2016, 12:42 PM
Hi Vijay ,

If you are adding the data to the data source using external logic then the grid should show the records as expected. You just need to ensure that the data is added to the database before data-binding the Grid.

With that said, would you send us a runnable sample where the behavior you are seeing is replicated? This will enable us to examine the issue and look for its cause.

Regards,
Viktor Tachev
Telerik by Progress
Telerik UI for ASP.NET AJAX is ready for Visual Studio 2017 RC! Learn more.
Tags
ClientDataSource
Asked by
Ricardo
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Ricardo
Top achievements
Rank 1
vijay
Top achievements
Rank 1
Share this question
or