We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

sfDataGrid inside Popup

Thread ID:

Created:

Updated:

Platform:

Replies:

115505 Jan 20,2014 11:19 PM UTC Jan 23,2014 02:56 PM UTC WinRT 5
loading
Tags: General
Jeremy Shore NO LONGER WITH COMPANY
Asked On January 20, 2014 11:19 PM UTC

I am creating a DataGrid in xaml inside of a popup that will later be opened. I have it set up inside of the child property in XAML and the project compiles. However, when I call to set the isOpen of the Popup I am getting an exception message of 

System.OverflowException: Value was either too large or too small for a Decimal.
   at System.Decimal..ctor(Double value)
   at System.Convert.ToDecimal(Double value)
   at Syncfusion.UI.Xaml.ScrollAxis.DistanceLineCounter.Combine(DistanceLineCounter other, Int32 cookie)
   at Syncfusion.UI.Xaml.ScrollAxis.DistanceLineCounter.Syncfusion.UI.Xaml.Collections.ITreeTableCounter.Combine(ITreeTableCounter other, Int32 cookie)
   at Syncfusion.UI.Xaml.Collections.TreeTableWithCounterBranch.GetCounterTotal()

and the exception is "Value was either too large or too small for a Decimal."

Is this a bug in my code or is this an issue that you can replicate?

Thanks

Jeremy Shore NO LONGER WITH COMPANY
Replied On January 21, 2014 03:46 PM UTC

I found what causes it to help you replicate it. If you place a sfDataGrid inside of a popup and then set up your columns with a GridTemplateColumn with the ColumnSizer as star then it throws this exception when you try to open the Popup.

Is there another way to make the column take up the whole area?

Jai Ganesh S [Syncfusion]
Replied On January 22, 2014 05:03 PM UTC

Hi Jeremy,

 

Thanks for using Syncfusion products.

We have analyzed the reported issue with our sample; we are unable to reproduce the issue. Could you please revert us by modifying the sample based on your application along with the replication procedure. This would be helpful for us to assist you better.

Sample: SfDataGridPopupSample.zip

Please let us know if you have any queries.

 

Thank you,

Jai Ganesh S


Jeremy Shore NO LONGER WITH COMPANY
Replied On January 22, 2014 06:09 PM UTC

That is a wpf project. This is a problem with the WinRT controls. 

Jai Ganesh S [Syncfusion]
Replied On January 23, 2014 11:53 AM UTC

Hi Jeremy,

 

Thanks for your update.

 

We are able to reproduce the issue and we have already logged the issue report for this. We will fix this issue and include in our upcoming next release. Please follow up with the incident (118344) for further updates.

 

Please let us know if you need further assistance.

 

Thank you,

Jai Ganesh S


Jai Ganesh S [Syncfusion]
Replied On January 23, 2014 02:56 PM UTC

Hi Jeremy,

 

We are able to reproduce the issue and we have already logged the issue report for this. We will fix this issue and include in our upcoming service pack release which will be available in end of this month. We appreciate your patience until then, please follow up with the incident 118344 that we have created  for you under your Direct Trac Account for further updates.

 

Please let us know if you need further assistance.

 

Thank you,

Jai Ganesh S


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;