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

Reply To: How to highlight an entire control on MouseOver or receiving focus

$
0
0

Hello,

It is not mentioned in documentation as it is a kind of implementation issue based on a scenario therefore it is not a generic issue.
You can follow the similar implementation logics with C1NumericBox and ListBox also.

Regards,
Prashant


Reply To: C1DataGrid Export Excel

$
0
0

Hello,

C1DataGrid does not generates all the rows at a time. Only the displayed rows are generated and styles are applied on it. As you scroll down then the new data rows are created dynamically with some data and then styles are applied on it. Therefore, it is a design behavior of the control.
We are sorry, we could not find any workaround for the same.
Sorry for the inconvenience caused.

Regards,
Prashant

Reply To: C1ComboBox Update SelectedItem

$
0
0

Hello,

Your issue is under investigation with our development team. I have asked for an update to them and will get back to you soon as soon as I get any response from them.

Regards,
Prashant

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

$
0
0

Hello,

Sorry for delayed response. I tried to replicate the mentioned issue with the provide but could not reproduce the same. Could you please share a stripped down sample replicating the issue along with the steps to reproduce so that I can debug the exact issue at my end and can assist you accordingly.

Regards,
Prashant

C1TextBox.Modified not set properly

$
0
0

After one of recent updates, 'Modified' property is no longer set properly (at least in ModifiedChanged event). When you start typing in textbox, the ModifiedChanged event fires, but Modified property has value 'false' instead of 'true'. Strange, that NumericEdit and DateEdit both work fine, and Modified property is set to 'true' in the same case.
Please, correct it asap.

PDF for UWP Platform

$
0
0

Hi,
I\'m currently evaluating your pdf components.

Is it possible to get the position of the selected text in your pdfViewer control and add with your pdf control annotations like highlight,bookmarks,draw shape, underline or notes to that position?

C1Live Initialization Error

$
0
0

When I run the C1Live update utility, the process updating product descriptors gets to around 29% and then fails with the message 'Initialization error: Invalid platform code'.

Reply To: Hyperlink in cell

$
0
0

Hi,

Please find the sample attached.
It is also shipped with the product installation.

Thanks,
Pragati


FlexGrid "no data" message

$
0
0

I'd like to display a "no data" message in a grid which uses column templates. Is this possible?

Alternatively, I could use itemformatter, but it would be easier to use templates.

Simplified example:

@(Html.C1().FlexGrid()
.AutoGenerateColumns(false)
.Bind(Model.MyCharts)
.Columns(c =>
{
c.Add(cb => cb.CellTemplate(ct => ct.TemplateId("chartLink")).Header("Chart").Width("*"));
c.Add(cb => cb.Binding("Description")).Header("Description").Width("3*"));
})
)

Reply To: FlexGrid "no data" message

$
0
0

Sorry, example didn't paste well...


<script id="chartLink" type="text/html">
    <a href="/Chart/View?userId={{UserId}}&chartName={{ChartName}}" rel="nofollow">{{ChartName}}</a>
</script>

@(Html.C1().FlexGrid<MyChart>()
    .AutoGenerateColumns(false)
    .Bind(Model.MyCharts)
    .Columns(c =>
    {
        c.Add(cb => cb.CellTemplate(ct => ct.TemplateId("chartLink")).Header("Chart").Width("*"));
        c.Add(cb => cb.Binding("Description")).Header("Description").Width("3*"));
    })
)

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

$
0
0

Hello!

Well, same as my comment from a week ago but in summay:

1. I created the myObject (VB.Net, No XAML): See my comment form a week ago for more details.
2. What I need is to change foreground color of a specific row based on a cell value (the value is readonly and got it from database).

My best guess to solve it was thru myObject.Template with a Custom control template but again thats where I got the error.

Bottom line: How do I change the foreground color of a specific row.

Can you show me an example on how to do it right?

Thank you for your help!

Cannot Assigne Data Source to new C1FlexReport

$
0
0

Hello Together,

I am not sure if i found a Bug but each new C1FlexReport that i want to create do not accept any data source after choosing the table or a query.

Is their a tipp or trick to do this? or a new update of C1FlexReport?
I am using the version : 4.0.20153.102

The long way is to create a Report with C1Report and Import in C1FlexReport but i think this is not elegant.

Best regards
Said

Reply To: Row Parent Node

$
0
0

Hi,

Thanks for providing the code snippet.

For getting the index of the parent node, apart from traversing through loop there is one another way, which is far more efficient too.
You could use the "GetNode()" of the node and also calculate it for Parent as "NodeTypeEnum.Parent" and capture its row and eventually its index.
Please refer to the following code snippet for reference:

   //row is any row object
 
                row.IsNode = true;
                var node = row.Node;
                Node parent = node.GetNode(NodeTypeEnum.Parent);
                Row r = parent.Row;
                int parentIndex = r.Index;

Attached is the sample application implementing the same. You just need to click on any row and it will show you the index of root node and also the index of parent node. It will also work for multilevel nodes.

Best Regards,
Akshay

Getting System.FormatException

$
0
0

So I am trying to edit Row styles in TrueDBGrid for a specific column condition.
Below is the snippet:
private void OnDatabaseGridFetchRowStyles(object sender, FetchRowStyleEventArgs e)
{

var Active = Convert.ToInt32(databaseGrid.Columns["Active"].CellValue(e.Row));
if (Active == 0)
{
e.CellStyle.BackColor = Color.LightGray;
e.CellStyle.ForeColor = Color.WhiteSmoke;
e.CellStyle.Font = new Font(e.CellStyle.Font, FontStyle.Italic);
}
SO initially it works fine, but when I traverse to new window and comeback to this particular grid window , it throws format exception at e.Row.(Also Active is a tinyInt retrieved from MySQL workbench)

I have tried a similar code on another form and that works fine.
Any help appreciated.
Thanks in advance.

Reply To: C1Live Initialization Error


Reply To: C1Live Initialization Error

$
0
0

I am getting this as well due to the Win 10 Anniversary update. This is not a new issue and I am rather disappointed that it happened again given how predictable it was. C1 has not done their work properly, this time around it should be handled gracefully yet it is not.

Reply To: Edit Flexgrid from 2nd form

$
0
0

Hi Jay,

see attached sample: I use an ellipsis button in each cell ("...") to show an edit form.

Does this help? Of course the sample is not data bound. It seems you have a data bound grid?

Best regards

Wolfgang

Reply To: FlexGrid "no data" message

$
0
0

Hi John,

I can see that for template column, the previous solution does not work. Setting cells innerHtml in the itemFormatter might help, I will check with developers if there is another way to it using template. It will take couple of days since the grid developer is on vacation.

Thanks.

Reply To: C1Live

$
0
0

i have same problem and my c1live version already 2.1.20152.52225

my os is window10

Reply To: Getting System.FormatException

$
0
0

Hi,

Thanks for providing the coded snippet.

We tried implementing it, and it seems to work perfectly fine. After C1TrueDbGrid is loaded, we switch to a new form window and then come back to the main screen. However, the output screen does not shows any error. Please refer to the attached sample application. We have tested it with the latest builds of C1Winforms i.e; 4.0.20162.188 under Windows 10 (64-bit) machine environment.
Hence, we request you to please make necessary changes in the attached sample application to represent the issue and share it back. It would be very helpful if you could share the screenshot of the exception you are facing and the build version of C1Winforms you are using.

Thanks,
Akshay

Viewing all 14170 articles
Browse latest View live


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