More in this section

Forums / Developing with Sitefinity / Passing current language to Custom Widget

Passing current language to Custom Widget

2 posts, 0 answered
  1. F
    F avatar
    3 posts
    Registered:
    26 Mar 2012
    08 Apr 2012
    Link to this post
    Hi,

    I have a multi lingual site, and I have a custom widget (which is a simple table), but I need to keep the widget multi lingual, so depending on which language of the page you are looking at, the widget language changes.
    Right now I am passing the language manually using a literal (so in widget properties there is a language field), but I would rather have the current language passed automatically to the widget.
    Is that possible?
  2. F
    F avatar
    3 posts
    Registered:
    26 Mar 2012
    10 Apr 2012
    Link to this post
    I have a RadDatePicker control within my custom widget, and that is picking up the language automatically, which means the page is passing the language implicitly to the rad control, so this should be easily doable. Awaiting your response.
2 posts, 0 answered