This is a migrated thread and some comments may be shown as answers.

RadInputManager Translation/Globalization

1 Answer 75 Views
Input
This is a migrated thread and some comments may be shown as answers.
Philippe GRACA
Top achievements
Rank 1
Philippe GRACA asked on 16 Mar 2009, 09:06 AM
Hi
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" /> 
    <TargetControls> 
      <telerik:TargetInput ControlID="txtName" /> 
    </TargetControls> 
  </telerik:TextBoxSetting> 
</telerik:RadInputManager> 

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 
event 

How can I use resources in the RadInputManager?

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

Regards
Philippe

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 19 Mar 2009, 08:28 AM
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,
Yavor
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.
Tags
Input
Asked by
Philippe GRACA
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or