User Profile & Activity

Yudi Member
Page
of 259
Posted: April 30, 2015 9:49 AM

Xamarin precludes the use of System.Data.SqlClient for license holders of an Indie license. This currently makes it impossible for Indie license holders to access SQLite on their Android/iOS device.

Please let me know if you have other thoughts.

Posted: April 30, 2015 8:49 AM

The snippet code below shows how to customize the color of page indicator within carousel view in Android.

protected override void InitializeView()
{
    base.InitializeView();

    BulletPageIndicator pageIndicator = this.PageIndicator as BulletPageIndicator;
    if (pageIndicator != null)
    {
        // counterpart of CurrentPageIndicatorColor in Android
        pageIndicator.SetFillColor(Color.Green);

        // counterpart of PageIndicatorColor in Android
        pageIndicator.SetPageColor(Color.Red);
    }
}

Hope this helps.

Posted: April 30, 2015 7:03 AM
iOS and Android: I have a single marker placed on the map. Initially this marker is the center point of the map. The marker has a belonging info window. How can I initially show/open this info window? Right now the info window opens when clicking on the marker.

Currently there is no way to initially show/open info window. I will have this forwarded to Crosslight development team. The team will check the feasibility to implement this on the upcoming version of Crosslight.

iOS and Android: Is there a chance to get a turn by turn driving description of a route (text)?

Such feature is not available yet in the current version of Crosslight. I will have this forwarded to Crosslight development team. The team will check the feasibility to implement this on the upcoming version of Crosslight.

iOS and Android: In the view (ViewController or Activity/Fragment) there is an override (InfoWindowLayoutId). Settings the to "0" shows another info window as by default. How many layout ids are there for the info window? Where can I find a desciption about that an how these info windows look like?

Override InfoWindowLayoutId only applied to Android platform. InfoWindowLayoutId allows developer to use custom layout for the info window of a marker.

In order to use the default InfoWindowLayout - the native layout of info window -, we need to override InfoWindowLayoutId and return 0.

protected override int InfoWindowLayoutId
{
    get { return 0; }
}

The info window of Simple Marker in Crosslight MapSamples shows this behavior.

When not overriden, the info window will use Crosslight's info window layout. Custom Marker in Crosslight MapSamples uses Crosslight's info window layout, such as shown in the following screenshot.

You can also use your own custom layout for the info window. Just create the custom layout; override InfoWindowLayoutId; and return the custom layout.

Example:

protected override int InfoWindowLayoutId
{
    get { return Resource.Layout.mapinfowindowlayout; }
}

Note: I enclose the mapinfowindowlayout.axml for your reference.

Hope this helps.

Posted: April 29, 2015 8:50 AM

I assume that the question in this thread relates to the following problem: Webrid Export functionality is not working when paging mode is set to VirtualLoad, which discussed in here.

If my suggestion in that thread doesn't help or this topic doesn't related to that thread, please feel free to let me know.

Using the LargeData option in the VirtualLoadMode property restricts exportation to only a portion data. When this restriction is not desired, in order to export all the data, the VirtualLoadMode property needs to be configured to the default option temporarily, then invoke the RebindDataSource() method.

You can follow the steps in this knowledge base article in order to export all the data when the data paging is set to “virtual load paging” in WebGrid.

Hope this helps.

Posted: April 29, 2015 4:01 AM

It is recommended to choose Xamarin Business or higher plan to use all the Crosslight features.

What about the "System.Data.SqlClient" which can only be used with a "Business" license. Is this assembly a requirement for any Crosslight feature?

All sample database in Crosslight uses LocalDB. System.Data.SqlClient is required when using LocalDB.

Hope this helps.

Posted: April 27, 2015 2:23 AM

WebGrid has a feature called ColumnSet. It is capable to render a subset of cells and rows as one row unit. This allows true cell layouting without dependency to column object. It also enables you to construct the layout dynamically from your codes.

I'm sure that the ColumnSets feature fits well with your scenario. For more detail information about ColumnSets layout, please check the documentation in here.

Posted: April 22, 2015 8:32 AM

Sorry for any inconvenience this problem may have caused you.

The reported problem, Theme Manager and WPF [IS-3FB643C1-9528-459E-8F77-C861B2D4A3B] has been reported to ClientUI development team under CLIENTUI-51. I may be able to help raising the priority for CLIENTUI-51.

ClientUI development team will keep maintaining the ClientUI components. I'll keep you informed with the progress of CLIENTUI-51.

Could you please try to use following technique and let me know whether this helps or not.

Step-by-step

  1. Remove ShipperID column
  2. Remove DataKeyField from WebGrid-RootTable

The grid will look like following:

<ISWebGrid:WebGrid ID="WebGrid1" runat="server" UseDefaultStyle="True"
    Height="300px" Width="400px" DefaultStyleMode="Elegant"
    BindingOperationMode="ClientBinding">
    <LayoutSettings ...>
    </LayoutSettings>
    <RootTable>
        <Columns>
            <ISWebGrid:WebGridColumn Caption="CompanyName"
                DataMember="CompanyName"
                Name="CompanyName" Width="180px">
            </ISWebGrid:WebGridColumn>
            <ISWebGrid:WebGridColumn Caption="Phone"
                DataMember="Phone"
                Name="Phone" Width="150px">
            </ISWebGrid:WebGridColumn>
        </Columns>
    </RootTable>
    <ClientBindingSettings DataSourceType="WebService"
        ServiceUrl="~/WebService.asmx" ItemTypeName="Shipper">
        <ServiceMethods SelectMethod="GetShippers"
            DeleteMethod="DeleteShipper"
            InsertMethod="InsertShipper"
            UpdateMethod="UpdateShipper" />
        <ServiceEvents Inserting="Service_Inserting" Updating="Service_Updating" />
    </ClientBindingSettings>
</ISWebGrid:WebGrid>

Save the changes and let me know whether this helps or not. I have tried row-editing and row-adding without problems in my local end.

You can start to apply styling and templating to custommize the appearance of ClientUI based on the design. Following articles in ClientUI documentation should helps you to give an overview of styling and templating aspects of the application and shows how to change the style of UXWindow by using designer tool.

Hope this helps.

All times are GMT -5. The time now is 3:34 AM.
Previous Next