Digital Tools
»
GridViewTree
»
Using
»
Error on updating data
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?
Thanks!
|
|
|
|
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?
Support
|
|
|
|
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.
|
|
|
|
Digital Tools
»
GridViewTree
»
Using
»
Error on updating data
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.