471,323 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,323 software developers and data experts.

GridView nested in DataList - refreshing corresponding DataList row after updating GridView row

Hi there

My problem is that in when I update GridView row, which is nested into
DataList control, I want to refresh also DataList in which the GridView
is nested, since after update, trigger in my DB changes some value in
it (some Total sum from the GridView column).

The GridView, along with its ObjectDataSource is inserted into DataList

How, and where shoul the DataList be refreshed?

I've tried DataListControlName.DataBind() in page.load, but I get the
following error:

The ObjectDataSource control 'the name of the GridView datasourced
(located in the DataList Item Template)' does not have a naming
container. Ensure that the control is added to the page before calling

thanks a lot

Apr 26 '06 #1
0 1730

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Nalaka | last post: by
1 post views Thread by staeri | last post: by
3 posts views Thread by Carlos Albert | last post: by
1 post views Thread by H5N1 | last post: by
reply views Thread by ammar_fake | last post: by
7 posts views Thread by =?Utf-8?B?cGF0cmlja2RyZA==?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.