Posts Tagged ‘controls’

Orientation aware control for Mobile

December 27, 2008

I have been involved in developing mobile web applications for almost a year and half now. In this period I developed few applications where the requirement was to change the orientation of the layout (horizontal to vertical and vice-versa) automatically based on device width. Some times (in case of new age phones like iPhone, Storm) this may be also depending on the how the device is being currently viewed.

In such scenario’s we used to break lot of our head to make the page work and yet support different orientations supported by the phone. In achieving this we used to end up having either two layouts or change the controls location based on the current orientation of the phone/device. This is really a time consuming job and very boring job for a person like me.

Today, I found a user control called Orientation Aware Control, which automatically does this job for us. Although this is not free control, it supports classic phones to the Windows Mobile 6.0/6.1.

From OAC website:

The Orientation Aware Control allows designing and coding a single control or form with multiple layouts or skins that are automatically applied at run-time (and design-time) according to the available form factor, resolution and orientation. Its outstanding Visual Studio forms and user control designer integration and zero-code adaptive UI behavior make the Orientation Aware Control a must-have companion for any mobile shop targeting multiple devices, bringing back the productivity you need to focus on growing your business.

Advertisements

ObjectListView control

December 18, 2008

I am developing an Visual Studio package from long time to improve the time spent in reviewing code in my organization. It is in final stages of development now. In this package I have a requirement to show a tabular data for which I was using .NET list view control till 2-3 days back.

As many may know, the .NET list view control does not have built in features like column-wise sorting, alternate row colors, showing graphics etc. Though you can achieve all this in .NET list view control, it involves a extra coding from your side. Hence I was in search of perfect list view control from few days.

Finally I found a free control in sourcefoge.net. The control is called as ObjectListView.

I am using this from past 2-3 days, and I am loving it. There are huge number of customizations available inside this control and I still need to explore them.  Also this control comes in different forms like, TreeListView, VirtualObjectListView etc.

Below are few screenshots of the control.

object_list_view