 |
| ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

August 5th, 2012, 03:47 PM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 81
Thanks: 10
Thanked 3 Times in 2 Posts
|
|
Create Dynamic Controls (eg. Label & Text Box)
I am working on another of my High Voltage calculations. Last weekend Imar helped me with Trying to increment a counte variable and persistence of their values using
'viewstate' when the page is reloaded.
On this calculation I have the user enter the number of (x,y) values in two textboxes, and I also have a label. (see code below). In the old GW-Basic code the user enters the pair as x, y and when finished (up to 30 values) they enter 999, 999 to indicate they are done entering data. I have the page start with asking how many data pairs to enter. Then the counter they enter is persisted using 'viewstate' so that when the form is submitted the counter has the number of (x,y pairs.)
I am putting this into a table using two columns, 60% width with the label in the left column and the two text boxes in the right column. So depending on the number of x,y data points I want to determine the number of labels and textboxes to show dynamically on the page along with additional table rows.
HTML Code:
<%@ Page Title="" Language="VB" MasterPageFile="~/CoilCalcsMaster.master" AutoEventWireup="false" CodeFile="c-fit.aspx.vb" Inherits="c_fit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style5
{
width: 60%;
}
.style6
{
height: 21px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p style="text-align: center">
<span class="style2">Least Squares Curve Fitting</span>
<br class="style2" />
Property of Company</p>
<br />
<table class="style5">
<tr>
<td colspan="2">
<asp:Label ID="lblTitle" runat="server"
Text="Enter the x, y, coordinates of up to 30 data pairs."></asp:Label>
</td>
</tr>
<tr>
<td class="style6">
</td>
<td class="style6">
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblNoDataPrs" runat="server" Text="How many data pairs?"
ViewStateMode="Enabled"></asp:Label></td>
<td>
<asp:TextBox ID="txtNoDataPrs"
runat="server" CssClass="LeftValueColumn"></asp:TextBox>
<asp:Button ID="btnSubmit" runat="server" Text="Submit" />
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
</table>
<table class="style5">
<tr>
<td>
<asp:Label ID="lblXYPr1" runat="server" Text="Enter x & y values"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtX1" runat="server"></asp:TextBox>
<asp:TextBox ID="txtY1" runat="server"></asp:TextBox>
</td>
</tr>
</table>
<br />
</asp:Content>
|
|

August 6th, 2012, 08:30 AM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 81
Thanks: 10
Thanked 3 Times in 2 Posts
|
|
I'm pretty excited, now I have a link and some code to work with. It doesn't work, because I just discovered how to do dynamic controls, but I know I have to figure out how to get my counter to persist, (i.e. 1 to 30). But I also have another exciting job I have to get ready to go to this morning, so I will just post what I have, both the VB and ASPX files, and hopefully work on later today.
The link to the great article I found is here: http://bytes.com/topic/asp-net/insig...ntrols-asp-net
Code:
Partial Class c_fit
Inherits System.Web.UI.Page
Private textBoxArrX(30) As TextBox
Private textBoxArrY(30) As TextBox
Private lblArrXY(30) As Label
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
NoDataPrs = 1
NoDataPrs = Val(txtNoDataPrs.Text)
Dim count As Integer = 0
End Sub
Public Property NoDataPrs As Integer
Get
Dim o As Object = ViewState("NoDataPrs")
If Not o Is Nothing Then
Return CType(o, Integer)
Else
Return 0
End If
End Get
Set(ByVal Value As Integer)
ViewState("NoDataPrs") = Value
End Set
End Property
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
If Not Page.IsPostBack Then
Else
End If
' This event happens before any controls are initialized by ASP.NET'
'The ViewState for objects has not been loaded.'
'After this event happens, the ViewState is loaded for each control and the object's properties are filled with the values submitted.'
'Creating the TextBox Objects that are dynamically shown in the web page'
'according to the number selected from a DropDownList'
For x As Integer = 1 To NoDataPrs
textBoxArrX(x) = New TextBox
textBoxArrX(x).ID = "Xvalue" + x.ToString
textBoxArrX(x).Visible = False 'Initializing the TextBox so that it is not rendered in the browser
Pnl_TextBoxes.Controls.Add(textBoxArrX(x)) 'Adding the TextBox to the Panel that holds the text boxes.
textBoxArrY(x) = New TextBox
textBoxArrY(x).ID = "Xvalue" + x.ToString
textBoxArrY(x).Visible = False 'Initializing the TextBox so that it is not rendered in the browser
Pnl_TextBoxes.Controls.Add(textBoxArrY(x)) 'Adding the TextBox to the Panel that holds the text boxes.
lblArrXY(x) = New Label
lblArrXY(x).ID = "Xvalue" + x.ToString
lblArrXY(x).Text = "x, y values no. " & x
lblArrXY(x).Visible = False 'Initializing the TextBox so that it is not rendered in the browser
Pnl_TextBoxes.Controls.Add(lblArrXY(x)) 'Adding the TextBox to the Panel that holds the text boxes.
Next
End Sub
End Class
HTML Code:
<%@ Page Title="" Language="VB" MasterPageFile="~/CoilCalcsMaster.master" AutoEventWireup="false" CodeFile="c-fit.aspx.vb" Inherits="c_fit" %>
<%@ Register tagprefix="uc1" Tagname="uc_label_textbox" src="~/Controls/uc_label_textbox.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style5
{
width: 60%;
}
.style6
{
height: 21px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p style="text-align: center">
<span class="style2">Least Squares Curve Fitting</span>
<br class="style2" />
Property of Company</p>
<br />
<table class="style5">
<tr>
<td colspan="2">
<asp:Label ID="lblTitle" runat="server"
Text="Enter the x, y, coordinates of up to 30 data pairs."></asp:Label>
</td>
</tr>
<tr>
<td class="style6">
</td>
<td class="style6">
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblNoDataPrs" runat="server" Text="How many data pairs?"
ViewStateMode="Enabled"></asp:Label></td>
<td>
<asp:TextBox ID="txtNoDataPrs"
runat="server" CssClass="LeftValueColumn"></asp:TextBox>
<asp:Button ID="btnSubmit" runat="server" Text="Submit" />
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
</tr>
</table>
<table class="style5">
<tr>
<td>
<asp:Label ID="lblxy1" runat="server" Text="Enter x & y values " Visible="False"></asp:Label><br />
<asp:Label ID="lblxy2" runat="server" Text="Enter x & y values " Visible="False"></asp:Label><br />
<asp:Label ID="lblxy3" runat="server" Text="Enter x & y values " Visible="False"></asp:Label><br />
<asp:Label ID="lblxy4" runat="server" Text="Enter x & y values " Visible="False"></asp:Label><br />
<asp:Label ID="lblxy5" runat="server" Text="Enter x & y values " Visible="False"></asp:Label><br />
</td>
<td>
<asp:TextBox ID="txtX1" runat="server" Visible="False"></asp:TextBox>
<asp:TextBox ID="txtY1" runat="server" Visible="False"></asp:TextBox><br />
<asp:TextBox ID="txtX2" runat="server" Visible="False"></asp:TextBox>
<asp:TextBox ID="txtY2" runat="server" Visible="False"></asp:TextBox><br />
<asp:TextBox ID="txtX3" runat="server" Visible="False"></asp:TextBox>
<asp:TextBox ID="txtY3" runat="server" Visible="False"></asp:TextBox><br />
<asp:TextBox ID="txtX4" runat="server" Visible="False"></asp:TextBox>
<asp:TextBox ID="txtY4" runat="server" Visible="False"></asp:TextBox><br />
<asp:TextBox ID="txtX5" runat="server" Visible="False"></asp:TextBox>
<asp:TextBox ID="txtY5" runat="server" Visible="False"></asp:TextBox><br />
</td>
</tr>
</table>
<br />
<br />
<asp:Panel ID="Pnl_TextBoxes" runat="server">
</asp:Panel>
</asp:Content>

|
|

August 6th, 2012, 10:34 PM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 81
Thanks: 10
Thanked 3 Times in 2 Posts
|
|
I've got the info to make this work, but I am going to relax the rest of the evenig, and watch Jeff Daniels 'The Newsroom' great show on HBO if you get that. But I will post the finished code tomorrow if anyone is interested in it. Two concepts, one is data persistence, which I thank Imar for showing me a week ago, and then dynamically generating the labels, textboxes, and some literal things. The two jobs I have write now are biding for my time, and I shouldn't complain because work has been tough in Michigan, but you know you guys and gals help me, the least I can do is help back. 
|
|

September 25th, 2012, 02:52 PM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 81
Thanks: 10
Thanked 3 Times in 2 Posts
|
|
I have not forgotten that I would post the code here. I have been very busy programming this summer and I am hoping to finish this project. I had to work on other programs. So when I finish this I will post it.
|
|

October 15th, 2012, 07:26 PM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 81
Thanks: 10
Thanked 3 Times in 2 Posts
|
|
All right I finally have the two files for the Least Squares Curve Fitting. It may seem a bit overwhelming, but it is intuitive, as the buttons and boxes to use appear or are un-enabled as required.
Below is the vb code.
Code:
Imports System.Math
Partial Class c_fit
Inherits System.Web.UI.Page
Private textBoxArrX(30) As TextBox
Private textBoxArrY(30) As TextBox
Private lblArrXY(30) As Label
Private MyLiteral(30) As LiteralControl
Private MyLiteralSpace(30) As LiteralControl
Dim I As Single = 0
Dim L As Single = 0
Dim Q As Single = 6
Dim M As Single = 0
Dim T As Single = 0
Dim G As Single = 0
Dim YV As Single = 0
Dim XV As Single = 0
Dim P(30) As Single
Dim V(30) As Single
Dim N As Integer = 0
Public Property NoDataPrs As Integer
Get
Dim o As Object = ViewState("NoDataPrs")
If Not o Is Nothing Then
Return CType(o, Integer)
Else
Return 0
End If
End Get
Set(ByVal Value As Integer)
ViewState("NoDataPrs") = Value
End Set
End Property
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
If Not Page.IsPostBack Then
Else
End If
' This event happens before any controls are initialized by ASP.NET'
'The ViewState for objects has not been loaded.'
'After this event happens, the ViewState is loaded for each control and the object's properties are filled with the values submitted.'
'Creating the TextBox Objects that are dynamically shown in the web page'
'according to the number selected from a DropDownList'
For x As Integer = 1 To 30
lblArrXY(x) = New Label
lblArrXY(x).ID = "XYlabel" + x.ToString
lblArrXY(x).Text = " x, y values no. " & x & " "
lblArrXY(x).Visible = False 'Initializing the TextBox so that it is not rendered in the browser
Pnl_TextBoxes.Controls.Add(lblArrXY(x)) 'Adding the TextBox to the Panel that holds the text boxes.
textBoxArrX(x) = New TextBox
textBoxArrX(x).ID = "Xvalue" + x.ToString
textBoxArrX(x).Visible = False 'Initializing the TextBox so that it is not rendered in the browser
Pnl_TextBoxes.Controls.Add(textBoxArrX(x)) 'Adding the TextBox to the Panel that holds the text boxes.
MyLiteralSpace(x) = New LiteralControl(" ")
Pnl_TextBoxes.Controls.Add(MyLiteralSpace(x))
textBoxArrY(x) = New TextBox
textBoxArrY(x).ID = "Yvalue" + x.ToString
textBoxArrY(x).Visible = False 'Initializing the TextBox so that it is not rendered in the browser
Pnl_TextBoxes.Controls.Add(textBoxArrY(x)) 'Adding the TextBox to the Panel that holds the text boxes.
' MyPanel.Controls.Add(New LiteralControl("<br>"))
MyLiteral(x) = New LiteralControl("<br>")
Pnl_TextBoxes.Controls.Add(MyLiteral(x))
Next
End Sub
Protected Sub btnCalc_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCalc.Click
Dim str As New StringBuilder
Dim X(30) As Single
Dim Y(30) As Single
Dim R(30) As Single
Dim A(35, 35) As Single
Dim J As Integer
Dim D2 As Integer
D2 = 2 * Val(txtDegPoly.Text)
' Dim N As Integer = 0
' N = Val(txtDegPoly.Text) + 1
For i As Integer = 1 To textBoxArrY.Length - 1
If textBoxArrY(i) IsNot Nothing Then
str.Append(" " + textBoxArrY(i).Text) 'Grabbing the text from the TextBox...remember that at this stage the TextBox's Text property has already been set by ASP.NET according to its ViewState
End If
X(i) = Val(textBoxArrX(i).Text)
Y(i) = Val(textBoxArrY(i).Text)
textBoxArrX(i).Enabled = False
textBoxArrY(i).Enabled = False
Next
Dim NP As Integer
NP = NoDataPrs
If Val(txtDegPoly.Text) < NP Then
D2 = 2 * Val(txtDegPoly.Text)
End If
N = Val(txtDegPoly.Text) + 1
For J = 1 To D2 : P(J) = 0 : For K = 1 To NP
P(J) = P(J) + X(K) ^ J : Next K : Next J : P(0) = NP
R(1) = 0 : For J = 1 To NP : R(1) = R(1) + Y(J)
Next J
If N <> 1 Then
For J = 2 To N : R(J) = 0 : For K = 1 To NP
R(J) = R(J) + Y(K) * X(K) ^ (J - 1)
Next K
Next J
End If
For J = 1 To N
For K = 1 To N
A(J, K) = P(J + K - 2)
Next K
Next J
If N = 1 Then
V(1) = R(1) / A(1, 1)
Else
For K = 1 To (N - 1)
I = K + 1
l = K
If Abs(A(I, K)) > Abs(A(L, K)) Then
l = I
End If
'********************Try this. 01Oct2012
If Abs(A(I, K)) > Abs(A(L, K)) Then
L = I
End If
While I < N
If Abs(A(I, K)) > Abs(A(L, K)) Then
L = I
End If
I = I + 1
End While
'********************Try this. 01Oct2012
' While I < N
'I = I + 1
'If Abs(A(I, K)) > Abs(A(L, K)) Then
'L = I
'End If
'End While
If L <> K Then
For J = K To N
Q = A(K, J)
A(K, J) = A(L, J)
A(L, J) = Q
Next J
Q = R(K)
R(K) = R(L)
R(L) = Q
End If
I = K + 1
Q = A(I, K) / A(K, K) : A(I, K) = 0
For J = K + 1 To N
A(I, J) = A(I, J) - Q * A(K, J)
Next
R(I) = R(I) - Q * R(K)
While I < N
I += 1
Q = A(I, K) / A(K, K) : A(I, K) = 0
For J = K + 1 To N : A(I, J) = A(I, J) - Q * A(K, J) : Next
R(I) = R(I) - Q * R(K)
End While
Next
V(N) = R(N) / A(N, N) : For I = N - 1 To 1 Step -1
Q = 0 : For J = I + 1 To N : Q = Q + A(I, J) * V(J)
V(I) = (R(I) - Q) / A(I, I) : Next : Next
End If
'Showing in a label what was in the TextBoxes
' lbl_message.Text = "message: " + str.ToString ' This was for testing. Leave in, it might help me or the next programmer. BT-01Oct2012
'Clear results so that one can re-enter new Degree of Polynomial. BT-01Oct2012
lblXPowerRslt.Text = ""
lblCoefficientRslt.Text = ""
lblXPower.Text = "X Power "
lblCoefficient.Text = "Coefficient "
For J = 1 To N
lblXPowerRslt.Text = lblXPowerRslt.Text & (J - 1).ToString & "<BR />"
lblCoefficientRslt.Text = lblCoefficientRslt.Text & V(J) & "<BR />"
Next J
'Print last statement of the first set of results after a few calculations. BT-01Oct2012
Q = 0 : For J = 1 To NP : Q = Q + Y(J) : Next : M = Q / NP : T = 0 : G = 0
For J = 1 To NP : Q = 0 : For K = 1 To N : Q = Q + V(K) * X(J) ^ (K - 1) : Next
T = T + (Y(J) - Q) ^ 2 : G = G + (Y(J) - M) ^ 2 : Next
If G = 0 Then
T = 100
Else
T = 100 * Sqrt(1 - T / G)
End If
'Now print 'Percent Goodness of fit'
lblPercentGoodness.Visible = True
lblPercentGoodness.Text = "Percent goodness of fit = " & T.ToString
'Now the last part, do you want individual y values for entered x values?
lblMorePoints.Visible = True
MorePoints.Visible = True
End Sub
Protected Sub btnSubmitNoDatPoints_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmitNoDatPoints.Click
NoDataPrs = 1
NoDataPrs = Val(txtNoDataPrs.Text)
Dim count As Integer = 0
' This event happens before any controls are initialized by ASP.NET'
'The ViewState for objects has not been loaded.'
'After this event happens, the ViewState is loaded for each control and the object's properties are filled with the values submitted.'
'Creating the TextBox Objects that are dynamically shown in the web page'
'according to the number selected from a DropDownList'
For j As Integer = 1 To NoDataPrs
lblArrXY(j).Visible = True 'Initializing the TextBox so that it is not rendered in the browser
textBoxArrX(j).Visible = True 'Initializing the TextBox so that it is not rendered in the browser
textBoxArrY(j).Visible = True 'Initializing the TextBox so that it is not rendered in the browser
textBoxArrX(j).CssClass = "LeftValueColumn"
textBoxArrY(j).CssClass = "LeftValueColumn"
textBoxArrX(j).Width = "50"
textBoxArrY(j).Width = "50"
lblDegPoly.Text = "Enter Degree of Polynomial to be fitted. (0 to 4)"
lblDegPoly.Visible = True
txtDegPoly.Visible = True
Next
txtNoDataPrs.Enabled = False
btnSubmitNoDatPoints.Enabled = False
btnCalc.Enabled = True
End Sub
Protected Sub MorePoints_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles MorePoints.SelectedIndexChanged
If MorePoints.SelectedIndex = 0 Then
txtXValue.Visible = True
btnCalculateY.Visible = True
Else
txtXValue.Visible = False
btnCalculateY.Visible = False
End If
End Sub
Protected Sub btnCalculateY_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCalculateY.Click
XV = Val(txtXValue.Text)
YV = 0 : For K = 1 To N
YV = YV + V(K) * XV ^ (K - 1) : Next
lblXYResult.Visible = True
lblXYResult.Text = lblXYResult.Text & "x = " & XV.ToString & " y = " & YV.ToString & "<BR />"
'Clear the x value so it can be used again. BT-01Oct2012
txtXValue.Text = ""
End Sub
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
Else
V = ViewState("V")
N = ViewState("N")
End If
End Sub
Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender
ViewState("V") = V
ViewState("N") = N
End Sub
End Class
Below is the aspx code, make changes in the opening lines.
HTML Code:
<%@ Page Title="" Language="VB" MasterPageFile="~/interpower/MasterPages/CoilCalcsMaster.master" AutoEventWireup="false" CodeFile="c-fit.aspx.vb" Inherits="c_fit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style5
{
width: 80%;
}
.style6
{
height: 21px;
}
.style7
{
width: 105px;
}
.style8
{
height: 21px;
width: 105px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<p style="text-align: center">
<span class="style2">Least Squares Curve Fitting</span>
<br class="style2" />
Company Name</p>
<br />
<table class="style5">
<tr>
<td colspan="2">
<asp:Label ID="lblTitle" runat="server"
Text="Enter the x, y, coordinates of up to 30 data pairs."></asp:Label>
</td>
<td>
</td>
<td class="style7">
</td>
</tr>
<tr>
<td class="style6">
</td>
<td class="style6">
</td>
<td class="style6">
</td>
<td class="style8">
</td>
</tr>
<tr>
<td>
<asp:Label ID="lblNoDataPrs" runat="server" Text="How many data pairs?"
ViewStateMode="Enabled"></asp:Label></td>
<td>
<asp:TextBox ID="txtNoDataPrs"
runat="server" CssClass="LeftValueColumn"></asp:TextBox>
<asp:Button ID="btnSubmitNoDatPoints" runat="server"
Text="Submit" />
</td>
<td>
<asp:Label ID="lbl_message" runat="server"></asp:Label>
</td>
<td class="style7">
</td>
</tr>
<tr>
<td class="style6">
<asp:Label ID="lblDegPoly" runat="server" Text="Label" Visible="False"></asp:Label>
</td>
<td class="style6">
<asp:TextBox ID="txtDegPoly" runat="server" CssClass="LeftValueColumn"
style="margin-left: 0px" Visible="False"></asp:TextBox>
</td>
<td class="style6">
<asp:Button ID="btnCalc" runat="server" Text="Least Squares Curve Fitting "
Enabled="False" Width="221px" /></td>
<td class="style8">
</td>
</tr>
<tr>
<td class="style6">
</td>
<td class="style6">
<asp:Label ID="lblXPower" runat="server"></asp:Label>
</td>
<td class="style6">
<asp:Label ID="lblCoefficient" runat="server"></asp:Label>
</td>
<td class="style8">
</td>
</tr>
<tr>
<td class="style6">
</td>
<td class="style6">
<asp:Label ID="lblXPowerRslt" runat="server"></asp:Label>
</td>
<td class="style6">
<asp:Label ID="lblCoefficientRslt" runat="server"></asp:Label>
</td>
<td class="style8">
</td>
</tr>
<tr>
<td class="style6">
</td>
<td class="style6" colspan="2">
<asp:Label ID="lblPercentGoodness" runat="server" Visible="False"></asp:Label>
</td>
<td class="style8">
</td>
</tr>
<tr>
<td class="style6">
</td>
<td class="style6">
<asp:Label ID="lblMorePoints" runat="server"
Text="Would you like to enter more points?" Visible="False"></asp:Label>
</td>
<td class="style6">
</td>
<td class="style8">
</td>
</tr>
<tr>
<td class="style6">
</td>
<td class="style6">
<asp:RadioButtonList ID="MorePoints" runat="server" Visible="False"
AutoPostBack="True">
<asp:ListItem>Yes</asp:ListItem>
<asp:ListItem>No</asp:ListItem>
</asp:RadioButtonList>
</td>
<td class="style6">
<asp:TextBox ID="txtXValue" runat="server" Visible="False"
CssClass="LeftValueColumn" Width="50px"></asp:TextBox>
<asp:Button ID="btnCalculateY" runat="server" Text="Calculate Y value"
Visible="False" />
</td>
<td class="style8">
<asp:Label ID="lblXYResult" runat="server" Visible="False"></asp:Label>
</td>
</tr>
<tr>
<td class="style6">
</td>
<td class="style6">
</td>
<td class="style6">
</td>
<td class="style8">
</td>
</tr>
</table>
<br />
<br />
<asp:Panel ID="Pnl_TextBoxes" runat="server">
</asp:Panel>
<br />
<br />
<br />
</asp:Content>
|
|
 |