I have a grid in a silverlight page and generating columns dynamically differently on two button.
In one button click event I am creating 2 rows and 5columns and displaying data in dynamic Textblock in each column and on another button click I am creating 2 rows and 30 columns and displaying data .
But it is giving data from both the button. means it is showing data created on 1 click button and of second button.
I want to clear all the record of previous data generated and new record should be shown on each click event.