Hi,
I'm using Ajaxcontroltoolkit using VS2010 C#.
for the control 'TextBoxWatermarkExtender', it works very well at my own computer. I mean F5 or ctrl+F5, run from my computer.
but the problem is if i publish my project to sever then access the server, the watermark function works but looks like only the 'css' for the watermark does not work. but except the css for watermark, all other css applied to whole page works well from server.
first pic show what the watermark should be (run from my computer)
second pic show what it is when access from server.
(I tried put my screen capture here but i have not enough reputation so...
I paste the pic in my FB, hope you can access to it [the pic I would show](https://www.facebook.com/nemo.chen.71/media_set?set=a.10206929604229395.1073741831.1556842430&type=3)
)
And I would paste my code here.
```
<asp:TextBox ID="TB_desp" runat="server" Width="166px"></asp:TextBox><br />
<cc1:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" runat="server" TargetControlID="TB_desp"
WatermarkText="Group description" WatermarkCssClass="watermarked" />
```
the css:
```
.watermarked
{
height: 20px;
width: 150px;
padding: 2px 0 0 2px;
border: 1px solid #BEBEBE;
background-color: #F0F8FF;
color: gray;
}
```
and my 'site.Master' head
```
<head runat="server">
<title>Instrument Management System</title>
<link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder ID="HeadContent" runat="server" >
</asp:ContentPlaceHolder>
</head>
```
I need your help. thank you :)
I'm using Ajaxcontroltoolkit using VS2010 C#.
for the control 'TextBoxWatermarkExtender', it works very well at my own computer. I mean F5 or ctrl+F5, run from my computer.
but the problem is if i publish my project to sever then access the server, the watermark function works but looks like only the 'css' for the watermark does not work. but except the css for watermark, all other css applied to whole page works well from server.
first pic show what the watermark should be (run from my computer)
second pic show what it is when access from server.
(I tried put my screen capture here but i have not enough reputation so...
I paste the pic in my FB, hope you can access to it [the pic I would show](https://www.facebook.com/nemo.chen.71/media_set?set=a.10206929604229395.1073741831.1556842430&type=3)
)
And I would paste my code here.
```
<asp:TextBox ID="TB_desp" runat="server" Width="166px"></asp:TextBox><br />
<cc1:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" runat="server" TargetControlID="TB_desp"
WatermarkText="Group description" WatermarkCssClass="watermarked" />
```
the css:
```
.watermarked
{
height: 20px;
width: 150px;
padding: 2px 0 0 2px;
border: 1px solid #BEBEBE;
background-color: #F0F8FF;
color: gray;
}
```
and my 'site.Master' head
```
<head runat="server">
<title>Instrument Management System</title>
<link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder ID="HeadContent" runat="server" >
</asp:ContentPlaceHolder>
</head>
```
I need your help. thank you :)