User Profile & Activity

Yudi Member
Page
of 259

For column filtering to work properly, we need to specify FilterItemsBinding, FilterMemberPath, and FilterValuePath properties to each column that supports data filtering.

You can try to select distinct of category to have the 10 items to show up.

Example:

var countries = enumCustomers.OfType<Customer>().Select(p => p.Country).Distinct();
Posted: December 11, 2014 3:03 AM

Regarding the designer of Crosslight, please allow me to introduce you to Form Builder. It produces data entry form that conforms to the high standards of usability and design guidelines defined in each supported native platform.

Crosslight makes it easy to implement data form in mobile business apps. Instead of writing gigantic amount of code, you only need to create a class that contains a few line of code which describes how the form is laid out, which editors to be used, and any particular behaviors and customization that you wish to set on certain editors.

The definitions of form builder are based on a particular model class or entirely standalone. It is called form metadata. When a valid form metadata is detected in a model class, the view will auto-generate the form based on the defined metadata.

It's not a designer, although you can easily create a rich form just with some attribute-based metadata. For more complex views, you will need to use the designer from each platform.

For more detail information about Form Builder, please check the documentation in the following links:

Hope this help.

Posted: December 10, 2014 9:28 AM

I assume that the terms: "have totals at the bottom" is the column aggregation feature which appear in the column footer of WebGrid.
I tried to reproduce the reported problem by enabling AllowExport in BuiltinAggregation.aspx sample file of WebGrid but my efforts were not successful - the column aggregation are shown in the exported document.

I enclosed the export result as attachment, SampleExportResult.pdf. Please find the aggregate data in the last page of the pdf file.

Should you find anything that I might miss during my attempt to reproduce the issue, please feel free to let me know.

Posted: December 10, 2014 9:14 AM

A how-to article which shows how to enable translucency visual effect in modal navigation iOS using Crosslight 3 is now available in here. This article also provides a runnable simple sample project. Could you please kindly test/run the sample and let me know whether it helps or not?

...If I have the Blur View set, it doesn't reload the entire back view which is what I need but without a blur effect.

May I know why you need to reload the entire back view after the modal popup closes?
Look forward to hearing back from you.

Posted: December 10, 2014 7:30 AM
... Will there be an enhancement of the calendar in the near future?
As the title of the sample says, it is a simple calendar right now.

As our products are largely driven by our customers feedback and market demand, we'd love to hear any suggestion or feedback from you regarding the particular enhancement.

For example:

  • Would you like to have enhancements over the samples or to the component?
  • If more samples are needed, we'd love to know what kind of scenario that you expect to see?

Thank you and have a nice day.

Posted: December 10, 2014 6:43 AM

Hello Thomas,

Please feel free to let us know if you still have any difficulties to use the most recent version of Crosslight (Crosslight 3) on Yosemite and Xcode 6+.

Posted: December 10, 2014 6:33 AM

This problem is quite unique because we never managed to reproduce this at our end. Currently, me and Thomas are working together to find what may cause the problem. I'll keep this thread updated with any news regarding this matter.

Posted: December 10, 2014 4:36 AM

For Android platform, please ensure that binding to SelectedItem property has been added in BindingProvider (as seen in the following snippet code).

public NavigationBindingProvider()
{
    ItemBindingDescription itemBinding = new ItemBindingDescription()
    {
        DisplayMemberPath = "Title",
        NavigateMemberPath = "Target"
    };

    ...
    this.AddBinding("TableView", BindableProperties.SelectedItemProperty, "SelectedItem", BindingMode.TwoWay);
}

The DrawerSamples project on Android emulator (using Crosslight 3) shows that preselection works on Android.

Hope this helps.

Posted: December 10, 2014 4:06 AM

Crosslight 3 is now available to be downloaded. This major release includes a multitude astounding UI components that will help you achieve what matters in mobile apps: beautiful interface and great user experience. Crosslight 3 also includes full support for iOS 8 and custom gesture support.

I installed intersoftstudio2014r2 and was unable to reproduce the reported problem (Intersoft.Crosslight.UI.Core.dll file can be found in "C:\Program Files (x86)\Intersoft Solutions\Crosslight 3\bin" folder.
I recommend you to download and install the most recent version of Crosslight and let us hear whether the problem still persist or not.

Hope this help.

Posted: December 9, 2014 7:29 AM

Customizing cell template technique can be used to implement this scenario, to set the style of listview items at runtime (setting the color of texts of a list item and setting the color of the list selector).

Create custom cell template for iOS UITableView

You can customize the appearance and presentation of cell template in a table view for iOS to match your business requirement. Your apps look better when the cell template are presented more intuitively, for instances, setting the color of label to a TableViewCell.

A how-to article, Create Custom Cell Template for iOS UITableView, will guide you to customize the appearance of cell template. After adding a label (in step: Create View for Custom Cell Template), you can change the textColor property of UILabel via Interface Builder.

Set the color of the list selector in iOS can be done by set the CellSelectedBackgroundColor property in OnInitializeView of the relevant view controller. The snippet code below shows how.

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

    this.Appearance.CellSelectedBackgroundColor = UIColor.Green;
}

We can use DataSamples project and implement the above snippet code in SimpleListViewController.cs. The result will look like following screenshot.

Create custom cell template for Android

The steps to create custom cell template for Android is simple. First, we'll need to create view for custom cell template. For example:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:padding="10dp"
    android:minHeight="75dp">
    <LinearLayout
        android:layout_height="wrap_content"
        android:layout_width="fill_parent"
        android:orientation="vertical"
        android:layout_weight="1">
        ...
        <TextView
            android:text="Label"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:gravity="right"
            android:paddingRight="10dp"
            android:id="@+id/PriceLabel" />
    </LinearLayout>
    <ImageView
        android:id="@+id/ImageView"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_weight="5" />
</LinearLayout>

Next, override ListItemLayoutId in activities that consumes the custom cell template. Simply pass in the layout that represents the custom cell template.

protected override int ListItemLayoutId
{
    get { return Resource.Layout.CustomTableCell; }
}

To set the color of text of a list item can be done by defining textColor of TextView (for example: android:textColor="#00FF00")

The result will look like following:

Hope this help.

All times are GMT -5. The time now is 8:01 PM.
Previous Next