Telerik Forums
UI for WinForms Forum
5 answers
323 views
I want to say that you've done a great job and your controls look amazing. Now I'm trying to change one of the RibbonBar themes with your Visual Style Builder and I'm a little bit confused.
I have a hierarchy of Chunk - ElementWithCaptionLayoutPanel - FillPrimitive. If I want to change the BackColor of the chunk item which BackColor property I have to change? The BackColor of the Chunk, the BackColor of the ElementWithCaptionLayoutPanel or the BackColor of the FillPrimitive?
jezzicaz789 jezzicaz789
Top achievements
Rank 1
 answered on 23 Jan 2010
2 answers
181 views
  Dim sfd As New SaveFileDialog  
        Dim exporter As ExportToExcelML = New ExportToExcelML(Me.gv_urzadzenia)  
        sfd.DefaultExt = ".xls" 
        sfd.Filter = "Excel files (*.xls)|*.xls|All files (*.*)|*.*" 
        If sfd.ShowDialog() = System.Windows.Forms.DialogResult.OK Then  
 
            Try  
                exporter.SheetName = "urzadzenia" 
                exporter.SheetMaxRows = ExcelMaxRows._1048576  
                exporter.ExportVisualSettings = True 
                exporter.RunExport(sfd.FileName)  
                MsgBox(lng.zwroc_napis_z_nazwy_elementu("usr_planowanie_zostalo_poprawnie_wyeksportowane"), MsgBoxStyle.Information, lng.zwroc_napis_z_nazwy_elementu("okno"))  
 
            Catch ex As Exception  
                MsgBox(lng.zwroc_napis_z_nazwy_elementu("usr_planowanie_niezostalo_wyeksportowane"), MsgBoxStyle.Critical, lng.zwroc_napis_z_nazwy_elementu("okno"))  
 
            End Try  
              
        End If 
Hello. I have a problem with national characters. In grid they look properly but after export to excel  they are converted into question marks. Does anyone know how to solve this problem? Thank you.
bradley baker
Top achievements
Rank 1
 answered on 22 Jan 2010
1 answer
293 views
Dear everybody,

my request is it to dynamically calculate cell values.

I feed my RadGridView with a dataset or datareader. I am looking for an event which gets fired while data is bounded. The method shall allow me to modify the current cell value based on a calculation of other cells. Something similar like excel also provides with the formula stuff.

Is there any way you can help me?

I also tried events like cellvaluechanged, cellvalidation,valuechanging and the other stuff.

Thanks for a quick reply.

best,
Martin Vasilev
Telerik team
 answered on 22 Jan 2010
3 answers
276 views
Hi,
I am experiencing a problem with RadGroupBox.

Scenario...
I have added a radgroupbox in a table layout panel, and set its dock state to fill, so that now it fills a single cell of a table layout panel.
Now i want to add some controls to radgroupbox and want them to resize accordingly as my RadgroupBox resize on my form resize.
So i add a table layout panel to radgroupbox and sets (table Layout panel) dock property to fill but problem arises.

Problem...
When i fill the table layout panel it fills the whole radgroupbox container including the header, footer boundaries etc. 
In a standard group box the table layout panel should only fill the allowable control container not the whole radgroupbox container...
Any solution to this..



P.s. I am attaching some pics..
Thank you

Martin Vasilev
Telerik team
 answered on 22 Jan 2010
1 answer
119 views
I see allowing the user to hit the "Tab" key will navigate through tabs, but I do not know how to implement this.  I have the latest release of Telerik.  Thanks.
Nikolay
Telerik team
 answered on 22 Jan 2010
9 answers
467 views
Hello,

Our MDI Application has a RadDock in the main workspace.
The theme has been reset.
I allow the users to choose a theme for the application, and on choosing the theme, all of the controls have the theme applied correctly.

If the user choosers Office2007Silver, then the background colour of the RadDock changes correctly to a silver/grey colour.
On all other themes, the background colour stays the default blue.

I'd like it to change together with the theme choice correctly. My available themes to choose are:
Office2007Silver
Default
Breeze
Desert
Vista

If this is not possible, I'd like to just set the background colour to a default of my choice, but choosing a new background colour for raddock (or the document container or dock panel) doesn't seem to make any difference.

Thanks
Nikolay
Telerik team
 answered on 22 Jan 2010
2 answers
382 views
Hi,

