DataGrid giving error and getting invisible whenever some elements visibility is changed

Posted by Tarun on Stack Overflow See other posts from Stack Overflow or by Tarun
Published on 2010-04-07T05:41:02Z Indexed on 2010/04/07 5:43 UTC
Read the original article Hit count: 399

Filed under:
|
|

I have a datagrid in which i have textblocks as one column.Then in the next column i have progress bar over which there is a textblock.On loading row of datagrid,i add these three into lists of textblock and progressbar.I start the first progress bar and after 15-20 minutes next progress bar is started.The next progress bar is getting started fine and after 20 minutes it is getting invisible.The problem is that if i try to make textblock invisible,then the whole Datagrid gets invisible and stops working.After all the tasks in the Datagrid are complete i need to make DataGrid invisible and also when i try to do so,the grid becomes invisible and no other event gets fired....

e.g

List txtlist=new List();

i=1;

txtlist[i].Visibility=Visibility.Collapsed;

© Stack Overflow or respective owner

Related posts about silverlight-3.0

Related posts about Silverlight