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.
Unfortunately, activation email could not send to your email. Please try again.

Error using SfGridSplitter on Windows Phone

Thread ID:

Created:

Updated:

Platform:

Replies:

117455 Oct 24,2014 03:28 AM Oct 27,2014 12:39 AM WinRT 2
loading
Tags: SfGridSplitter
Esteban
Asked On October 24, 2014 03:28 AM

I have a very simple page, on Windows Phone using SfGridSplitter Universal Control; without any code, only in design view I have this:

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="0.5*" MinHeight="50"/>
            <RowDefinition Height="25"/>
            <RowDefinition Height="0.5*" MinHeight="50"/>
        </Grid.RowDefinitions>
        <Rectangle Grid.RowSpan="3" Fill="LightGray" Opacity="0.2"/>
        <Grid Grid.Row="0">
            <WebView Source="http://www.google.com" />
        </Grid>
        <Input:SfGridSplitter Grid.Row="1" VerticalAlignment="Stretch" ShowsPreview="False" EnableCollapseButton="True" />
        <Grid Grid.Row="2">
            <WebView Source="http://www.bing.com" />
        </Grid>
    </Grid>
 
This code it's based on sample on SampleBrowser_2013 project.

When render on emulator all it's right, but when I try to move the split I get this error:

 System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
 Parameter name: index
    at System.Runtime.InteropServices.WindowsRuntime.VectorToListAdapter.Indexer_Get[T](Int32 index)
    at Syncfusion.UI.Xaml.Controls.Input.SfGridSplitter.OnElementVisibilityChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
    at Windows.UI.Xaml.DependencyObject.SetValue(DependencyProperty dp, Object value)
    at Syncfusion.UI.Xaml.Controls.Input.SfGridSplitter.set_
   
This XAML code run right on Windows 8.1 project.
Why fails on Windows Phone?
Thanks you

Esteban
Replied On October 24, 2014 03:32 AM

I answer to myself, I've seen what the problem was:

I have to change for VerticalAlignment to HorizontalAlignment

Thank you

Victory Jessie Selvam D [Syncfusion]
Replied On October 27, 2014 12:39 AM

Hi Esteban,

Thank you for using Syncfusion products.

We are happy to hear that your problem is resolved finally at your side.

Please let us know if you have any other queries.

Thanks,
Jessie

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.

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.

;