Telerik Forums
UI for WinForms Forum
0 answers
99 views
Hi!!

I'm noting some situation about GridViewNewRowInfo, because when CellEndEdit in first GridViewColumnComboBox column, I'm trying to put some text in a non-editable cell - 2nd column - according to index selected in first column, but text cells doesn't reflect the change (It keeps showing data text from DefaultValuesNeeded). I'm trying some like this into CellEndEdit event:

if (grdGridData.CurrentRow is GridViewNewRowInfo) 
  ((GridViewNewRowInfo)grdGridData.CurrentRow).Cells["DESCRIPTION"].Value = "Some text...";

Thanks

 

 

 

Aldemar
Top achievements
Rank 1
 asked on 07 Jul 2009
10 answers
161 views
So I upgraded my project and it broke right out the gate do to the radtitlebar...
So I decided to remove it and readd it thinking maybe it was a link poblem...

Everytime i go to add it to the form all i get is a nice fat:
No such property registered: Image, Telerik.WinControls.UI.RadButtomItem

Ok so I never delete my debug/release folders because I normally have resources in them that
i want and/or dont want to rebuild my entire project. Upgrading is normally very easy with the upgrade tool
and what not but sometimes you fail to forget linkage problems and spend the next hour
trying to figure out why something isn't working.

If you are having a similar problem above and Clean doesn't work shut down your project and delete
your debug/release folders reopen the project and compile it will work fine there after.

I know this is pretty simple stuff but if you are like me the simple stuff gets over looked because I tend
to think of bigger problems :)
Fred
Top achievements
Rank 1
 answered on 07 Jul 2009
1 answer
207 views
AutoDetectMdiChildren is work great but only for System.Windows.Forms.Form not RadForm.
I used RadForm as MdiChild and found that different from normal windows form.
The title bar of RadForm was showed in DocumentWindows, that's strange.
I changed FormBorderStyle to None but title bar still appear.

Please tell me how to use RadForm as MDI Child.

Apichat
Nikolay
Telerik team
 answered on 07 Jul 2009
2 answers
237 views
i read help document and does not explain how i can use Mdichildre.
I have an application with new Q2 RadDock. (i migrate).
I create tabdocumentes
 IVVSA.Solicitudes.WinForms.VSolicitudLocales frmsolicitudlocales = new IVVSA.Solicitudes.WinForms.VSolicitudLocales(((vPrincipal)this.ParentForm).Credencial);
                        frmsolicitudlocales.MdiParent = this.ParentForm;
                        frmsolicitudlocales.Dock = DockStyle.Fill;
                        frmsolicitudlocales.Show();

forms created like HostWindow and is into radDock1.DockWindows.ToolWindows. 
Is possible set into radDock1.DockWindows.DocumentWindows?

if i have a button in form to close then not run. Close from Form not fires close from radDock.
how i do it?
I suggest about an example to do correctly these problem. Manage MdiForms in tabDocuments.


Nikolay
Telerik team
 answered on 07 Jul 2009
1 answer
174 views
Hi:
How can I do the grid displays a default value in one cell, when inserting a row?
Jack
Telerik team
 answered on 07 Jul 2009
1 answer
121 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
226 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
140 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
231 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
430 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
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?