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

[Solved] Problem in Visual Web 2008 or Rebind Rad Grid on Rad Window Close

3 Answers 130 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rajoo12
Top achievements
Rank 1
rajoo12 asked on 21 Apr 2008, 12:17 PM
Hi,
I have a project started with Visual Web developer 2005 Express and now continuing the rest on Visual web Developer 2008, C#.
Used Radwindow to edit the Row in Grid and Update the grid (Rebind) on ClientClose.
This works fine for grids / radwindows which was built in VSWeb 2005 Express.

In VSWeb 2008 Express :
UI of the grid shows like updating (Display the loadingImage.....) the  grid.

But the Rebind event is not fired. The values are NOT reflected on Grid. Need Ctrl+F5 to see the result.

http://www.telerik.com/help/aspnet/grid/?grdMakePostBackAJAXRequestFromUserControlWebFormMasterPage.html

Followed the steps as in above mentioned link.

Hope I have put the problem clearly.

Thanks in Advance.

Regards,

Rajoo

3 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 21 Apr 2008, 03:50 PM
Hello rajoo12,

Do you get JavaScript errors on Grid updating?

The article you referred explains the approach with the "Classic" RadGrid. Do you attempt to implement that for RadGrid for ASP.NET AJAX? If so, you should use the RadAjax controls and change the client-side code. A similar demo is available here:

http://www.telerik.com/demos/aspnet/prometheus/Controls/Examples/Integration/GridAndWindow/DefaultCS.aspx?product=grid

Regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
rajoo12
Top achievements
Rank 1
answered on 21 Apr 2008, 04:35 PM
Hi Petkov,

I was using classic RadGrid1/Radwindow1 as you mentioned in Visual Web 2005. Things are still working fine with RadGrid1/Radwindow1.

After I installed Visual Web 2008 upgraded the project:
 Used the same code logic for another new RadGrid2/Radwindow2.

 Here the radgrid.rebind is not fired in raisepostback event  only for the newly added RadGrid2/Radwindow2, old one still works fine.
For new RadGrid2/Radwindow2
No javascript error,
Loading image is shown after I close the radwindow used to edit the data but data is not updated to the grid.

Hope you understood the problem,

Thanks,
Rajoo



0
Sebastian
Telerik team
answered on 22 Apr 2008, 06:37 AM
Hi rajoo12,

Do you experience this issue under a specific browser only or it is cross-browser? If the problem appears under Gecko-based browsers only and IE works properly, it might be related to the matter depicted in this documentation topic.

Additionally, I recommend you use the grid and ajax from the RadControls for ASP.NET AJAX suite for any new development as they include various new features/enhancements that you may find useful. In additional to my colleague Konstanin's post, here is KB article which demonstrates the functionality both with the Classic and ASP.NET AJAX versions of the controls (along with test projects attached):

http://www.telerik.com/support/kb/article/b454K-gmb-b454T-cba-b454c-cba.aspx

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
rajoo12
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
rajoo12
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or