Welcome Guest Search | Active Topics | Members | Log In | Register

GetCheckedDataKeyArray() and GetCheckedPaths() are always empty or null Options
mkravo
Posted: Tuesday, November 10, 2009 11:07:04 AM
Rank: Newbie
Groups: Member

Joined: 11/10/2009
Posts: 1
Location: Slovenia
Hi,

on our site we are evaluating your GridViewTree. In our evaluation process we have used your component on one test page, everything is OK, except that when we try to get which items are selected(with checkboxes) the functions GetCheckedDataKeyArray() and GetCheckedPaths() returns always null or empty list? How can we obtain checked items?

Best Regards, Mitja
JBrooks
Posted: Saturday, November 14, 2009 9:47:00 PM
Rank: Administration
Groups: Administration

Joined: 8/28/2007
Posts: 34
Mitja,
Did you set the DataKeyNames property? I have an example in my blog as to how to get all of the checked rows. The example is a GridView, but works the same for the GridViewTree when you bind the checkbox to that column. Here is the post:

http://blog.digitaltools.com/post/2009/07/14/Multiple-Row-Selections-in-a-GridView-with-checkboxes.aspx

Support
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.022 seconds.