Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
How to bind dynamic text to unboundfield label?
posted

Hi
Can you please help me with the below scenario?

Right now the unboundfield label values are hard-coded but I want to
bind the label text with the combo box selected value(year).

Current hard coded Values:
Label="2010 Annual Account Spend"
Label="2011 Annual Account Spend"  Label="2012 Annual Account Spend"   
Expected Value:
I want to take the year selected in combo box and append it to
"Annual Account Spend" text and display it in the column header.
 
 
<igDP:UnboundField Name="PrevYearCustomerSpend"
Label
="2010 Annual Account Spend"
BindingPath
="PreviousYearServiceBudget.AnnualSpend"
 Visibility
="Collapsed">   <igDP:UnboundField.Settings>    <igDP:FieldSettings EditAsType="{x:Type sys:Decimal}" AllowEdit="False" EditorStyle="{StaticResource CurrencyEditorStyle}">      <igDP:FieldSettings.LabelPresenterStyle >        <Style TargetType="{x:Type igDP:LabelPresenter}">         <Setter Property="ToolTip" Value="Annual account spend for a single mode/service. This is more than just the total spend with CHRW." />        </Style>   </igDP:FieldSettings.LabelPresenterStyle> </igDP:FieldSettings>  </igDP:UnboundField.Settings> </igDP:UnboundField>


Thank you!
Parents
No Data
Reply
  • 138253
    Offline posted

    Hello,

     

    I am just checking if you got this worked out or you still require any assistance or clarification on the matter.

Children