Telerik Forums
UI for WinForms Forum
3 answers
766 views
Is there any way to apply Flat style on RadButton element ?

Regards,

YSP
JigneshGN
Top achievements
Rank 2
 answered on 09 Feb 2010
1 answer
143 views
Hello,
Please, how can I load a Theme.xml at runtime in the RadThemeManager?
Can I embbed the themes in the resources proyect for loading it later?
I use Visual Basic 2008.
Thanks very much
Nikolay
Telerik team
 answered on 08 Feb 2010
3 answers
497 views
Hi. everyone.
    I can change color of ToolTabStrip in RadDock.
 But when it colapse, why it change to default color.
if anyone have ideas.please suggest me.


ToolWindow toolWindow = new ToolWindow("Menu");  
toolWindow.BackColor = Color.Transparent;  
this.dockWorkField.DockWindow(toolWindow, DockPosition.Left);  
 
//Change tooltabstrip color  
ToolTabStrip toolTab = (ToolTabStrip)toolWindow.Parent;  
toolTab.BackColor = Color.Transparent;  
toolTab.RootElement.Shape = this.roundRectShape;  
toolTab.Padding = new Padding(3);  
 
((FillPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[0])).GradientStyle = Telerik.WinControls.GradientStyles.Solid;  
 
((FillPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[0])).BackColor = Color.FromArgb(219, 198, 201);  
 
((FillPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[0])).Shape = this.roundRectShapeTop;  
              
((BorderPrimitive)(toolTab.RootElement.Children[0].Children[0].Children[1])).Shape = this.roundRectShapeTop;  
 
//Change splitter color  
FillPrimitive FillElement = (FillPrimitive)this.dockWorkField.RootElement.Children[1].Children[0].Children[0];  
FillElement.BackColor = Color.Transparent;  
FillElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid;  
 

Best regard
Anol Paisal
Nikolay
Telerik team
 answered on 08 Feb 2010
3 answers
173 views
I have a major problem with a Winforms project.  It uses MySQL, RadGrid and ORM.

It runs perfectly on any of my PCs which have the Development environment installed.

I put the "Release" folder on Windows 7 - and it just says "Windows has developed a problem" and shuts down. 

The only error message is in the application event log (see below).  All of the references in the project which referred to Telerik were set to "copy to local". I have absolutely no idea how to proceed with resolving it, and apparently nor does Telerik...  As you might imagine, I have a lot of very annoyed users...

It says:

Log Name:      Application
Source:        Windows Error Reporting
Date:          05/02/2010 10:44:07
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      42LMW.IFIC-GLASGOW
Description:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: workinprogressreport.exe
P2: 1.0.0.0
P3: 4b63120f
P4: Telerik.OpenAccess
P5: 2009.3.1119.2
P6: 4b054afb
P7: 114
P8: 32
P9: 4TQCSA4EAOUWV2DOZ0WOV5PI3NNWGLB4
P10:

Can anyone help?
Thanks

Barry
Vassil Petev
Telerik team
 answered on 08 Feb 2010
5 answers
209 views
ToolTabStrip Font Problem:
I changed the font style and size in the properties and all seems fine after running the program
http://img341.imageshack.us/img341/1681/19699031.jpg

But when I set the dock to autohide while it is running and viewed the dockwindow, the font changed
http://img707.imageshack.us/img707/2521/86467578.jpg


AutoHide Problem:

If I set the dock to autohide in the advanced layout designer, then run the program, the dock is missing
http://img690.imageshack.us/img690/2091/98301245.jpg

The dock can only be viewed if I minimize the Form then return to it.
My Form's windowstate is set to maximized and I've noticed that the problem occurs if the Dock is set to something other than "None" in the properties.










Nikolay
Telerik team
 answered on 08 Feb 2010
2 answers
154 views

I fill data in GridView using this Linq code:

 

 
var p = dbZ.ZleceniaLinies  
 
.Select(c => new  
 
{  
 
ID = c.idLinii,  
 
Typ = c.Typ  
 
});  
 
radDgvPozyc.DataSource = p;  
 


 

radDgvPozyc.DataSource = p;

It works very fine and I love Telerik GridView but. Line for adding new record is (I see it) on my form but I can't put data there. And I can't modify any cells because they not editable :(
I checked and RadGridView control is enabled and ReadOnly properties of the cell, column, and control are all set to false.

How set it do Add, Modify and Delete from this DataGrid?

Robert Stuczynski
Top achievements
Rank 1
 answered on 08 Feb 2010
3 answers
134 views
Controls location on form in run mode don't match with this controls location in design mode in RadControls WinForms 2009-Q2
Deyan
Telerik team
 answered on 08 Feb 2010
3 answers
194 views
Hi all, First time poster, long time visitor to the forums.
 
Here is what I would like to do and I am looking for insights on how to do this with Rad Menu controls. 

The win app we developed is getting a face lift with Telerik controls. (Yes! finally) We are planning on implementing our menu interface with Rad Menus along with Ribbon controls. I want to implement Favorites menu feature or some other form of "often used menu items" to be grouped together , may be a new ribbon tab??

We have more than 100 screens and most users use only 10 to 15 screen on a day to day basis, so I would like the user to be able to pick and choose which screens they would like to access quickly so they don't have to sift thru menu's or ribbons to get to their most often used screens.

May be create a hidden docked panel to quickly choose the screen and then it would collapse???

We use asp.net security implementation as the underlying authentication and authorization engine. I was thinking of using the asp.net profile management features to save favorite screen/menu items.

I am looking for any kind of input or suggestions on how to implement this.

Thanks.
-Yogesh Ramakrishnan.
Deyan
Telerik team
 answered on 08 Feb 2010
1 answer
233 views
Hi!

After a quick search I discovered that many-to-many relationships aren't supported in the GridView (using data binding). But, I still need to display such data, and wonder what your recomendations are to accomplish this.

Scenario:
Two classes:
- Concert
- City

The City can host zero or many Concerts, and a Concert man be held in zero or many cities. Class definitions below:
        class Concert  
        {  
            string Name;  
            List<City> Cities;  
        }  
 
        class City  
        {  
            string Name;  
            List<Concert> Concerts;  
        } 


I load the all the Cities into a separate List<City>, and all Concerts into another List<Concert> and via another method I resolve the many-to-many relationships:
        void LoadData()  
        {  
            List<City> AllCities = LoadAllCities(); // Load data from database  
            List<Concert> AllConcerts = LoadAllConcerts(); // Load data from database  
            ResolveRelationships(AllCities, AllConcerts); // Resolve many-to-many relationship  
 
        } 
I have only created ONE object instance per City and ONE object instance per Concert. The ResolveRelationships method just reads a relation-table and populates the City.Concerts and Concert.Cities collections. The City.Concerts and Concert.Cities collections just contain references to the objects originally loaded into AllCities and AllConcerts.

Now I want to display this into a grid. The MasterGridView can contain the Concerts and the ChildGridView can contain the Cities (or vice versa).

What are your recomendations on how to accomplish this? Manually create the grid or use some kind of object datasource?

Thanks in advance,
Johan



Martin Vasilev
Telerik team
 answered on 05 Feb 2010
2 answers
1.0K+ views
Hello
I have an  issue with my radgridview
Whenever i try to add 'n' no of items in a radgridview.. the scrollbar appears automatically.... which is desirable
I now delete all the items in the radgridview.. but the scrollbar is still visible... Is there any way i can force my scrollbars to hide ??

Regards
Srivatsa
Martin Vasilev
Telerik team
 answered on 05 Feb 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?