Posts in 'web'
When MS OutlookBar is in collapsed state, it shows the content of the selected item in a popup window. However, C1OutlookBar for Silverlight does not mimic this feature; perhaps it will be added in some future version.
Here is another blog in our Code Snippet series. This time we'll discuss coding snippets to do the following things for C1FlexGrid for Lightswitch :
Many times we require to redirect the current page to a new page after completion of some I/O operations or when an event is raised. However, in such cases redirection to a new page is not possible due to occurrence of Page Callback. Page CallBack process performs only partial Postback whereas redirecting to a new page using Response.Redirect() or Server.Transfer() method requires a Full PostBack of the page.
You can easily display data in a graphical form using Wijmo Charts. This blog explains how you can easily add Zooming ability to Wijmo Charts using simple jQuery.
C1Schedule for Silverlight comes with loads of features and UI customization options for its users. However, at times customers may have such requirements which are very user specific and even the best of the controls (C1Schedule) does not support that.
With the Silverlight versions evolving day by day, expectations of application designers to enhance the UI is increasing. It won't be wrong to say that Silverlight has been successful to keep pace with their expectations.
The Appointment dialog box used in C1Scheduler for LightSwitch allows users to set a subject, location, label, start and end time, reminder, availability status, and whether the appointment is an all day event and recurring over a specified period of time. You can also specify any resources, categories, and contacts here.
When a view is set in ComponentOne Olap for Lightswitch and user right clicks on the grid, a Details View dialog is shown. As per your project's requirement, you may want to change the look and feel of the table show. For instance, you may want to hide a column, change grid styles, etc.
Data Binding is an important feature for any control specifically for Grid controls. With the advancement of technologies and evolution of Silverlight, DataBinding technologies have provided greater flexibility to present the data to the users in a more processed and systematic way.
Wijmo Combobox can be data bound at server side like other controls. However, Wijmo Combobox is a jQuery based control; so ideally we should databind it at client side in order to make best use of this control. In this blog, we will see how we can do it with the help of the WebService and AJAX call.
If you have a TimeSpan property exposed on your class and if you bind C1DataGrid to the collection of that class objects, the auto-generated TimeSpan column won't be editable. Using a DataGridDateTimeColumn will not fix the issue because the type of objects that DataGridDateTimeColumn expects(DateTime) is a bit different from TimeSpan.
You can easily filter columns in C1FlexGrid for Silverlight by using the C1FlexGridFilterService. This blog explains how you can implement Excel-like filtering in C1FlexGrid i.e show only those values in the Filter which are currently visible.
C1Flexgrid for Silverlight provides clipboard support and handles copy/paste operations on its own. However, if a CellRange is selected that includes hidden row/column, then the data from that hidden row/column gets copied and, consequently, pasted to the grid itself or in the external editors.
This is a simple blog on how you can show a custom ContextMenu in C1Scheduler and also select the interval that gets right clicked.
C1DataGrid provides a very useful feature - FullTextSearch, which allows user to search all the columns at the same time. This functionality can be enabled by setting the attached 'FullTextSearchBehavior' property. Now this feature works fine when binding to a native collection because the functionality creates a custom collection view on the bound collection for enabling custom filters.
In my previous blog, I discussed how you can save the open group states when you have enabled server-side editing, as group states are lost when postback occurs. But, sometimes, you may have a situation where you need to refresh or redraw the grid at client side. At that time, you would face the same issue i.e. state of the opened groups are not retained.
In C1FlexGrid for Silverlight, you can easily edit data in cells and commit the changes by pressing enter or Tab key to move to the next cell. However, there are scenarios when you don't want your users to be able to edit some specific columns (for eg. Id). When you edit a cell and press enter to commit the changes, the focus moves to the next cell irrespective of the fact that the next cell is read only or not.
Wijmo Editor has many options available for inserting various elements in its editor such as table, image, links etc. but there is no direct method to insert text at current cursor position. However, Wijmo Editor is jQuery based control, so we can achieve this by using its client side object model.