first off - let me say that I'm not using VS.Net - all Inline coding ....
I have a form (using tabstrip) that has a couple of sections - -
CustInfo
BillingCustInfo
I want the name, address, etc to be duplicated from the Custinfo section, to
the Billing Section automatically, for each field....(naturally, allowing
editing at a later point, when necessary)
SO - I added a Subroutine, to do this using the onTextChanged Event, when
the textbox loses focus:
Sub doTextChange(sFrom as TextBox, sTo as TextBox)
sTo.Text=sFrom.Text
End Sub
Then, - thinking more simply than I should, adding:
OnTextChanged="doTextChanged(txtCustName, txtBLNGCustName)"
however, I get the following error:
Sub doTextChange(sFrom As System.Web.UI.WebControls.TextBox, sTo As
System.Web.UI.WebControls.TextBox)'
does not have the same signature as delegate 'Delegate Sub
EventHandler(sender As Object, e As System.EventArgs)'
If figured this would be an easy way to populate sections, field by field,
with minimal coding - - but I guess I was wrong
Can someone help me learn what it takes to get something like this working?