Telerik Forums
UI for WinForms Forum
3 answers
150 views
Hi Guys,

I'm trying to set a thicker and coloured row line based on a value in the row (group). I've attached an image of what I'm trying to achieve.
Would any of you know be able to point me in the right direction for what I'm sure is a simple enough solution.

Many thanks

Terry
Boryana
Telerik team
 answered on 07 May 2012
2 answers
660 views
I was wondering if you can bind the property grid to a dat source like SQL table or microsoft access table?
If so can you show me an example. I have an access table with 6 columns and about 100 rows. I know a gridview is what i shoudl use but i want to use a property grid view.
ID - uniqueID
ParentID - correlates to which ID to group with
Order - order of group
Decs - description of what it is screen display
Type - type
Value - value
example
ID   ParentID   Order      Desc   Type  value
1        0              0           Gen    CAT
2        1              0           help    bool    true               
3        1              1           num    int       7
4        0              1           Dogs   CAT
5        4              0           Labs    int      2
6        5              0           Yellow  int      1
7        5              1           Black   int      1

so the property grid would look like this.
-General
    Help             true
    num              7
-Dogs
   -Labs            2
       Yellow       1
        Black       1
would this even be possible?
Ivan Petrov
Telerik team
 answered on 07 May 2012
4 answers
1.8K+ views
FYI - I am new to Telerik controls and new to entity framework 4.0.
Although I think I have my entities set up ok for now, I am trying to now use the Telerik dataGrid.

The scenario:
I set the datasource of the datagrid to that of my entity.
I do not want the users to be able to edit any of the data.

I added a checkbox in the first column at design time allowing users to select a particular row for later processing.

The questions:
Since the grid is 'not editable' how do I allow the user to select the checkbox to select the row?
If the grid allow column swapping, is it possible to keep the checkbox I added in the first position?

Bonus question:
Once I select the rows I want, what is the preferred method in looping through the rows to gather the rows selected?

Help is greatly appreciated!
Bob
Ivan Petrov
Telerik team
 answered on 07 May 2012
3 answers
100 views
We have an application that uses Telerik Themes to theme the forms.  There is a RadDock with several toolwindows.  After the theme is applied, the hide, close, and menu buttons on the toolwindows are not visible.  This is only occurring with certain themes, the buttons are visible on the other ones.  I am uncertain how to proceed to fix this problem.

Version of dlls: 2010.1.10.409

Themes that work: Office2007Black, Office2007Silver, Desert
Themes that do not display the buttons: Telerik, Breeze,Vista, Aqua

Thanks

Alex
Boryana
Telerik team
 answered on 07 May 2012
2 answers
345 views
Hi guys,

Hopefully a short and easy question. How do I add images to a RadListView? I've tried the below:

radListView1.Items.Add(Image.FromFile("C:\\images\\myLovelyPhoto.jpg"));

But it just gives me the time of object. IE. It shows a check box (as I have that set) plus "System.Drawing.Bitmap".

I'm probably missing out on something very obvious. I just want to list a number of images a be able to select them using either check boxes or radio buttons.

Thanks,

Sacha


Stefan
Telerik team
 answered on 07 May 2012
1 answer
101 views
Hi Support,

We use a RadDateTimePicker with yyyy/MM/dd format.

Is it possible that the user enter only 20120502 and not 2012 + right arrow + 05 + right arrow + 02?

Best regards,
Dagana
Peter
Telerik team
 answered on 07 May 2012
13 answers
180 views
We recently purchased the Telerik Premium Collection for .Net and I need to upgrade a winforms app with the newest controls.  The old controls were just trail controls.  I don't want to make any mistakes and cause my app to stop working so I need advice on how to get the latest controls.  I did submit a ticket and i'm waiting but I need to start this right away so I figure I would post the question in the forum as well.    Should I just install the new controls or uninstall the old controls first?   I'm running out of time so any help would be greatly appreciated.
Stefan
Telerik team
 answered on 07 May 2012
6 answers
192 views
Is it possible to apply a shadow to text that you have adjusted using html. It seems that I can apply a shadow to text that has not been changed via html. But, If I make size, color, etc changes to text in a label, I cannot successfully apply a label. Here is what I have tried, without success.

lblDateTime.Text = "<html>" & Format(CStr(DateTime.Now), "Long Date") & "<br><font=Arial Black><size=34><color=" & darkNight.ToArgb & ">" & Format(CStr(DateTime.Now), "Short time")
 
        Dim primitive As TextPrimitive = DirectCast(Me.lblDateTime.RootElement.Children(0).Children(2).Children(1), TextPrimitive)
        primitive.Shadow = New Telerik.WinControls.Paint.ShadowSettings(New Point(2, 2), Color.Red)

Any help would be appreciated.
Peter
Telerik team
 answered on 07 May 2012
1 answer
169 views


Posted 4 hours ago (permalink)

Hello Friends,


I following field in sql database for  IMage_master 

1) Imageid (numeric(18,0))
2) Image_code (nvarchar(100))
3) fullimage (image) -- I store image with 100 kb

I am doing windows application with C# and Sql2008 as backend

I have gridviewcomboboxcolumn with name cmbimage with display member fullimage and value member as image code. Its not sowing image its just showing byte[]. i want to display image in   gridviewcomboboxcolumn  .


Please help me out , if possible with code

With Regards

Ameya Chavan
Stefan
Telerik team
 answered on 07 May 2012
3 answers
115 views
Hi

I'm new to the Telerik Libs.
I rewriting a program to use the Telerik Libs.

The Program should show the strucure of a CAD Structure as a "TreeListView". My Problem is that NOT the complete structure is loaded on startup. So it's only the first level loaded. The other data are laoded, when the tree is collapsed.

So I'm using the GridView as a SelfReference to have the Tree View.

The Problem is how can I show the "+" Icon even if I only loaded the first level. On loading the first level I know if there a sub Items or not.
I have tried it with Me.RadGridView1.Rows(rownum).HasChildRows = True but thats readonly.

And the next thing is, how can I react on collapsing the tree, and reload the sub items

Thanks
Br Flo

PS: I'm using VB.net ad VS2010
Julian Benkov
Telerik team
 answered on 04 May 2012
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?