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

[Solved] Grid template/event issue on Popup Insert/Edit Form

0 Answers 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Wicky
Top achievements
Rank 1
Wicky asked on 30 Jan 2012, 10:34 AM
Hi,

I found an issue in current release, the case is:
1) I have a main grid with popup form edit mode enabled,
2) then I put a grid in popup editor template, 
    bound to a simple class, User { int Id, string Name }, 
    and set onDataBound event.

I want to set first column as checkbox, however:
1) If I use server template, when Insert/Edit form popup, checkboxes are displayed for first page, but nothing in other pages;
and onDataBound event never fired
2) If I use client template, when Insert/Edit form popup, checkboxes are NOT displayed for first page, but displayed after navigation links clicked; and onDataBound event only fired after navigation links clicked

I found a workaround for checkbox here: http://www.telerik.com/community/forums/aspnet-mvc/grid/ajax-grid-loading-on-first-view.aspx, which is to use both server and client template.  For onDataBound event, I think I could add some init script as workaround.

But I think it should be an issue which need to be repaired?

Regards
Wicky


Tags
Grid
Asked by
Wicky
Top achievements
Rank 1
Share this question
or