Re: Textbox Tooltip altered by javascript is not seen by code to save it
- From: "john" <none@xxxxxxxx>
- Date: Sun, 20 Apr 2008 05:44:38 -0400
Thanks for the info, I was originally using the Hidden fields in that way
but because this is a Time *** Datalist and they want 16 Textboxes for
Input per row. I am getting slower Browser performance with each new row
added to the Datalist and with a Hidden Field for each of those to store a
Memo for each Textbox was Doubling my Control overload.
So I was trying to eliminate those as it did help performance when I did, is
there any way to do a Request to the Browser for the ToolTip(title)
Attribute or another way that is efficient. Right now I'm thinking a
JavaScript Array if I can't get to the altered ToopTip, but not sure how to
get the data in the Javascript Array back on the server?
Thanks
"bruce barker" <nospam@xxxxxxxxxx> wrote in message
news:uMEVYZqoIHA.4112@xxxxxxxxxxxxxxxxxxxxxxx
the browser does not postback the tooltip value. you will need the
javascript to copy it to a hidden field.
-- bruce (sqlwork.com)
john wrote:
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
.
- Follow-Ups:
- Re: Textbox Tooltip altered by javascript is not seen by code to save it
- From: bruce barker
- Re: Textbox Tooltip altered by javascript is not seen by code to save it
- References:
- Prev by Date: Re: Multiple config files
- Next by Date: Re: Anything Wrong With "preloading" Assemblies?
- Previous by thread: Re: Textbox Tooltip altered by javascript is not seen by code to save it
- Next by thread: Re: Textbox Tooltip altered by javascript is not seen by code to save it
- Index(es):