9/18/2012 1:11:33 PM
7207
Reputation
956
Total posts
Sorry, I didn't see your second post. I would recommend you to use more lightweight jQuery packages for such purposes. For example, we are using the watermark functionality in the WallNotes module, you just need to register the same script
JavascriptUtility.RegisterClientScriptInclude(
this
.Page, Paths.MonoX.Scripts.jquery_watermarktext_js);
In our case, each input element with the CSS class "jq_swap_value". All you have to do is to check if the textbox is empty in the PreRender event and assign the watermark value to that field:
if
(String.IsNullOrEmpty(txtInput.Text))
txtInput.Text = SocialNetworkingResources.WallNotes_WatermarkText;
Rating history (Content is rated 0.00 of 0 vote(s).)
Shows who have rated the content, and the rating score.