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

Incorrect file or assembly version

$
0
0

Hi all

I've just upgraded to the latest version of WinForms for bug testing.
However, I've run in to an assembly version issue.

My solution compiles, but when I try to load a particular form, I get a FileLoadException on C1.Win.C1Chart3D.4 Version 4.0.20171.248. THe error is:

An unhandled exception of type 'System.IO.FileLoadException' occurred in DTASwin.Controls.dll

Additional information: Could not load file or assembly 'C1.Win.C1Chart3D.4, Version=4.0.20171.248, Culture=neutral, PublicKeyToken=a22e16972c085838' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

It looks like VS is trying to use the wrong version of the assembly, but I have no idea how to check this.
I've tried the usual Clean/Rebuild, and made sure none of the References have Specific Version set to true, but no luck.

Any pointers appreciated.


Reply To: checkbox check is too light when editing disabled.

$
0
0

Was wondering if there had been any reply from the developers on this?

Thanks - John

Reply To: C1 Asp.Net Core MVC areas not working with FlexGrid

$
0
0

Hi Sean,

I can reproduce this. In the attached sample when you switch routes you can see that the controls are not visible when Areas are used.

I think it has something to do with Registering Resources. See the attached image(The generated C1WebMvc\WebResources are empty). Also, inspecting via console I get an error: "c1 is not defined".

Perhaps I and Matthew both are doing something incorrect.

~nilay

Reply To: C1 Asp.Net Core MVC areas not working with FlexGrid

$
0
0

Hi Matthew/Sean,

Adding both the routes resolved this issue:


app.UseMvc(routes =>
{
    routes.MapRoute(
        name: "default",
        template: "{controller=home}/{action=index}/{id?}");
    routes.MapRoute(
        name: "areaRoute",
        template: "{area:exists}/{controller=Home}/{action=Index}");
});

~nilay

PS: If this issue is not resolved using the above method, please comment/share your sample.

Reply To: Last character of Celltips missing

$
0
0

Hi John,

I tried implementing the code at my end but could not do so due to certain unknown variables. Can you please share a small stripped down application replicating the following behaviors?
1. Caption of ColumnHeader truncated.
2. Last character of Tooltips truncated.

I would like to investigate it further.

~Pragati

Reply To: Button focus in the C1MessageBox

$
0
0

@Akshay_Madan said:
It is the default behaviour of a Button that the focus rectangle is only shown when focus is shifted using keyboard.

Hi,

this rectangle is default reaction to use keyboard. But if I do not use keyboard and some button is in a focus then button will looks like on pictures below. Is it possible to do same in C1MessageBox?

Reply To: Condition Filter Clone method

$
0
0

Thanks, Wolfgang. It did appear to be working that way.

C1Flexgrid date field calender click

$
0
0

Hello together,

So far ok when loading a C1flexgrid, each date field will be recognized and shown as C1DateEdit. The problem is when the date field is clicked the calender will be opened, when i leave the calender without choosen anydate. The value will be set automatic to today and this is not good. It should stay empty if i did not select or Input one date.

Is there any tip to solve this issue?

Best regards
Said


Reply To: C1Flexgrid date field calender click

$
0
0

Dear all,

Please a sample in VB will be great.

Best regards
Said

Reply To: Determine Appointment creation by Click or by keyboard

$
0
0

Hi Stephan,

You can use BeforeAppointmentCreate and BeforeAppointmentEdit events for the purpose.
BeforeAppointmentCreate event fires first, for each appointment and after that BeforeAppointmentEdit event fires only for those appointments which are created by pressing Enter key.

In BeforeAppointmentCreate event, you can set the Tag property of Appointment to "Double Click":


private void C1Schedule1_BeforeAppointmentCreate(object sender, C1.C1Schedule.CancelAppointmentEventArgs e)
{            
       e.Appointment.Tag = "Double click";
}

If the user has pressed the key to create appointment, in that case, the second event BeforeAppointmentEdit fires. Here, you can set the Tag property to "Return key", overriding it previous value:


private void C1Schedule1_BeforeAppointmentEdit(object sender, C1.C1Schedule.CancelAppointmentEventArgs e)
{
        e.Appointment.Tag = "Return key";
}

Later, you can determine by checking the Tag value that how the appointment was created. Kindly refer to the attached sample demonstrating the same.

For more information, you can refer to the given documentation links:

1. BeforeAppointmentEdit event

