Telerik Forums
UI for WinForms Forum
1 answer
131 views
Based on the traffic here, the beta does not seem to have a big response in the community.

Why? Some suggestions:

The released product feels a lot like an ongoing beta, with all the bugs that break existing functionality in each and every new release that I worked with so far. People are probably not keen on trying something that Telerik labels 'Beta'.

The beta is so buggy and incomplete, that after first sight I am reluctant to work on a version on my app using the new docking manager.
Will there be a new and feature complete beta before release of Q2? I'm afraid the Q2 will not be usable. So should we wait until SP2 or SP3 of Q2? On the other hand, if there is noone using the stuff, you will not get real bugs fixed.

The incentives of working with the beta and reporting bugs might not be attractive enough. How about giving a free one year license for everybody who reports a bug.

The most important question: are you going to maintain the present docking manager (Q1) (inkl. fixing its many bugs).

regards
Erwin
 
Vassil Petev
Telerik team
 answered on 07 Jul 2009
3 answers
237 views
Hi,
I am using Telerik RadChart for our sales persons target&realization&performance graphics (at least 2000 person's charts * 3 times for every entrance to the system). When i use asp.net for creating images on the fly, there is going to have a memory problem in IIS. It is going higher and higher and at last application server gives "Out of memory" error. So i determined that, i am going to preprocess those images and will going to show.  So there will not be any problem on web server i thought.

But, i have another problem on this new issue. I take all the code to the winform and create a new windows application to create all charts. After that, when i tried to create charts, again the memory usage is going higher for each time i saved the chart.

In my Code, there is a radChart1 object, which has one serie for a line, XAxis and YAxis properties are also specified. So in the code behind, I wrote this code;

******************************
DataSet

dsMsas = new DataSet(); //

dsMsas = df.GetMsas(); // it is getting from a database function class (all sales persons)

 

for (int i = 0; i < dsMsas.Tables[0].Rows.Count; i++)

{

Telerik.WinControls.UI.

 

RadChart rc = new Telerik.WinControls.UI.RadChart();

rc = (Telerik.WinControls.UI.

 

RadChart) radChart1.Clone();

try

{

 

 

string intMsaCode = dsMsas.Tables[0].Rows[i][0].ToString();
DataSet ds = new DataSet();

ds = df.GetMI(intMsaCode); //get Market Index data for sales persons

 

Double dblMinValue = 0, dblMaxValue = 0;

ChartSeries miDataSeries = rc.GetSeries("Series 1"); // only one serie in the chart

rc.ChartTitle.TextBlock.Text =

 

"MI " + ds.Tables[0].Rows[0][2].ToString() + " / " + ds.Tables[0].Rows[0][3].ToString();

if (miDataSeries != null)

{

dblMinValue =

Convert.ToDouble(ds.Tables[0].Rows[0][1]);

 

 

dblMaxValue = dblMinValue;

miDataSeries.DefaultLabelValue =

"#Y{N0}";

foreach (DataRow dbRow in ds.Tables[0].Rows)

{

 

if (dblMinValue > Convert.ToDouble(dbRow["pdMIMS"]))

dblMinValue =

Convert.ToDouble(dbRow["pdMIMS"]);

if (dblMaxValue < Convert.ToDouble(dbRow["pdMIMS"]))

dblMaxValue =

Convert.ToDouble(dbRow["pdMIMS"]);

 

 

rc.PlotArea.XAxis.AddItem(dbRow[

"psMonthName"].ToString().Substring(0, 3));

 

 

miDataSeries.AddItem(

Convert.ToDouble(dbRow["pdMIMS"]));

 

 

}

}

 

double dblAvgValue = Convert.ToInt32((dblMaxValue - dblMinValue) / ds.Tables[0].Rows.Count);

rc.PlotArea.YAxis.MaxValue =

Convert.ToDouble(Convert.ToInt32(dblMaxValue) + dblAvgValue);

 

 

rc.PlotArea.YAxis.MinValue = 

Convert.ToDouble(Convert.ToInt32(dblMinValue) - dblAvgValue);

int intStep = Convert.ToInt32((rc.PlotArea.YAxis.MaxValue - rc.PlotArea.YAxis.MinValue) / ds.Tables[0].Rows.Count);

rc.PlotArea.YAxis.Step = intStep <= 0 ? 1 : intStep;

 

rc.Save(

"MainPageImages/MI/" + intMsaCode + "_MI.png", System.Drawing.Imaging.ImageFormat.Png);
//after this part the memory is going higher, when i throw this part there is nothing happened, no memory usage.

miDataSeries.Clear();

rc.PlotArea.YAxis.Clear();

rc.PlotArea.XAxis.Clear();

rc.Dispose();

rc = 

null;

 

 

}

 

catch (Exception ex)

{

 

//nothing

 

string strE = ex.Message;

}

}

dsMsas =

null;

***************************************** 
SO, what can i do for that, i must solve this problem urgently.

Dwight
Telerik team
 answered on 07 Jul 2009
4 answers
162 views
Hi,

I have an application with multiple docked/tabbed panels. I also launch some panels as floating windows. All my panels derive from UserDockControl.

On certain panels I have OK/Cancel buttons which commit changes to the database, or cancel them. I would like to implement support for firing these buttons if/when the user hits Enter/Esc on their keyboard.

This is handled in normal WinForms via the AcceptButton and CancelButton properties of a Form. I see these properties exist for UserDockForm as well, however if I try deriving my panels from UserDockForm I get behaviour I am not happy with - i.e. I can't seem to launch the panels as floating.

Is there a way to implement the AcceptButton/CancelButton support in a panel derived from UserDockControl? 

What is the difference between UserDockControl and UserDockForm?

Thanks in advance,
Ben
Julian Benkov
Telerik team
 answered on 07 Jul 2009
5 answers
247 views

Hi,

I would like to use the multicolumn combobox as a lookup combobox. If I setup the mc combo with the same properties as a normal combobox it gives me the following message.
---------------------------
RadGridView Default Error Dialog
---------------------------
The following exception occurred in the RadGridView:

System.Data.ReadOnlyException: Column 'BusID' is read only.
   at System.Data.DataRow.set_Item(DataColumn column, Object value)
   at System.Data.DataRowView.SetColumnValue(DataColumn column, Object value)
   at System.Data.DataColumnPropertyDescriptor.SetValue(Object component, Object value)
   at Telerik.WinControls.Data.DataAccessComponent.set_Item(GridViewRowInfo row, GridViewDataColumn column, Object value)
To replace this default dialog please handle the DataError event.
---------------------------
OK  
---------------------------
These are the (in my opinion) relevant designer.cs entry's

// cmbJourneyBus(multicolumncombobox)  
this.cmbJourneyBus.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.journeyBindingSource, "BusID", true));  
this.cmbJourneyBus.DataSource = this.busBindingSource;  
this.cmbJourneyBus.DisplayMember = "BusNumber";  
this.cmbJourneyBus.ValueMember = "BusID";  
 
