Use Message control client side?
We've created a comprehensive CRM app using the SF framework. Within the app, we've been using the Telerik.Sitefinity.Web.UI.Message control to provide validation type messages.
Recently, we've created a user control where the data entry validation is completely client side (no postback or server side validation). We want to use the same Message control but need to set the message client side using javascript or jquery. Is this possible and if so is there any client side api available or will we have to inject the message ourselves to get the same behavior?
Thanks in advance...Jeremy Bayless Grimco
Hi Jeremy,
The Message control has a MessageText property which gets or sets the message text of the control:
<
sf:Message
runat
=
"server"
ID
=
"message"
ElementTag
=
"div"
CssClass
=
"sfMessage"
MessageText
=
""
RemoveAfter
=
"10000"
>
</
sf:Message
>