开发者

Telerik RadGrid - Opening NestedView fires NeedDataSource event

I have a RadGrid set up to use the NeedDataSource event. I also have a Nested View set up to provide a quick-view of ex开发者_运维百科tended fields of the row. Is it necessary to fire the NeedDataSource event when expanding a Nested View? I would rather proactively load the fields in the initial load since I already have all my elements. Is it possible to make the display of a Nested View entirely client side?

Thanks!


If you have viewstate enabled you do not need to handle the NeedDataSource event when expanding a nested view. When a GridDataItem is set to expanded the DetailTableDataBind event fires and binds the data for the nested view.

I had the same issue and broke the retrieval of my data into two steps to accommodate the RadGrid.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