Telerik Forums
UI for WinForms Forum
3 answers
239 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
98 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
429 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
349 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
144 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
139 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
129 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
1 answer
81 views
For your appoiment edit dialog,  when set recurrence rule, you can do folllowing:

for weekly , you have recur every  1 or 2  weeks on option
for monthly,  you have every  1 or 2 months  option


How to set those options in recurrence rule instance in the code?

Do you have any sample code to do these?
Dobry Zranchev
Telerik team
 answered on 21 Jan 2010
1 answer
95 views
We set an appoinment with monthlyrecurrence rule.  

Following is the sample code:

--------------------------------------------------------------------------------------------
Appoinment a = new Appoinment ()

a.Start = new DateTime (2010, 1, 20, 8, 0, 0);
a.End = a.Start.Add (new TimeSpan(0,0,30,0));

MonthlyRecurrence monthrule = new MonthlyRecurrenceRule();
monthrule.Start = new DateTime (2010, 2, 1);
monthrule.End = new DateTime (2010, 6, 1);
monthrule.WeekDays = WeekDays.Tuesday;
monthrule.WeekNumber = 1;

a.RecurrenceRule = monthrule;

Radscheduler1.Appoinments.Add(a);

-----------------------------------------------------------------------------------------------------------------------

We only see two appoinments showing up,  the first Tuesday of February and March.   But there are more than two months,  By this rule,  the appoinment is supposed to show up in February, March, April, May and June?

What do we miss here ?

Dobry Zranchev
Telerik team
 answered on 21 Jan 2010
1 answer
102 views
We only want to use scheduler to display a list appoinments without adding new appoinment and editing existing appoinment.

How can we disable appoinmentEditDialog so that when we click the scheduler, no appoinmentEditDialog pops up?
Boyko Markov
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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?