Telerik Forums
UI for WinForms Forum
2 answers
1.5K+ views
Hi,

I am trying to change border for a specific cell at runtime. I exactly know what cell I have to update and I don't want to use CellFormatting event handler for performance issues.

I am using the following code to accomplish this task:

GridViewCellInfo cellInfo = radGridView.Rows[i].Cells[j];
cellInfo.Style.DrawFill = true;
cellInfo.Style.NumberOfColors = 1;
cellInfo.Style.CustomizeFill = true;
cellInfo.Style.DrawBorder = true;
cellInfo.Style.CustomizeBorder = true;
cellInfo.Style.BorderWidth = 1;
cellInfo.Style.BorderColor = Color.Red;
cellInfo.Style.BorderColor2 = Color.Red;
cellInfo.Style.BorderColor3 = Color.Red;
cellInfo.Style.BorderColor4 = Color.Red;
cellInfo.Style.BackColor = Color.Yellow;

It works fine, but the bottom and right cell borders are not updated. What's wrong? Can you help me to fix that?

Thanks in advance,
Lorenzo
Lorenzo
Top achievements
Rank 1
 answered on 06 Mar 2012
3 answers
172 views
Hi!

Everything's in the title,  I want to totally disable the AppointmentEditDialogShowingEvent. Is that posible ?

Also, how can we retrieve the Start and End Time when clicking on an appointment ?

Thanks...
Richard Slade
Top achievements
Rank 2
 answered on 06 Mar 2012
2 answers
148 views
Hi, I don't know where exactly to post this question. As is related to themes and I'm working on the VSB then I post it here.

I'm creating a custom shape, similar to conversation "balloons", trying to get a visual style similar to, for example, Whatsapp messenger application. I'm using the option "Custom shape" on the shape property of the item I'm modifying, radgridview cellelement. The problem is that I need to reuse this balloon shape on all states of the cellelement, hoovered, clicked, selected, etc. On the shape editor I saved the new shape as "Balloon" thinking that I would have it on the shape property combo box. But my hopes were dashed, I do not see the new shape on the combo box neither I can select it on any other place.

So my question is: how can I reuse this shape? Other than copy+pasting on each shape property of ALL the cellelement states.

Thanks in advance
Ivan Petrov
Telerik team
 answered on 06 Mar 2012
1 answer
227 views
I have a tree view control in which I only ever want to have one root node and it can contain as many children as it wants. When it comes to drag and drop how can I allow the user to drop a rule on the root node but only allow it to be dropped as a child of the root rule? Thanks!
Svett
Telerik team
 answered on 06 Mar 2012
1 answer
470 views
Hello,
Is there a transparent textBox control?
Thanks,
Roy
Boryana
Telerik team
 answered on 06 Mar 2012
6 answers
405 views
We are displaying data in Gridview control in hierarchical manner (like tree view). We also have requirement to search the data in grid to display related records (child and parent).  We have seed existing example and code but it is not matching above requirements.

 

Could you please provide more information on this?

Eric
Top achievements
Rank 1
 answered on 05 Mar 2012
2 answers
235 views
I have a gridview with rows with multiple templates. How do I select programmatically a tab to be display first when expanding a row to show the templates?

Best regards,

G
Gonzalo
Top achievements
Rank 2
 answered on 05 Mar 2012
2 answers
163 views
Hi,

It seems that this code doesn't work for items dragged to all day event cell:

Point point = this.radScheduler1.PointToClient(new Point(e.X, e.Y)); 
DayViewAppointmentsTable table = (this.radScheduler1.SchedulerElement.ViewElement as SchedulerDayViewElement).DataAreaElement.Table; 
SchedulerCellElement schedulerCell = SchedulerUIHelper.GetCellAtPoint(point, table.Children); 


In my application i have a RadGridView and i drag items to scheduler. Before version Q3 2011 it was possible to drag items to all day event and schedulercell wasn't null, but after Q3 2011 (and Q1 2011) it isn't possible anymore because schedulercell is null. How can i have schedulercell not null when i drag items to all day event cell and have info about that cell day?


Frederico Fernandes
Top achievements
Rank 1
 answered on 05 Mar 2012
1 answer
268 views
I I wish to let the user select the font for the entire application which is composed of a RadRibonForm and multiple Dialog forms and users controls.
Setting through me.font = userfont in the RadRibonForm does not changes the font of the form itself and of the dialog and usercontrols.
I must be missing something very simple but what ... I have not found answers in the telerik or windows forums
thanks

Boryana
Telerik team
 answered on 05 Mar 2012
2 answers
236 views
Hello

Does anyone know how I can avoid to open a contextmenu when the Header Contextmenu of a Gridview is opened?

Here is a picture of what's happening.


Regards
Roberto
Blas
Top achievements
Rank 1
 answered on 05 Mar 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
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?