H
HoustonFreeways
Suppose I have a datagrid control which defines the showfooter property
<dg:datagridconfirm id="dg_inbox" Runat="server" showfooter=false>
During subsequent postbacks of the page, I change the showfooter value to
true or false depending on the number of items in the datagrid
If me.Items.Count = 0 Then
ShowFooter = True
Else
ShowFooter = False
End If
The question is:
Is there any way I can reference the original value that was set in the tag?
(In this case false).
I realize I can set a viewstate variable when page.isPostBack is false, but
it seems to me there should be some way to access the original tag value.
<dg:datagridconfirm id="dg_inbox" Runat="server" showfooter=false>
During subsequent postbacks of the page, I change the showfooter value to
true or false depending on the number of items in the datagrid
If me.Items.Count = 0 Then
ShowFooter = True
Else
ShowFooter = False
End If
The question is:
Is there any way I can reference the original value that was set in the tag?
(In this case false).
I realize I can set a viewstate variable when page.isPostBack is false, but
it seems to me there should be some way to access the original tag value.