27 10 2014
Overview Of Controls
Controls are the basic building blocks of any web page. Simple controls like Textbox or Dropdown provide relatively simple functionality where there are also composite controls such as Grids to deliver multiple features and empower the performance of your web page.
It is an array of pre-defined controls already available in the system. If you are defining a Form that will accept doctor’s information from the user, you can easily add a Textbox to the form and change properties such as label, width, and CSS class of the control and data bind with a data source. Similarly a drop down, lookup, grid or a chart can also be added to the page as needed. Once a control is added to the system, you will be able to configure it and change the behavior at any time – even when it is running on production – a unique value addition.
All basic controls in the system, which need configuration from the scratch, are called intrinsic controls. There are a bunch of intrinsic controls;
Any control that is defined in BizFirst can be inherited or linked. When a control is fully configured, it becomes powerful with a rich feature set and when reused, a lot of the development time and cost are saved. By publishing the feature-rich controls to the repository, other developers and apps also can use them or even enrich them. These enhanced Controls can be published again to the repository and the cycle goes on.
BizFirst has already published several reusable UI controls to the repository. When we use standard templates to automatically generate functionality, standard controls will also be automatically published by the Code Generator. For example, Doctor_Lookup_Control and Doctor_Pickup_Controls are automatically generated by the system. It means when you develop Patient page and try to add a field for Last Visited Doctor, you don’t need to develop this control all from scratch.
A control can be dependent on another and it can execute rules and actions when events take place. Some controls can independently pull data and display while some others may contain a different Form or Pad.
A control can be secured based on the user preferences, can display menu options and provide variables to calling components. Controls also accept parameters.
Most of the controls can be beautified by changing the CSS or Skins. Controls can change their dimensions, screens and display style and position based on its context or device.
We know every control will have numerous properties, in its look and feel as well as behavior. The good news is that you can set almost all these features using our ‘controls’. Have a look at the features.
In this very first window, you can select control type from the dropdown. You will have a number of options there. Also, you need to select control subtype, read only, Enabled, visible, tab index and display header.
b. Dimension and Align
Use this tab to set the dimensions of your control. There are options for alignment also; you just want to select all those from dropdown.
In the organize window, you can select the categories from the radio buttons.
d. Publish info
It is also possible to publish the controls that you have created. By publishing the feature-rich controls to the repository, other developers and apps also can use them or even enrich them.
In the advanced tab you can set more advanced features like parameters, visual styles, events, event subscription, menu items, pagination, history and code generation. In the history window you can view the time your control is created. You can add events for the control using events tab in an easy manner.
3. Data and Transactions
Data and transactions tab allows you to add data binding to the control. Here we can bind our control with the data base and its tables. Using the submenus under data and transactions, you can manage all the data connections.
This is the designing part of our control. You can make your control more attractive with this style options.
One of the main advantage of our controls- they can be inherited. This feature allows reducing your efforts to create similar controls repeatedly. You only need to create a parent control with all necessary properties and inherit to other controls by using this window. You only need to select base controls.
Here, you can select security models that you want to make secure your control.