BoldDeskBoldDesk is now live on Product Hunt with a special offer: 50% off all plans. Let's grow together! Support us.
MyChartUserControl uc = new MyChartUserControl();
WriteableBitmap wbmp = new WriteableBitmap(691, 336);
wbmp.Render(uc, null);
wbmp.Invalidate();
using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForApplication())
{
using (IsolatedStorageFileStream imageStream = new IsolatedStorageFileStream(TILE_IMAGE_PATH, System.IO.FileMode.Create, isf))
{
wbmp.SaveJpeg(imageStream, wbmp.PixelWidth, wbmp.PixelHeight, 0, 100);
}
}
// Update tile image
// .......
Hi Peni,
We have analyzed the
reported issue and we are unable to reproduce the issue. Can you please check with
the sample in the following location? If still you face the problem, please
revert us by modifying the sample based on your application along with
replication procedure. This would be helpful for us to serve you.
Please let us know if you have any queries.
Thanks,
Mohammed Azarudeen.
Hi Peni,
Thanks for your update.
We have analyzed the reported issue and we could not find the issue in our control. We suspect that, the issue may be framework issue. The Item source does not bind while bitmap renders the new instance of User Control. We have modified your code with Microsoft control and able to reproduce the issue with Microsoft control. Please find the sample in the below location.
Please let us know if you require further assistance on this.
Regards,
M. Sheik