Use Message control client side?

Posted by Community Admin on 04-Aug-2018 16:56

Use Message control client side?

All Replies

Posted by Community Admin on 29-May-2015 00:00

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

Posted by Community Admin on 03-Jun-2015 00:00

Hi Jeremy,

The Message control has a MessageText property which gets or sets the message text of the control: 

    RemoveAfter="10000" >

What I can suggest is that you use javascript to get the control and set its property to the desired value.

Sabrie Nedzhip
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items

This thread is closed