Quantcast
Channel: Our ComponentOne » All Posts
Viewing all 14170 articles
Browse latest View live

C1TileView - Reorder event?

$
0
0

Hello,

I use a C1TileView with several tiles in it. Each tile has a number (first tile is #1, second is #2...). Reorder is allowed (CanUserReorder="True"), so for example, I can drag tile #1 in second position, but my tiles numbers do not change after reorder (it was expected as I did not do anything to change it).
I would like to change my tiles number when they are reordered (I don't want the second tile to get the #1).

Is it possible to know if the user reordered tiles on a C1TileView?
I did not find any event for that. What is the best way for doing this?

Thanks,

Thierry


Reply To: FilterBar "LIKE"

$
0
0

Hello,

In order to filter the column according to the characters contained in the string you need to use wildcard filtering. To enable the grid so that it can use wilcard filtering set FilterEscape property of the particular C1DataColumn to "" (a blank string).

C1TrueDBGrid1.Columns(0).FilterEscape = ""

Please refer to the attached sample application implementing the same.

In it start the filtering with '*' character e.g; "*gain" and it will show both Again and Gain in the column.

You can also follow the below forum links for more information:

http://our.componentone.com/groups/topic/how-use-like-in-filter-bar/

Thanks,
Akshay

Reply To: calendar week is not right

$
0
0

Hello Akshay!

When do you think, there will be a solution?
lg GH

We could also replicate the issue at our end and had escalated it to the concerned team (Tracking ID: 151897). We will let you know as soon as there is an update on it.

Thanks,
Akshay

Reply To: DataGrid GroupRow

$
0
0

Hello,

I have escalated this issue to our development team (with tracking id#152515) for further investigations and will let you know as soon as I get any update from them.

Regards,
Prashant

Reply To: Appointment Properties in Scheduler

$
0
0

Hello,

I could not find any way to achieve your goals with C1Scheduler. However, I have escalated this issue to our development team (with tracking id# 152516) for further investigations and will let you know as soon as I get any update from them.

Sorry for the inconvenience.

Regard,
Prashant

Reply To: Appointment Properties in Scheduler

Reply To: RibbonControlHost element

$
0
0

Hi Mustafa,

attached is a sample which shows the usage of a custom ribbon control.

Three steps are needed:
1) create a UserControl which contains the label and the MaskedTextBox. In my sample: MaskedTextBoxContainer
2) create a subclass of "C1.Win.C1Ribbon.RibbonControlHost". Implement the "New" constructor and call the base class constructor with a new instance of the content control:


  Sub New()
    MyBase.New(New MaskedTextBoxContainer())

    ' This call is required by the designer.
    InitializeComponent()

    ' Add any initialization after the InitializeComponent() call.

  End Sub

3) open your form in designer and add a "RibbonControlHost" to the ribbon group, see screenshot "adding_control_host.png". Note that the dialog "Adding RibbonControlHost" might not show your custom control in its combobox. This seems to be a small bug. Either restart Visual Studio or enter the full name of the control yourself.

Best regards

Wolfgang

Reply To: StatusBar inside FlexGrid

$
0
0

Hello,

Please find the attached sample implementing an idea of showing a progressbar while exporting the C1FlexGrid.

Regards,
Prashant


Reply To: How to switch between ribbon and normal toolbar?

$
0
0

Hello,

Please refer to the attached sample and could you please elaborate more on your issue along with the steps to reproduce and your use case scenario? So that I can assist you appropriately.

Regards,
Prashant

Reply To: Drag toolbar without C1DockTabItem

$
0
0

Hello,

Please find the attached sample implementing an idea for dragging a C1Toolbar within a window.

Regards,
Prashant

Reply To: C1TileView - Reorder event?

$
0
0

Hello,

I have escalated this issue to our development team (with tracking id#152521) for further investigations and will let you know as soon as I get any update from them.

Regards,
Prashant

Reply To: DataGrid Column Properties Header, Visibility, and IsReadOnly Binding

$
0
0

Hello,

I have escalated this issue to our development team (with tracking id# 152526) for further investigations and will let you know as soon as I get any update from them.

Regards,
Prashant

C1PrintDocument Help Needed

$
0
0

Dear ComponentOne

we are using C1DataGrids to display data between 0 and 9000 grid lines depending on the window the user opens. Up to today we used the Method GetPageImages() from C1DataGrid to create our Output for printing. We created a DocumentPaginator wrote and xpsDocument and then created a FixedDocumentSequence to show in a custom Print Preview Window.
A few Month ago we asked if there is way to increase performance of GetPageImages() because on big DataGrids this Task takes very long and since it needs to be in the UI Thread our Application freezes. Since there is no further plan to improve GetPageImages() we decided to change our print system to C1PrintDocument.

Our plan is to create a new C1PrintDocument with RenderTable, RenderArea, RenderImage and RenderText. We plan to customize and style the RenderTable and Table Headers to look like our C1DataGrid Headers. We need to show alternating Row Backgrounds. Further we build our custom TreeView and Multiline Column.

While investigating the componentone samples for printing we discovered a sample called PrintDocTemplates. Unfortunately we couldn't find more information about this template possibility and how we could benefit from it. We only know it takes more development time to get to know this feature and to implement it but are not sure about the benefits.

Maybe you could help us evaluate if we should make use of that template possibility. Could you tell us what are the advantages of using templates for c1PrintDocument?

greetings

TrueDBGrid Celltips

$
0
0

After upgrading from TrueDBGrid.2 to TrueDBGrid.4, I am experiencing a problem with cell tips being cut off at the bottom, particularly when they are multi-line.

This small program demonstrates the issue:

Imports C1.Win.C1TrueDBGrid

Public Class Form1
    Dim dtTest As New DataTable

    Private Sub C1TrueDBGrid1_FetchCellTips(sender As Object, e As FetchCellTipsEventArgs) Handles C1TrueDBGrid1.FetchCellTips
        e.CellTip = "This" & vbCrLf & "is" & vbCrLf & "a" & vbCrLf & "test" & vbCrLf & "of" & vbCrLf & "a" & vbCrLf & "really" & vbCrLf & "long" & vbCrLf & "celltip"
    End Sub

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
        Me.dtTest.Columns.Add("Test", GetType(String))

        Dim Row As DataRow = Me.dtTest.NewRow
        Row("Test") = "This is a test."
        Me.dtTest.Rows.Add(Row)

        Me.C1TrueDBGrid1.DataSource = Me.dtTest
        Me.C1TrueDBGrid1.CellTips = CellTipEnum.Floating
    End Sub
End Class

FlexReport: Read file image with the path and file name in SQL database

$
0
0

FlexReport 4.0.20161.139

The database field has the image path such as "C:\Image.jpg"
I tried to set the Text property of report image field "= database field" but did not succeed.
I also tried to leave the property blank and include a script in Header.OnPrint
imgfield.Picture = databasefield and also did not work.

Can someone help me?


Keyboard Navigation in FilterBar

$
0
0

Hi All,

I’ve updated the C1TrueDataGrid in my applications to the newest version – 4.0.2016.139.

Many of my users navigate through the grid by keyboard, especially through the filter bar. If they want to filter the grid by more than one filter criteria, they use the left or right cursor keys to go to the next columns. Up to version 4.0.20153.102 this was possible, now the filter bar stays in edit mode and the cursor keys move the caret of the TextBox. The filter bar even stays in edit mode, when the user presses Enter to filter the grid.

I get a lot of complaints because of this. Is there a way, maybe by a property, to get back the old behavior of the grid?

Thanks for help,
Christian

Reply To: FlexReport: Read file image with the path and file name in SQL database

Reply To: C1PrintDocument Help Needed

$
0
0

Hello,

I have escalated this issue to our development team (with tracking id# 152632) for further investigations and will let you know as soon as I get any update from them.

Regards,
Prashant

Reply To: How to switch between ribbon and normal toolbar?

$
0
0

Hello,

Since, you have not provided any information about your ViewModel. Could you please make the necessary changes into the attached sample (in the previous post) so that I can debug the exact issue and can assist you appropriately.

Regards,
Prashant

Reply To: Appointment Properties in Scheduler

Viewing all 14170 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>