No Reply Why?
Reply To: Problem Export to Excel
Reply To: how to display horizonal scrollbar in C1DockTabItem in C1DockControl.
Hi Reema,
Thanks for the reply. but adding Scrollviewer into my code creating some issues.
Main issues is my applications becomes heavy.. Performance gets degraded, its took so much time to do perform simple operation also (like change label on button click). It also get hangs. but when i comment Scrollviewer then it’s working fine.
Please help me on this.
Regards,
Pallavi
Reply To: 3DChart Question
Thank you for your answer. I’ve understood it considering third question.
Well, I’ll explain more clearly firsts two.
1) Sometimes after surface redraw firsts and lasts values of axes are visible, sometimes they are not visible, and sometimes some of them are visible and some of them do not. Is it possible to force them to be visible always?
2) Let us suppose that we have a surface which we can see with according axes of coordinates. Let’s try to rotate the figure with the mouse. At this very moment the surface disappears and we can see only axes. Then we release the mouse button and then can see the surface again. And of cause it is possible, that new view is not better than first one, since operator was not able to see which position is the most convenient. So is it possible to see the surface during rotating?
outofmemory when creating SectionReport containing pictures
Hi everyone,
I manage to create a section report that contains a picture box and export it to excel when i have a just a few lines but i get an outofmemory when creating SectionReport with more lines.
Reply To: outofmemory when creating SectionReport containing pictures
so i tried to Set the CacheToDisk property of the document to True but I still have the outofmemory
Close button gets display for tab item in chart when user tries tro rearrange th
Hi,
i have set "CanUserHide="False" in code so that Close button will not be displayed to rightmost top corner on tab and user not able to close the Tab item.
But when tries to rearrage the tab controls then "Close" buttons gets displayed for the tab item.
Please help to resolve this issue.
Regards,
Pallavi
C1ToolbarDropDown , How to Hide Menu List Image (Arrow Mark) conditionally
Hi Team ,
I have A Toolbardropdown with menu list .
How can i hide the Arrow on top of the menu list when i want to hide the menu list conditionally . currently i am able to make visibility false of the menu list using ( Visibility.Collapsed property ) , but still i am able to see the small Arrow Icon over top of the menu List .
Please help me on this .
Thanks in Advance .
Regards ,
KK danda.
Reply To: C1 Gridview Update problem?
Reply To: outofmemory when creating SectionReport containing pictures
i saw mohita answer on her
http://stackoverflow.com/questions/22463032/activereports-and-bitmaps-using-too-much-memory
so i swithed to filestream to get the image but with no luck
Hide subreport in script?
I want to conditionally hide a subreport. I have tried this in the script section but it just locks up and doesn’t do anything. Is this correct or is there a better way?
SubrptDC401K.LoadLayout(System.Web.HttpContext.Current.Server.MapPath("~/ReportLib/rptSubRptPlan401K.rpx"));
this.subRptDC401K.Report = SubrptDC401K;
Int32 i = this.txtPlanType.Text.IndexOf("K");
If(i == 0);
{
this.subRptDC401K.Visible = false;
}
Thanks
C1Chart Anno text update margin width
I am updating the anno labels for multiple y axes in the AnnoCreated handler. Unfortunately, the width that was needed for the original itemSource values was very large (like a double with a lot of decimal places) and when I overwrite the text in the textblock with a small width text, there is lots of white space left in the Y-Axis anno label area.
void a_AnnoCreated(object sender, AnnoCreatedEventArgs e) { var axis = (C1.WPF.C1Chart.Axis)sender; if (axis.AxisType == AxisType.Y) { var name = axis.Name; var labels = itemsSourcesDictionary[axis.Name]; var tb = (e.Label as TextBlock); tb.Text = labels[e.Index]; } }
Is there some way to cause the chart to "reclaim" the space and re-size based on the new TextBlock.Text content?
Thanks
Reply To: C1Chart Anno text update margin width
So here is the original without any annocreated handler text overwriting and the one where I overwrite in annocreated. Note the sizing is based on the original ItemsSource.
Thanks.
Reply To: AllowEdit = false
I need this functionality also.
In addition it would be useful if it was possible to restrict user from certain types of edits.
For example:
– Adding tasks
- Deleting tasks
- Changing tasks using the mouse
- Adding dependencies
- Changing the resource
- etc.
These things and more would be possible if there were events where the program could intercept user actions and either cancel them, modify them, warn the user, etc. So far I have not been able to find a good way to do these types of things.
Reply To: C1Schedule FAQs: read this before asking your question
Both of these links cause a 404 error (file not found)
How to create database to keep C1Schedule data?
Review these documents:
http://helpcentral.componentone.com/nethelp/c1schedule/#!Documents/creatingabindablemic.htm,
http://helpcentral.componentone.com/nethelp/c1schedule/#!Documents/mappingthemicrosofta.htm.
Re: Bug in New Version
The latest version 4 has a bug where a column will be blank. If you re-populate it the data will show up. This created a huge issue with a couple of my applications.
I looked at my code and the same code has been working for years with no issue. I downloaded previous version of TB Grid 4 and everything is fine.
Again this is an issue that should be looked at. I have screens where I get a cell value from a selected row and at times it will be empty (Null) when the database does not allow null values in these fields.
Thanks
Sunil
Issue adding new row in DataGrid
I just upgraded Studio for WPF from the 2009 version to the 2014 version and I’m having issues with the DataGrid on adding a new row. Consider the following simplified example.
public class MyCollection
{
public readonly int PrimaryKey;
public ObservableCollection
}
public class MyDataRow
{
public readonly int PrimaryKey;
public int MyCollectionPrimaryKey {get; set; }
public MyCollection MyCollection { get; set; }
public int SomeValue { get; set; }
}
I bind the DataGrid to the MyDataRows collection in the MyCollection class. The rows display as expected and the add new row is also displayed. I can step through setting MyDataRow.SomeValue correctly.
It appears that when the DataGrid goes to commit the changes for the new row that a new instance of MyDataRow is created and then attached to the collection. Then the values are copied from the new row line into the newly created object. Please correct me if this sequence is not accurate.
The issue I believe I’m having is that the objects have bi-directional relationship with each other (one to many). At the point when the new instance of MyDataRow is added to the collection, the values are all set to defaults. As part of observing the change (add) to the collection, MyDataRow.MyCollection get set to complete the bi-directional association. Then after the collection is added it appears then that the values are set in the object. Since the original object was not attached to a collection, the MyDataRow.MyCollection is null and then null is set on the new instance of the object.
Setting MyDataRow.MyCollection to null is also observed and the collection believes the the object is being removed, so Remove is called on the collection.
Any recommendations on how to get around this issue?
Reply To: C1Schedule FAQs: read this before asking your question
Try this link for the first one
http://helpcentral.componentone.com/nethelp/c1schedule/#creatingabindablemic.html
and this one for the second
http://helpcentral.componentone.com/nethelp/c1schedule/#datamappings.html
In respect of the first please note that using the same table structure will work in sql as well BUT if you use the entity framework you will need to make allowances for the guid as the unique identifier.
Dom
Is there any way to set datasource of report at run time in mvc.
Hi I am trying to using c1reportviewer control in mvc application.But i am not able to set datasource at run time.Is there any way.
Please help me.
Regards,
Rohit
how to set datasource at run time in mvc for wijmo c1report.
Hi I am trying to using cireportviewer control in mvc application.But i am not able to set datasource at run time.Is there any way.
Please help me.
Regards,
Rohit
DataSeries render behind C1Chart grid lines
I am using XYDataSeries in order to "paint" regions of the chart different colors. Is there a way to have the XYDataSeries render "behind" the grid lines?
I am using an alpha/transparent value to allow the grid lines to show at all in this image through the plot line color. I would like the colored regions to become the background.
Here is my c# for creating the color bars.
var sourceForBars = itemsSourcesDictionary["Conditions"]; for(int i = 1; i < sourceForBars.Count; i++) { var val = Convert.ToDouble(sourceForBars); var s = new XYDataSeries() { ChartType = ChartType.Line, ConnectionStrokeThickness = 39, ConnectionStroke = (SolidColorBrush)(new BrushConverter().ConvertFrom(GetColorFromCycle(i))), ValuesSource = GetArray(8, val), AxisY = "Conditions", AxisX = xAxisName }; s.PlotElementLoaded += s_PlotElementLoaded; chart.Data.Children.Insert(0, s); }
Thanks.