I have a RadListBox that I fill with just some strings, like this

 

 

RadListBoxItem item = new RadListBoxItem(str);  
listBox.Items.Add(item); 

I want this ListBox to stay sorted, so I set

 

listBox.Sorted = Telerik.WinControls.Enumerations.SortStyle.Ascending; 

Yet, the string are not sorted. What am I missing?

I tried listBox.Items.Sort. The string are sorted, but then selection is screwed up. Clicking the first item in the list will select the actual first item added to the list.

Pierre Alain
Top achievements
Rank 1
 answered on 22 Jan 2010
1 answer
168 views
Dear all ,
I am facing problem with Heirachichal data grid view.
i went thorug the online sample. for bounded and unbouded grid views

with the unbounded grid
 
------------------------------------
i am facing problem for adding the chilld templte rows
GridViewTemplate template = radGridView1.MasterGridViewTemplate.ChildGridViewTemplates[0];
template.Rows.Add()

template.Rows.Add()  functionality is not  supporting. :(


with the bouded grid
--------------------------------
below given is the source code used for bouded grid

 

DataSet

 

ds = new DataSet ();  

 

 

ds.ReadXml(

@"Parent.xml");  

 

 

 

DataTable Parent = ds.Tables[0];

ds =

new DataSet();  

 

ds.ReadXml(

@"Child.xml");  

 

 

DataTable Child = ds.Tables[0]; 

 

radGridView1.AutoGenerateHierarchyFromDataSet =

true;  

 

radGridView1.MasterGridViewTemplate.AllowAddNewRow =

true;  

 

radGridView1.MasterGridViewTemplate.DataSource = Parent;

 

//setup the child template 

 

 

GridViewTemplate template = new GridViewTemplate();  

template.AllowAddNewRow =

true;  

 

template.DataSource = Child; 

 

//create the relation  

 

 

GridViewRelation relation = new GridViewRelation(radGridView1.MasterGridViewTemplate);  

relation.ChildTemplate = template;

relation.RelationName =

"ModuleID";  

 

relation.ParentColumnNames.Add(

"ModuleID");  

 

relation.ChildColumnNames.Add(

"ModuleID");  

 

radGridView1.Relations.Add(relation);

 

// Adding child template to Main Grid  

radGridView1.MasterGridViewTemplate.ChildGridViewTemplates.Add(template);

radGridView1.AutoGenerateHierarchyFromDataSet =

true

Sample Data in Parent Table.
---------------------------------------- 

 

<

 

Table
<
ModuleID>1</ModuleID>  

 

<

 

ModuleName>Organisation</ModuleName>  

 

<

 

ArbModuleName>arbOrganisation</ArbModuleName>

 

 </

 

Table>
Sample Data in child Table
----------------------------------

 

<

 

Table>

 

 <

 

ModuleID>1</ModuleID>

 

 <

 

FormID>2</FormID>  

 

<

 

FormName>frmCountry</FormName>

 

 <

 

FormDescription>Country Details</FormDescription>

 

 <

 

FormArbDescription>Arb Country Details</FormArbDescription>

 

 </

 

Table 

The grid is displaying only the parent table data.
I didnt changed any property of the grid except in the above code

please give me a solution.

Thanking you

Sabindas K S

Julian Benkov
Telerik team
 answered on 22 Jan 2010
2 answers
175 views
I'm trying to loop through all controls and translate text and tooltips. The text is under the control and the tag (which I'm using) can be found under the ElementTree.RootElement. I see that the toottip is under RadItem. How do I get to the RadItem from a RadControl or RadElement?
Ruth Goldberg
Top achievements
Rank 1
 answered on 21 Jan 2010
2 answers
149 views

Hello everybody,

we are using RadControls for WinForms Q3 2009 SP1 and want to change the items of a ComboboxColumns editor by the value of the cell of another column.

For this in GridView.CellBeginEdit we set the editors element to the filtered datasource and expected the Comboxbox just to show the items of the filtered datasource BUT it shows all items of the original unfiltered datasource.

RadComboBoxEditor editor = m_gridView.ActiveEditor as RadComboBoxEditor;
if (null != editor)
{
   ((RadComboBoxElement)(editor.EditorElement)).DataSource = filteredDataSource;
}

Did we make a mistake or is it just a bug???

Greetings from Berlin, Germany

Daniel

Nikolay
Telerik team
 answered on 21 Jan 2010
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?