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

Reply To: Can you 'disable' docking behaviour?

$
0
0

Hi,

Thanks for the sample and the video. I could observe the behavior. To fix this we may simply toggle the 'Enabled’ property of each C1CommandDock on the From. With CommandDock disabled, user can’t drag/float a DockingTab anymore.

private void SetDockingState(Control.ControlCollection controls, bool free_docking)
{
    foreach (var c in controls)
    {
        if (c is C1CommandDock)
        {
            C1CommandDock cd = c as C1CommandDock;
            cd.AllowFloat = free_docking;
            //Disable he CommandDock to prevent the DockingTabs from being dragged.
            cd.Enabled = free_docking;
             //TODO>>>>>>
        }
    }
}

S0rry for the delay in response :(

Anupam.


Reply To: Can you 'disable' docking behaviour?

$
0
0

Hi,

No problem, we’re busy enough as it is, as well :) .

Unfortunately, your proposed fix doesn’t work. The enabled state is inherited. So if I disable the commandDock, I can no longer switch tabs on the dockingtabs that are on the command dock. The controls that are placed on the individual tab pages are also disabled. But we still need to be able to do this.

XE Bookmark in word heading shows up in html help link text

$
0
0

Hi!

If I link in my word document to a heading that has a bookmarked word in it, like heading MAC{XE MAC} check of SPDH Response),

then the link shows up in html help output as MAC XE "MAC"

It seems that the html help compiler is unable to disregard the XE-bookmark in the linked heading text. Further, the heading text after the bookmark does not show up in the link-label in the html-output.

Is there a work around to this problem?

/Kjell-Olov Högdahl
CEO The ITfied AB

Running into errors filing

$
0
0

When I remove the tables, BE_ADMIN and BU_ADMIN, I am getting the error message, “"Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints in table(s): BE_ADMIN, BU_ADMIN”
Both tables have at least one row for the User_ID_C, BE_ID_N and BU_ID_IN in the respective tables.
What am I doing wrong?

Reply To: Running into errors filing

$
0
0

Sorry, when I leave the tables BE_ADMIN andBU_ADMIN in, I get that error message. When I remove them, the filter is applied without raising errors.

Venki

Advanced restoring of DockingTabs

$
0
0

Hi,

It seems that we are really putting your DockingTab control to the test. As such, we have found another issue. :)

Description:
* Our form contains multiple commanddocks with multiple dockingtabs.
* Users are given the option to select from a set of default layouts. This is great for users that are less comfortable with arranging the windows themselves.
* The layouts were saved with 'C1.Win.C1Command.C1DockingTab.SaveLayout’, and are restored with the corresponding 'RestoreLayout’ method.

Problems:
1) Sometimes, the Width or the Height of the restored area(s) does not seem to be correct. This can lead to either very narrow or very wide areas.
Expected behavior: the width and height is restored correctly.

2) Sometimes, the order of the restored CommandDocks is not consequent.
Graphically, when the window position was saved as this:

1111122
1111122
mmmmm22
mmmmm22

It will be restored as this:

1111111
1111111
mmmmm22
mmmmm22

