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

same data when open radwindow again

1 Answer 32 Views
Window
This is a migrated thread and some comments may be shown as answers.
Abdulaziz
Top achievements
Rank 1
Abdulaziz asked on 20 Jun 2013, 10:30 PM
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

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 25 Jun 2013, 10:06 AM
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.
Tags
Window
Asked by
Abdulaziz
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or