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

Reply To: Extended part of dropdown not populated with columns.

$
0
0

Peter,

> Unfortunately it works only in design mode, I tried
> to change it in code in runtime, but it has no effect

I am not sure if this is possible. Can you try this making sure you are following the exact steps as form2.
I would have to expand and check the propbag.

~nilay


Reply To: Rowstate

$
0
0

In then RowColChange event I need to determinate if thw row is updated, for example:

private void GridDados_BeforeRowColChange(object sender, C1.Win.C1FlexGrid.RangeEventArgs e)
{
if(row is updated)
{
do this;
}
else
{
do this;
}
}

Reply To: Cannot Assigne Data Source to new C1FlexReport

$
0
0

Hi Pragati,

I have attached Picture showing the problem step by step. The Video is too big.
1 - under new click the Report wizard.
2 - seletect a query or table from the list
3 - no fields are shown

Best regards
Said

Reply To: Cannot Assigne Data Source to new C1FlexReport

$
0
0

Hi Pragati,

I have done the download you mentioned to me.
1 - I rename the old Folder V4.0 (04.11.2015)under APPs and copy the V4.0 (26.08.2016)from the
download file.
2 - I started the application FlexReport it works. I can see the fields.

is this a correct way? I am afraid, if i start my VS2013 application, my components will not
be recognized.
Do you have a suggestion how to do it whitout any trouble for the hole application?

Best regards
Said

Reply To: Failed to create a 'TargetType' from the text 'c1grid:ItemCellPresenter'

C1DataGrid: How to select and hightlight row programmatically

$
0
0

Hello!

I need help on how to select and hightlight row programmatically after adding new data in VB.net. This is what I have (comment and question included):

Private Sub BtnAdd_Click(sender As Object, e As RoutedEventArgs)
If tbxData.Text.Trim.Length > 0 Then

If isNewStringValid() = False Then Exit Sub

ds.Tables(0).Rows.Add(tbxData.Text.Trim)
myObject.ItemsSource = ds.Tables(0).DefaultView

' Everything works as expected.

' Next we will create a logic to identify the new data. No problem with this...
' GetNewRowIndex()

' After GetNewRowIndex() we want to be able to make it as the new "Selected Row" and Hightlight. How can we do that?

' SelectAndHighlightNewRow() ' Here!!!! No XAML is in use.

End If
End Sub

Any suggestions?

P.S: We are using C1.WPF.C1DataGrid, Version: 3.0.20083.73, Runtime Version: v2.0.50727.

Reply To: Design Time error in my WinForm projects

$
0
0

Hello,

Regarding the issue mentioned here, we have a similar problem which we think we can solve if we find a way to redirect the place of the Designer files.

Let me just wrap it up in a simple question giving the "C1.Win.C1TrueDBGrid.4" file as an example : Is there any way, to force "C1.Win.C1TrueDBGrid.4" to look for its designer file in a place other than "C:\Program Files (x86)\ComponentOne\WinForms Edition\bin\v4.0\Designer" . I mean is there any way i can make "C1.Win.C1TrueDBGrid.4" look for its Designer file in a place like "D:\ComponentOneDLL\Designer" ? or the path "C:\Program Files (x86)\ComponentOne\WinForms Edition\bin\v4.0\Designer" is hard codded ?

Thank you

Reply To: Dividing the grid using splits for specific condition

$
0
0

Hi Kinjal,
Your issue is answered here.

Thanks,
Sonu


Load C1WordDocument and set Bookmark Value

$
0
0

Hi @all!

We are trying currently your components cause maybe we want to use them in our current and future Projects.
In one Project, we Need to load a docx File and replace / set values for some bookmarks in the document.

Loading of the docx File works very good, but how can i set the values of the bookmarks in the document?

We are using the latest Version of componentone Studio and Visual Studio 2015 / Windows 10 Anniversary (UWP Project).

Thank you for your help
Greetings

Thomas

Reply To: Cannot Assigne Data Source to new C1FlexReport

$
0
0

Hi,
Please use the below steps to resolve your issue(s):
1) Update component(s) using C1Live
https://www.componentone.com/Pages/C1Live/
2) Update project(s) using C1ProjectUpdater
http://our.componentone.com/2011/02/11/c1projectupdater-utility/

Hope, it will solve your issue(s).

Thanks,
Sonu

Clipboard Opeartions Support on Tree View

$
0
0

Dear C1,

Following are our queries:

1.How to select nodes from treeview using tab button? –
my custom treeview is consist of 4 nodes:
In first node it contains (CheckBox +Image + TextBlock using C1HierarchicalDataTemplate)
In second node it contains (CheckBox + TextBlock + TextBlock using C1HierarchicalDataTemplate)
In third node it contains (CheckBox + TextBlock + TextBlock using C1HierarchicalDataTemplate)
In fourth node it contains (CheckBox + TextBlock+ TextBlock using C1HierarchicalDataTemplate)