(notice that area 1 is placed among all the width now, instead of 'stopping’ for area 2).
Expected behavior: the positioning/order of the command docks is always the same.

I have attached a stripped down code sample. It contains a form with a few docking tabs. You can press a button that allows you to dock freely, and two buttons to restore a predefined layout.

Could you have a look into this and advise?

Reply To: Advanced restoring of DockingTabs

Reply To: C1 LightSwitch components won't load due to publickeytoken=null

$
0
0

To solve the problem I enabled the C1BulbChanger add-in. This is available by going to Tools->Add-on Manager and selecting C1BulbChanger for LightSwitch. Additionally I had to remove the reference under Client references for System.XML.Serialization. This solution did not change the publickeytoken. That still remains null but C1BulbChanger works out the assembly reference errors. To find out more about C1BC see this link http://our.componentone.com/groups/topic/resolving-assembly-reference-errors-2/.


Reply To: Export to Excel when using special chars

$
0
0

Hello Sven,

I tested this with C1Olap for Lightswitch build 35 and it works correctly at my end while exporting to CSV format.

Could you please test your application with this build and let me know if it works for you. You can download the build from the following url :

http://www.componentone.com/Downloads/

Thanks,
Richa

Reply To: Access to records in Detail View

Reply To: Running into errors filing

$
0
0

I found the underlying problem.

The User_ID_C was "VVENK" in the primary table (APPL_USER) and "vvenk" on the child tables (BE_ADMIN AND BU_ADMIN).

One of the filter conditions used a value of "vvenk" and C1DATA did not like that value when trying to enforce the foreign key relationships.

Is this normal behavior? By the way, MS SQL Server is set up with a character set (SQL_Latin1_General_CP1_CI_AS) that disregards upper and lower cases.

venki

Unable to display widget when using MVC 4 Wijmo Application Template

$
0
0

I am able to display the calendar widget when using a simple HTML page but I am unable to get the widget to display when I try to add the widget to the MVC4 Wijmo Application Template. Ive added the same references and script that were in the head of the simple HTML page to the _Layout.cshtml file. I added the same markup that was in the body of the simple HTML page to the About.cshtml file but the widget fails to display. What am i missing??

Exporting templated column header to Excel

$
0
0

Hello Support,

I have a C1DataGrid with headers that contains a label which text property is bound to an object.
All is constructed at runtime inside the AutoGeneratingColumn event.
When I want to export my grid to Excel, the column hearders are not exported. This is normal as the header is templated.
What is the best way to have my custom header string be exported to Excel ? If I understand, the ToString() method will be called on each column hearder property instead, but how do I actually override this method only once and for all column type (I let the grid decide which column type is best for hte data type being displayed) ?

Thank you for your help,
-jeff.

Reply To: Access to records in Detail View

$
0
0

Hi Richa,

Thank you. This looks like exactly what I’m looking for but I think the snippet I saw in the post associated with the above link had a tiny bug.

I kept getting an IndexOutOfRange exception on the 'var data = ' line and upon closer inspection, it seems as though OlapTable only has one column. The data that was displayed also seemed to be out by one row.

Changing the data line to select 'hti.Row-1′ and Column ’0′ seemed to do the trick:

// get data using OlapEngine
 var data = _c1OlapPage.OlapEngine.GetDetail(_c1OlapPage.OlapEngine.OlapTable.Rows[hti.Row - 1], _c1OlapPage.OlapEngine.OlapTable.Columns[0].ColumnName);

Everything was okay, it seemed, until I sorted the detail column in the OlapGrid. Then, the results seemed somehow inconsistent with the rows. When i stopped sorting, they were consistent again. I was using version 4.0.20123.123. Thinking it was version issue, I upgraded to v4.0.20131.132 and problem seemed to persist.

I downloaded the Northwind test application posted in the attached link and I was able to replicate the behavior with the app and the upgraded v4.0.20131.132 Olap library. This is how: I started application and used "Country" in the Rows Field and "ProductName" in sum field. In the default view, it works perfectly ("Argentina, 34 Products was the first row"). When I sorted ProductName, "Norway, 16 Products" is what should have be displayed in the first row but I still seemed to get "Argentina, 34 Products". When I sorted the other way, I should have gotten "USA, 352″ in the first row but I still seemed to get "Argentina, 34″.

BTW, I see that bug on 'var data=’ also seems to be fixed in that Northwind test app.

Please advise if you think I might have missed something during my testing.

Regards,
Mahapela

Reply To: Print Error – Index out of range

$
0
0

How can I remove the printer icon during the form load event so the customer doesn’t have to deal with getting this error?


The css and js files are too large

$
0
0

Hi all,

I used c1treeview control in my project, when running the project it will load multiple javascript file and css file to the client side, and size of them is about 1.8M.
And also I found that those file including all the resources about all of the c1 wijmo asp.net controls.

It makes the page rendered slowly, so can I handle it just to load the resources associated with c1treeview control?

Regards
Richard Wang

Reply To: XE Bookmark in word heading shows up in html help link text

Reply To: C1DataGrid SummaryRow

$
0
0

One problem is also that the sum rows from the group row are included in the bottom rows and I don´´t want it.. Can I bind the summaries on my own logic??

Regards

Reply To: PDFViewer clicking on page scrolls to bottom of the page!?

Upgrading VB6 to VB.Net

$
0
0

Dear Component One,

I would like to ask some questions about my flexgrid.
I’ve already bought VSFlexgrid Pro 8.0 and I used it with VB6.0.
But I upgrade my VB 6.0 to VB Net and I want to use VSFlexGrid in VB.Net.
The questions I want to ask are:
Can I use VSFlexGrid in VB.Net?
If not, how can I upgrade my FlexGrid?
Do I need to pay additional fee for upgrading?

Viewing all 14170 articles
Browse latest View live