N
nathan.cutmore
BACKGROUND:
I have a bound datagrid with the following code -
<asp:datagrid id="dgla" OnItemCommand="declareDatagrid">
....
<Columns>
<ItemTemplate>
<asp:Literal id="lbOnLoan" Runat="server" />
</ItemTemplate>
<FooterTemplate>
<asp:Literal ID="lbTotalOnLoan" Runat="server" />
</FooterTemplate>
</columns>
</datagrid>
In the code behind I set the value of Literal.text when the datagrid is
bound.
On the same page that the datagrid is displayed I have a button that
when clicked sends an email - I have no problem coding the email
controls.
THE PROBLEM:
As part of the text of this email I want to include the VALUE that is
held the Literal.Text and I can't seem to extract it.
I think the solution is based on FINDCONTROL but I know that I am doing
something wrong.
Any solutions would be greatly appreciated.
I have a bound datagrid with the following code -
<asp:datagrid id="dgla" OnItemCommand="declareDatagrid">
....
<Columns>
<ItemTemplate>
<asp:Literal id="lbOnLoan" Runat="server" />
</ItemTemplate>
<FooterTemplate>
<asp:Literal ID="lbTotalOnLoan" Runat="server" />
</FooterTemplate>
</columns>
</datagrid>
In the code behind I set the value of Literal.text when the datagrid is
bound.
On the same page that the datagrid is displayed I have a button that
when clicked sends an email - I have no problem coding the email
controls.
THE PROBLEM:
As part of the text of this email I want to include the VALUE that is
held the Literal.Text and I can't seem to extract it.
I think the solution is based on FINDCONTROL but I know that I am doing
something wrong.
Any solutions would be greatly appreciated.