RadInputManager Translation/Globalization

2 posts, 0 answers
  1. Philippe GRACA
    Philippe GRACA avatar
    35 posts
    Member since:
    Nov 2003

    Posted 16 Mar 2009 Link to this post

    I'm trying to translate one of my web pages and I've some troubles with the RadInputManager

    <telerik:RadInputManager ID="rim" runat="server"
      <telerik:TextBoxSetting EmptyMessage='<%#GetLocalResourceObject("resourceName")%>' BehaviorID="efn"
        <Validation IsRequired="true" /> 
          <telerik:TargetInput ControlID="txtName" /> 

    This is causing an error

    System.Web.HttpParseException: Databinding expressions are only supported on objects that have a DataBinding event.
    Telerik.Web.UI.TextBoxSetting does not have a DataBinding 

    How can I use resources in the RadInputManager?

    As of now, i'm doing this
     rim.GetSettingByBehaviorID("efn").EmptyMessage = GetLocalResourceObject("resourceName").ToString(); 

  2. Yavor
    Yavor avatar
    11 posts

    Posted 19 Mar 2009 Link to this post

    Hi Philippe,

    Although I suspect that there is a problem with the way the resource is retrieved, based on this information it is hard to determine what is causing the issue. If the problem persists, you can open a formal support ticket, and send us a small working project, demonstrating your logic, along with the issue.  We will review it locally, and advise you further.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top