same data when open radwindow again

2 posts, 0 answers
  1. Abdulaziz
    Abdulaziz avatar
    1 posts
    Member since:
    Jun 2013

    Posted 20 Jun 2013 Link to this post

    Hello every one

    i have radgride to show invoices list when i edit invoice in radwindow he show me the data for previous invoice

    for example
    When I try to edit invoice no 1 he show me the data correct in radwindow for first time
    but after close radwindow then I try to edit invoice no 2 he show me in radwindow the data for invoice no 1


    any one can help me

    Thanks
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 25 Jun 2013 Link to this post

    Hi Abdulaziz,

    I would advise that you examine this demo in order to see how you can pass arguments to a radWindow through its Querystring that you can use in the content page's code-behind to show new data: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window.
    Also, setting the ReloadOnShow to true and ShowContentDuringLoad to false for your RadWindow can prevent the display of the old data while the page reloads anew.
    If you still get old data after the loading sign disappears I would advise debugging your code to see if the parameters/data you pass are correct, since radWindow merely shows the page streamed from the server without modifying it.

    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top