B
BB
Hi,
I am using FormView Contol, TextBox (Hidden ) and Submit button
whose caption is "View Page" in my aspx page.
Here is what I am tryin to do.When page loads I generate dynamic
url in text box . I want to append exisitng value in Formview field
"CustomeID" to url. When userclicks on "view page" ,new window is
opened with dynamic url.
I am able to do generarting url dynamically, but dont know how i can
do rest of the things. Any idea?
<asp:FormView ID="FormView1" runat="server" AllowPaging="True"
CellPadding="4" DataKeyNames="CustomerID"
DataSourceID="AccessDataSource1" ForeColor="#333333"
OnDataBound="FormView1_DataBound">
<FooterStyle BackColor="#507CD1" Font-Bold="True"
ForeColor="White" />
<EditRowStyle BackColor="#C0FFC0" />
<EditItemTemplate>
<table>
<tr>
<td style="width: 344px">
<span style="font-size:
9pt"><strong>ID:</strong></span></td>
<td colspan="2">
<asp:Label ID="IDLabel1" runat="server" Text='<%#
Eval("CustomerID") %>' Font-Names="Arial"
Font-Size="8pt"></asp:Label></td>
</tr>
<tr>.....
How I can get value of "IDLabel1" may be in page load or
databound event of page? so that I can concanate value of IDLabel1 to
my url
Thank you
I am using FormView Contol, TextBox (Hidden ) and Submit button
whose caption is "View Page" in my aspx page.
Here is what I am tryin to do.When page loads I generate dynamic
url in text box . I want to append exisitng value in Formview field
"CustomeID" to url. When userclicks on "view page" ,new window is
opened with dynamic url.
I am able to do generarting url dynamically, but dont know how i can
do rest of the things. Any idea?
<asp:FormView ID="FormView1" runat="server" AllowPaging="True"
CellPadding="4" DataKeyNames="CustomerID"
DataSourceID="AccessDataSource1" ForeColor="#333333"
OnDataBound="FormView1_DataBound">
<FooterStyle BackColor="#507CD1" Font-Bold="True"
ForeColor="White" />
<EditRowStyle BackColor="#C0FFC0" />
<EditItemTemplate>
<table>
<tr>
<td style="width: 344px">
<span style="font-size:
9pt"><strong>ID:</strong></span></td>
<td colspan="2">
<asp:Label ID="IDLabel1" runat="server" Text='<%#
Eval("CustomerID") %>' Font-Names="Arial"
Font-Size="8pt"></asp:Label></td>
</tr>
<tr>.....
How I can get value of "IDLabel1" may be in page load or
databound event of page? so that I can concanate value of IDLabel1 to
my url
Thank you