Skip to Content

Selecting data model dynamically

I have made a combobox where in years are provide as items(eg:-2014,2015,2016) . Now if user selects 2014 then according to that the data model should be selected and the panels should receive the data of year 2014 . Similarly if 2015 is selected then data model for 2015 should be selected and same for 2016 .

By default when we initialize the data for 2015 is available So if on change event of combobox if 2014 is selected then data for that year should be available. I tried to implement this by calling a function on the change event of combo box . and in that function if year 2014 is selected then the datamodel for 2104 is set for those TileContainer . But it did not work.

Can anyone suggest me some way to solve my problem?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Apr 05, 2016 at 01:41 PM
    Add comment
    10|10000 characters needed characters exceeded