http://helpcentral.componentone.com/nethelp/c1schedule/C1.Win.C1Schedule.4~C1.Win.C1Schedule.C1Schedule~BeforeAppointmentEdit_EV.html

2. BeforeAppointmentCreate event

http://helpcentral.componentone.com/nethelp/c1schedule/C1.Win.C1Schedule.4~C1.Win.C1Schedule.C1Schedule~BeforeAppointmentCreate_EV.html

Thanks,
Pragati

Reply To: Check whether the series is shown

$
0
0

Hi,

Thanks for providing the screenshot.

As per our understanding it seems that you want to hide a particular series after setting custom Min and Max for AxisX and AxisY.
To do this, you need to remove the specific series from c1Chart1.ChartGroups[0].ChartData.SeriesList.

Please refer to the attached sample application.

Please let us know if there is any difference in our understanding.

Thanks,
Akshay

Reply To: Checkbox in fixed columns and multi select

$
0
0

Hi,

For toggling the state of all the checkboxes of selected range in fixed columns, you need to use C1FlexGrid's CellChecked event and change the state of all the checkboxes in selection range using SetCellCheck method, as follows:

 if (e.Col < c1FlexGrid1.Cols.Fixed)
            {
                CheckEnum checkState = c1FlexGrid1.GetCellCheck(e.Row, e.Col);
                for (int r = c1FlexGrid1.Selection.r1; r < c1FlexGrid1.Selection.r2 + 1; r++)
                {
                    c1FlexGrid1.SetCellCheck(r, e.Col, checkState);
                }
            }

I have modified your application and attached the same for your reference.

Regards
Ruchir Agarwal

Reply To: Check whether the series is shown

$
0
0

Hi Akshay,
Thanks for sample.I mean something else).
In new attached sample there are two buttons: DefaultMinMax (
AxisX.Min = 50; AxisX.Max = 250;
AxisY.Min = 150;AxisY.Max = 250;) - we can see 2 series
and
NewMinMax ( AxisX.Min = 200; AxisX.Max = 250;
AxisY.Min = 200; AxisY.Max = 250;). - here we can see only 1 series

so how can I define what series from seriesList are shown in C1Chart by clicking on NewMinMax?

Thank a lot!

Reply To: Checkbox in fixed columns and multi select

$
0
0

You didn't tell me about this workaround ;-) !

Thanks, I applied it to our code and it works now.

Do you think that this will be fixed/improved in C1FlexGrid itself?

Best regards

Wolfgang

ChildGrid Height

$
0
0

Hi,

Unlike the Dot.Net version of TrueDBGrid, the ActiveX version determines the height of a child grid either by the numbers of table rows or by the size of the parent grid.

Could you please show me a way to obtain the same behaviour for Dot.Net ?

Thanks in advance,
Stephan


Reply To: Button focus in the C1MessageBox

$
0
0

Hi,

Thanks for providing the screenshots.

We are discussing it with the concerned team (Tracking ID: 256782) and will get back to you as soon as there is any response from them.

Thanks,
Akshay

Reply To: Button focus in the C1MessageBox

Reply To: Offline Installation

$
0
0

Hi Pragati,

I have tried to use the silent key that you provided above.
C1StudiosInstaller.exe -i -s -p"product_to_install1,product_to_install2"

But am getting some pop-up warning and attached the same below.
Please assist me to solve this.

Exception when setting the RenderMode to "Direct2D" for FlexChart

$
0
0

Couldn't find the WPF forum, so here it goes: I'm getting an exception when setting the RenderMode to "Direct2D" for FlexChart in XAML:

at #pqo.#ruo.#0We()
at #pqo.#ruo..ctor(#wuo panel)
at #pqo.#muo.#9il(Boolean #ajl, Brush #Jpb, Size #fuo)
at C1.WPF.Chart.RenderCanvas.ArrangeOverride(Size arrangeSize)
at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
at System.Windows.UIElement.Arrange(Rect finalRect)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.UIElement.UpdateLayout()

XAML:

This is with C1.WPF version 4.0.20162.524 (latest version I have licensed). What could I be doing wrong?

Reply To: Exception when setting the RenderMode to "Direct2D" for FlexChart

$
0
0

XAML:

<c1:C1FlexChart x:Name="flexChart" ChartType="Line" Background="White" Margin="10" RenderMode="Direct2D"/>
Viewing all 14170 articles
Browse latest View live


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