|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
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. 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. > 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. >> > >
Error in DataList test query - aspnet 2.0
getting Membership userid to use and store in a custom database Gridview Updates not writing to database after clicking update Datagrid paging I lose my sort Dynamically Adding DataLists Custom DropDownList Control and ListItem FormView DataBinding in Insert mode Hyperlink Control Sorting only certain columns in datagrid Enter Key posts the Page |
|||||||||||||||||||||||