// radComboBox1 (standard radcombobox)  
this.radComboBox1.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.journeyBindingSource, "BusID", true));  
this.radComboBox1.DataSource = this.busBindingSource;  
this.radComboBox1.DisplayMember = "BusNumber";  
this.radComboBox1.ValueMember = "BusID"; 

Am I doing something wrong or is this a bug?

Kind regards,

Edwin Dirkzwager
CIP Software BV
The Netherlands.

Julian Benkov
Telerik team
 answered on 07 Jul 2009
3 answers
443 views
Hi, i need to change the language for the option EnableFiltering in a GridView,  is it posible? For Example "Ends With" to "Termina con"


Regards!!

Deyan
Telerik team
 answered on 07 Jul 2009
3 answers
310 views
How can I specify which auto hide panel a dock panel hides to?  For example, I have a dock panel that is currently hiding to the bottom auto hide panel, but I would actually like it to hide on the left auto hide panel.
Georgi
Telerik team
 answered on 07 Jul 2009
1 answer
180 views
Hi
I need following functionality:
When user press a button I iterate all childrows checking the values in cells and if those values are not ok i pop out a Message.box warning the user. Then I want to enable him to change the incorrect cell value, therefore I need to make that cell editable. I use following code:

Me.RadGridView.Rows(i).ViewTemplate.AllowEditRow = True
Me.RadGridView.Rows(i).ViewTemplate.Rows(0).Cells(0).BeginEdit()
Me.RadGridView.PerformLayout()
Me.RadGridView.BeginEdit()

The cell stays readonly.
Thank you in advance!
Jack
Telerik team
 answered on 07 Jul 2009
1 answer
143 views
I noticed that the Ribbon Bar has an Exit and an Option button at runtime, but not at design time(?).
How can I register event handlers for these buttons?

Regards
Erwin
Deyan
Telerik team
 answered on 07 Jul 2009
2 answers
124 views
I just installed 2009 Q2 and my application that uses RafForm failed (no reference to Telerik.WinControls.RadForm). I was able to get it working by replacing the this with Telerik.WinControls.RadFormOld on the Inherts statement. (but now I get is obsolete warnings)

My question is: Where is RadForm? I can't find any reference to RadFormOld in the docs on online and I can find RadForm to use in the inherts statement.
George
Top achievements
Rank 1
 answered on 06 Jul 2009
3 answers
253 views
Hi, I was testing out the export to excel feature using the ExportToExcelML object but I found out that it throws out of memory exception when the grid has over 65000 records. I used the following source code:

         void exportExcel_Click(object sender, EventArgs e)
        {
            SaveFileDialog fileSave = new SaveFileDialog();
            fileSave.Filter = "Excel Files(*.XLS)|*.xls";
            if (fileSave.ShowDialog() != DialogResult.OK)
                return;
            string strExportLocation = fileSave.FileName;
            ExportToExcelML exporter = new ExportToExcelML();
            exporter.HiddenColumnOption = ExportToExcelML.HiddenOption.DoNotExport;
            bool exportThemeColors = false;
            exporter.RunExport(radGridView1, strExportLocation, ExportToExcelML.ExcelMaxRows._65536, exportThemeColors);
        
        }

did I do something wrong or is it a problem with the ExportToExcelML object?
Martin Vasilev
Telerik team
 answered on 06 Jul 2009
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?