M
Marty U.
I have two datalists nested. On the ItemDataBound Event of the first
datalist I databind the second with specific info. A couple questions:
1) How can I utilize the OnItemCommand of the nested datalist(inner) to
retrieve the DataKey value when a user clicks a link button?
2) Is there anything I should be concerned with about ViewState? This is
a reporting tool and no input is accepted.
I have found a couple examples but none pointing out the requirement of
needing to retrieve the datakey of the nested datalist or datagrid for
that matter.
The problem I experienced was getting a null object reference when I
attempted to access the nested datalist directly with an onclick routine
of the link button. Before I left work today I realized how foolish I
was with that thinking so I am back to the drawing board.
If you need more details please let me know.
Thanks in advance.
Marty U.
datalist I databind the second with specific info. A couple questions:
1) How can I utilize the OnItemCommand of the nested datalist(inner) to
retrieve the DataKey value when a user clicks a link button?
2) Is there anything I should be concerned with about ViewState? This is
a reporting tool and no input is accepted.
I have found a couple examples but none pointing out the requirement of
needing to retrieve the datakey of the nested datalist or datagrid for
that matter.
The problem I experienced was getting a null object reference when I
attempted to access the nested datalist directly with an onclick routine
of the link button. Before I left work today I realized how foolish I
was with that thinking so I am back to the drawing board.
If you need more details please let me know.
Thanks in advance.
Marty U.