Screenshot is attached
2.How to select range of multiple treeview nodes using (Shift Up/Down Arrow keys + Spacebar)
3.How to randomly select nodes using (Cntrl + Mouse Left Click)
4.How to delete selected nodes using keyboard delete button?

If a sample is available share the sample in c#

Reply To: Customsort and Filter with bound c1.wpf.flexgrid.4

$
0
0

Hi,

if you use a cellfactory to Show the sort glyph you have no more filter and thats the
Problem. I want to use a custom sort and fitler!

Thanks,
Joachim

Reply To: Trouble linking subReport to Main Report

$
0
0

Hi,
Can you please share your tables structure? Which is used in your attached report.
So that we can replicate the same issue at my end and provide a solution for the same.

Also please check the behavior with the latest build of WinForms which can be downloaded from the link below:
http://prerelease.componentone.com/dotnet20/c1winforms/2016-t2/C1WinForms.2_2.0.20162.188.zip
http://prerelease.componentone.com/dotnet40/c1wpfreport/2016-t2/C1WPFReport_4.0.20162.188.zip

Thanks,
Sonu

Expanding after filtering grouped grid

$
0
0

Hello,

I have a grid which has two grouped columns. They are year and month, so for example i have the year 2016 grouped, then under it "Jan" also grouped and under "Jan" I have a lot of records .

Now I can filter, and the filter works alright, but after the filter is completed, I expand all the groups again with this code :

for (int i = 0; i < dtg.Splits[0].Rows.Count; i++)
                {
                    if (dtg.Splits[0].Rows[i].RowType != C1.Win.C1TrueDBGrid.RowTypeEnum.DataRow)
                    {
                        dtg.ExpandGroupRow(i);
                    }
                }

however, If the filtered record is not in the first group, the group is not expanded, I can put it this way :

Year 2016
Month : Jan
Records...
Month : Feb
Records...

If my filtered value is in Feb, the "Feb" group is not expanded, but if its in "Jan" then the "Jan" group is expanded.

What am I doing wrong ? I am using the latest version which is 20162.188 .

Reply To: How to remove dotted border around selected cell?

$
0
0

Hi Trevor,

I don't understand why you would need to do this. This way one would never understand which cell is selected.
I have asked the developer if we can do this or not.
(Internal ID : 213089)

~nilay


Reply To: Extended part of dropdown not populated with columns.

$
0
0

Nilay,

First of all tell me if you can see the difference how the combos look like on form1 and form2?

Can you try this making sure you are following the exact steps as form2.
I would have to expand and check the propbag.

I'm not sure what exactly you want me to do...
Do you want me to prepare form3 as exact copy of form1, than try to change the SplitSizeMode in code to see if it helps (instead of doing it in designer)?
Or something else?

Peter

Reply To: Trouble linking subReport to Main Report

$
0
0

Thanks for your input, Sonu... It was after all the link to the main report. I am programmatically setting that property. Where I had Course.Student_ID = Student.Student_ID, I changed the property to reflect the following in c#....
"\"[Student_ID] = '\" & [Student_ID] & \"'\""

So, you were right in your initial assessment. The problem was the difference in VB and escaping in c#.

Reply To: Design Time error in my WinForm projects

$
0
0

Hi Naser,

First of all - we don't recommend to move our dlls from installation path to some other, but if you really want to do it, so I think you can try this:

(Example for C1FlexGrid)

1. Remove installed C1.Win.C1FlexGrid.4.dll and C1.Win.C1FlexGrid.4.Design.dll from GAC (https://msdn.microsoft.com/en-us/library/aa559881.aspx).

2. Move (not just copy) installed C1.Win.C1FlexGrid.4.dll and C1.Win.C1FlexGrid.4.Design.dll from installation paths to necessary paths.

3. Install C1.Win.C1FlexGrid.4.dll and C1.Win.C1FlexGrid.4.Design.dll from new paths to GAC (https://msdn.microsoft.com/en-us/library/dkkx7f79(v=vs.110).aspx).

4. Add C1.Win.C1FlexGrid.4.Design.dll to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx\[ProductName] or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\[ProductName] (https://blogs.msdn.microsoft.com/heaths/2006/09/20/installing-assemblies-for-runtime-and-design-time-use/ , http://stackoverflow.com/questions/13401126/install-to-gac-and-register-in-registry).

If you will move our dlls from installation paths, you wont be able to update dll via C1Live.

~nilay

Reply To: Dividing the grid using splits for specific condition

$
0
0

Hi Sonu,

Yes, I got to know. Thanks..:)

Reply To: C1.Scheduler number of rows

$
0
0

sorry for delay, please try attached sample

Viewing all 14170 articles
Browse latest View live


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