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

[Solved] Issues with page Flash when I use _doPostBack

2 Answers 102 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
newbie
Top achievements
Rank 1
newbie asked on 28 May 2008, 10:56 PM
I am not sure which scetion this posting should go under.
I have a user control page from whic i call a RadWindow.
The RadWindow returns some values.

I need to populate these values in controls on my user control page (textBox and Hyperlink controls)

I cannot set the hyperlink on clientside as on a postback it loses its value.So from the callback function i do postback to the page using 
_doPostBack("radWindow", args)

Then on Page_Load i populate the controls.

The issue i am facing is with my _doPostback my whole page flashes.
I tried using AJAXSettings -> UpdatedControls but it doesn't help.

Am i setting something wrong in the AJAXSettings or is it the _doPostBack that's causing the whole page flash?

Is there any way I can avoid it?

2 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 02 Jun 2008, 12:10 PM
Hi,

I am not quite sure about your exact setup and if the problem is related to RadWindow, but I would suggest to use an Ajax request instead of the postback. For example if you are using RadAjax, you can use AjaxRequest to send the needed information on the server.

If you still experience problems, it will be best to open a support ticket and to send us a small sample project where they can be reproduced - we will check it and do our best to help.



Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
newbie
Top achievements
Rank 1
answered on 03 Jun 2008, 05:12 PM
I changed my implementation for this now.

Somehow my AJAXRequest was not getting triggered.My AJAXManager was on the master page and I was trying to do all this code in a user control on the content page.
I couldn't find a solution to my page flash problem but since i no longer use it I did not dig deep into that.
Tags
Ajax
Asked by
newbie
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
newbie
Top achievements
Rank 1
Share this question
or