This question is locked. New answers and comments are not allowed.
Hi,
We are facing a problem with a GridViewRow style causing our silverlight application to crash when run in a certain version of silverlight.
First, the technical information. We are developing using the Telerik Q3 2011 SP1 release. We are also using the Silverlight 4 SDK version 4.0.50826.0. The computer that is facing this crash is running Silverlight client version 4.0.50917.0.
Now, here is the issue. Within our application, we have a XAML page containing various styles for our different controls. We recently added the following style to that page:
We have then added the appropriate style links to each RadGridView that this style is used for. The code was installed so that we could monitor the hierarchies we are displaying, hiding the expansion button if an object has no children as well as noting which items are expanded so that if the page is refreshed we can re-expand everything back to their former state.
When we run and test this code on our development machines, it works just fine. I should note that on our development machines, we each have the Silverlight 5 client installed. In this environment, everything works fine.
When this code is run on a client machine using the Silverlight 4 client noted above, it causes the application to crash. We receive a generic Silverlight 2103 error when the application is trying to load, and then nothing else happens. If we comment out the two Setter Property lines in the above style, the application will then load just fine even under that Silverlight 4 client.
Is this a Telerik bug, or a Silverlight client bug? Our client is a government agency that is constrained to using Silverlight 4 (of the specific version I mentioned) so having them upgrade to Silverlight 5 is not an option. Are there any possible solutions that you would suggest?
Thank you,
Jason
We are facing a problem with a GridViewRow style causing our silverlight application to crash when run in a certain version of silverlight.
First, the technical information. We are developing using the Telerik Q3 2011 SP1 release. We are also using the Silverlight 4 SDK version 4.0.50826.0. The computer that is facing this crash is running Silverlight client version 4.0.50917.0.
Now, here is the issue. Within our application, we have a XAML page containing various styles for our different controls. We recently added the following style to that page:
<
Style
TargetType
=
"telerik:GridViewRow"
x:Key
=
"RadGridViewRowStyle"
>
<
Setter
Property
=
"IsExpandable"
Value
=
"{Binding IsExpandable}"
/>
<
Setter
Property
=
"IsExpanded"
Value
=
"{Binding IsExpanded, Mode=TwoWay}"
/>
</
Style
>
We have then added the appropriate style links to each RadGridView that this style is used for. The code was installed so that we could monitor the hierarchies we are displaying, hiding the expansion button if an object has no children as well as noting which items are expanded so that if the page is refreshed we can re-expand everything back to their former state.
When we run and test this code on our development machines, it works just fine. I should note that on our development machines, we each have the Silverlight 5 client installed. In this environment, everything works fine.
When this code is run on a client machine using the Silverlight 4 client noted above, it causes the application to crash. We receive a generic Silverlight 2103 error when the application is trying to load, and then nothing else happens. If we comment out the two Setter Property lines in the above style, the application will then load just fine even under that Silverlight 4 client.
Is this a Telerik bug, or a Silverlight client bug? Our client is a government agency that is constrained to using Silverlight 4 (of the specific version I mentioned) so having them upgrade to Silverlight 5 is not an option. Are there any possible solutions that you would suggest?
Thank you,
Jason