Client side refresh

7 posts, 0 answers
  1. Ricardo
    Ricardo avatar
    10 posts
    Member since:
    Apr 2014

    Posted 15 Jan 2015 Link to this post

    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.
  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 20 Jan 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ricardo
    Ricardo avatar
    10 posts
    Member since:
    Apr 2014

    Posted 13 Mar 2015 in reply to Viktor Tachev Link to this post

    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
  5. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 17 Mar 2015 Link to this post

    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
  6. vijay kumar
    vijay kumar avatar
    7 posts
    Member since:
    Nov 2016

    Posted 23 Nov Link to this post

    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
  7. vijay kumar
    vijay kumar avatar
    7 posts
    Member since:
    Nov 2016

    Posted 27 Nov Link to this post

    Hello, do i need to raise ticket for above query? I did not get any update from you from 4 days. Please advise. 
  8. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 28 Nov Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017