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

Ajax refreshGrid works, but doesn't display

3 Answers 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Franco
Top achievements
Rank 1
Franco asked on 19 Mar 2010, 03:26 PM
Hi all,

in short:

- the Grid is built completeley in Codebehind, because some columns are added dynamically - no problem that works fine.
- one Column contains an imagebutton, which is used also as an indicator with different colors - works fine
- Rowclick opens a popup window - where data can be entered, changed and deleted - works fine
- Clicking the Savebutton in the popup window, the data is saved in the database and the js closes the window - works fine
- on the initial Page the refreshGrid fires - works fine
- in the AJAX-Eventhandler in Codebehind, the fired event arrives and there a rebind is initiated - works fine
- the Grid is built new, all data is inserted and it runs also through the decision in which color the Imagebutton has to appear - works fine
- the page appears in the browser... the new imagebutton does NOT appear

It's the same code in the same order as if the page is entered the first time (where all is working as expected)

When the entire Page is refreshed by hitting F5 or get the page new from menu, all appears as expected - just not after a refreshGrid...

Anyone an idea, what could be the reason and what I can do to resolve this problem? Thanks in advance!


Regards
Franco

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 24 Mar 2010, 10:45 AM
Hi Franco,

Does the same behavior remain, when you temporarily remove the ajax setting from the page?
If this is the case, then most probably there is an issue with the ajax settings on the page - you can either add the proper relations to the ajax settings, or wrap all related controls in a RadAjaxPanel - this will eliminate the need to determine the relations among the initiators and the updated controls.

Kind regards,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Franco
Top achievements
Rank 1
answered on 29 Mar 2010, 03:55 PM
Hi Yavor,

if I remove the entire AJAX-Manager, I could not start the Debugging, because it puts an error. If I only remove the
<AjaxSettings> 
... 
</AjaxSettings> 

it doesn't fire the event to the code behind. So nothing could happen, because it doesn't run through the code.

Is there maybe a setting with Viewstate or something like that? (Maybe an old Viewstate which overwrites the changes made by the code?)


Best Regards
Franco
0
Yavor
Telerik team
answered on 01 Apr 2010, 09:03 AM
Hello Franco,

In order to further properly trace the issue, it will be best if you open a formal support ticket, and send us a small working project, demonstrating your setup. We will debug it locally, and get back to you with more information on the matter.

Regards,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Franco
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Franco
Top achievements
Rank 1
Share this question
or