Welcome Guest! To enable all features please Login or Register.



#1 Posted : Friday, November 21, 2008 6:38:08 AM(UTC)

Rank: Newbie

Groups: Member
Joined: 11/21/2008(UTC)
Posts: 1

Hello. I'm testing the GridViewTree, and found a problem when trying to update data to database.

I have a GridViewTree that is populated with data by a ObjectDataSource, that have both SelectMethod and UpdateMethod set.

Also, I have created some linkbuttons to edit and update (that have "Edit" and "Update" CommandNames, respectively) the data.

If I click the Edit linkbutton all is ok. The textboxes are presented so I can edit data.

The problem occurs when I click my Update linkbutton. I noticed my save method in ObjectDataSource class is not called, and I get the following error: "Reference not set to an instance of an object".

My doubt are:

- is the GridViewTree enabled to update data by using base gridview standards (i.e. linkbuttons with CommandName="Update")?

- if yes, is there any specific code or a how-to to make it work?

#2 Posted : Friday, November 21, 2008 11:46:45 AM(UTC)

Rank: Administration

Groups: Member
Joined: 4/3/2008(UTC)
Posts: 43

Yes, the GridViewTree is enabled to do this. Could you email me your stack trace page to the support email address?

#3 Posted : Tuesday, May 30, 2023 5:30:51 PM(UTC)

Rank: Newbie

Groups: Member
Joined: 5/30/2023(UTC)
Posts: 1

After reading some speedypaper.com reviews, I decided to give them a try, and am so glad I did! My paper was completed quickly and was of outstanding quality. Customer service was also superb - very friendly staff helped answer all my questions promptly. Overall, I would definitely recommend speedypaper.com to anyone searching for reliable service of superior quality.
Users browsing this topic
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.

Powered by YAF | YAF © 2003-2023, Yet Another Forum.NET
This page was generated in 0.068 seconds.