J
john
I have the following textbox setup with Text & ToolTip Bindings as follows;
I'm using Visual Studio 2008 VB:
<asp:TextBox ID="txtDay1" runat="server"
Text='<%# Eval("Day1") %>' Width="30px"
ToolTip='<%# Eval("M1") %>'></asp:TextBox>
I am changing the Text on the page by Typing it in, but the ToolTip is being
changed from another Textbox thru javascript as a memo to the first TextBox,
which is working on the page to change the ToolTip when moused over.
Problem I am having is when I try to save the new ToolTip text in my VB code
it is still seeing the original Evaluation and not the new altered ToolTip
Text, this is in a Datalist Control
Here is the VB Code, the change to the Text of the TextBox is being picked
up by this code, just not the tooltip(Code Simplified).
Dim D As TextBox = Me.DataListTime.Items.Item(i).FindControl("txtDay1")
..Day1 = D.Text 'Sees Changes Okay
..M1 = D.ToolTip 'Only sees Original, not changes thru javascript
Thanks for any help
John
I'm using Visual Studio 2008 VB:
<asp:TextBox ID="txtDay1" runat="server"
Text='<%# Eval("Day1") %>' Width="30px"
ToolTip='<%# Eval("M1") %>'></asp:TextBox>
I am changing the Text on the page by Typing it in, but the ToolTip is being
changed from another Textbox thru javascript as a memo to the first TextBox,
which is working on the page to change the ToolTip when moused over.
Problem I am having is when I try to save the new ToolTip text in my VB code
it is still seeing the original Evaluation and not the new altered ToolTip
Text, this is in a Datalist Control
Here is the VB Code, the change to the Text of the TextBox is being picked
up by this code, just not the tooltip(Code Simplified).
Dim D As TextBox = Me.DataListTime.Items.Item(i).FindControl("txtDay1")
..Day1 = D.Text 'Sees Changes Okay
..M1 = D.ToolTip 'Only sees Original, not changes thru javascript
Thanks for any help
John