Home All Groups Group Topic Archive Search About
Author
8 Nov 2005 10:30 AM
Tumurbaatar S.
Anybody can recommend me a simple/short way to customize
a status text of LinkButton. I heavely use LinkButtons and a default
Javascipt code appearing at a browser's status bar looks not good.

Author
8 Nov 2005 2:10 PM
S.M. Altaf [MVP]
Hi,
You can use codebehind to add an attribute.

Hyl1.Attributes.Add("onMouseOver","window.status='something';")
Hyl1.Attributes.Add("onMouseOut","window.status='';")

HTH
Altaf
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com


Show quoteHide quote
"Tumurbaatar S." <spam_tumur@magicnet.mn> wrote in message
news:OVz4J$E5FHA.692@TK2MSFTNGP11.phx.gbl...
> Anybody can recommend me a simple/short way to customize
> a status text of LinkButton. I heavely use LinkButtons and a default
> Javascipt code appearing at a browser's status bar looks not good.
>
Author
19 Nov 2005 7:28 PM
Tumurbaatar S.
Strange... it does not work!
I checked DHTML Ref and it seems it should work as you tell.
But my IE6's status bar still shows "javascript:__doPost...".
Below is HTML source fragment I copied from IE's Source View:

<a id="CancelBtn" class="flow_pad" onmouseover="window.status='Cancel';"
onmouseout="window.status='';"
href="javascript:__doPostBack('CancelBtn','')">Cancel</a>

What is wrong?


Show quoteHide quote
"S.M. Altaf [MVP]" <smaltaf@PLEASEDONTSPAMMEmsn.com> wrote in message
news:OiL2V4G5FHA.3628@TK2MSFTNGP10.phx.gbl...
> Hi,
> You can use codebehind to add an attribute.
>
> Hyl1.Attributes.Add("onMouseOver","window.status='something';")
> Hyl1.Attributes.Add("onMouseOut","window.status='';")
>
> HTH
> Altaf
> --------------------------------------------------------------------------------
> All that glitters has a high refractive index.
> www.mendhak.com
>
>
> "Tumurbaatar S." <spam_tumur@magicnet.mn> wrote in message
> news:OVz4J$E5FHA.692@TK2MSFTNGP11.phx.gbl...
>> Anybody can recommend me a simple/short way to customize
>> a status text of LinkButton. I heavely use LinkButtons and a default
>> Javascipt code appearing at a browser's status bar looks not good.
>>
>
>