Telerik Forums
UI for WinForms Forum
1 answer
114 views

Hello, 

I would like to implement a custom connection content, depending on the size of the connection.

Basically, I would like to display the distance between the 2 Shapes that are linked by the connection.

I have tried to play with  OnConnectionManipulationCompleted event, and I'm able to display that info at the creation of the connection, but it's never refreshed.

Do you know how if I can refresh that info while I'm dragging a shape ?

Thanks

florian
Top achievements
Rank 1
 answered on 03 May 2018
2 answers
131 views

Hello,

I'm creating a DataFilter showing a premade expression and not allowing to Add or Remove other expressions or groups.

I'd like also to disable the possiblity to click on a field and change it, I want to keep them fixed.

I've seen the AllowEdit property, but it's too drastic, since it does not allow even to change the value to look for.

Where should I look?

Thank you!

Andrea
Top achievements
Rank 1
 answered on 02 May 2018
3 answers
277 views
Win Form
How to make a cards with the help of a "telerik"?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 May 2018
2 answers
132 views

Hi

Please look at the photo and describe the problem to me

https://image.ibb.co/daZf6x/At.jpg

Code:

private void AtouAutoCompleteNameDrive()
        {
            AutoCompleteStringCollection AutoComplete = new AutoCompleteStringCollection();
            SqlDataReader SR = new Factors_C().ListNameDrive();
            if (SR.Read())
            {
                while (SR.Read())
                    AutoComplete.Add(SR["NameDrive"].ToString());
            }
            ComBoBoxNameDr.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
            ComBoBoxNameDr.AutoCompleteSource = AutoCompleteSource.CustomSource;
            ComBoBoxNameDr.AutoCompleteCustomSource = AutoComplete;
        }

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 May 2018
1 answer
126 views
How to make cards?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 May 2018
8 answers
916 views
I have a Summary Row in the bottom of the Grid, I want to get the value of summaryrowitem in to the variable. how i can do this ?
Secondly, how we can do the conditional formatting of the summary row.
Hristo
Telerik team
 answered on 30 Apr 2018
0 answers
119 views
hi, I use scheduler-binding- to bind my data to . I want each appointment to have the color which have in my database.so I created to a table with color name values and passed this  FK( )  to backgroundId.but nothing 's happened.what is the problem.help me urgent.
Sina
Top achievements
Rank 1
 asked on 26 Apr 2018
5 answers
776 views
Hi,
        I am using Radgridview for winforms. I have a grid view with three columns. First column is a text box column and the second and third are button columns. Name of the command buttons are Apply and Remove respectively. When the form is loaded for the first time, Apply button in each row should be visible and Remove button must be in hidden state . When clicked on the Apply button it should become invisible and the remove button curresponding to that row should become visible. I have written the login in RowFormatting event and uses a boolean variable to make sure that this particular functionality happens only for the first time, that is when the form is loaded.


 

private void rgvRulesList_RowFormatting(object sender, RowFormattingEventArgs e)

 

{
if (!_assignedRules && slNo == ruleCount - 1)

 

{

ShowOrHideGridButtons();

}

 

}


 

private

void ShowOrHideGridButtons()

 

{

 

Guid ruleId = Guid.Empty;

 

 

foreach (GridViewDataRowInfo dataRowInfo in rgvRulesList.Rows)

 

{

 

GridCommandCellElement gridViewCellApply = (GridCommandCellElement)dataRowInfo.Cells["Apply"].CellElement;

 

 

GridCommandCellElement gridViewCellRemove = (GridCommandCellElement)dataRowInfo.Cells["Remove"].CellElement;

 

 

if (gridViewCellApply == null || gridViewCellRemove == null)

 

{

 

continue;

 

}

 

RadButtonElement rbApply = (RadButtonElement)gridViewCellApply.Children[0];

 

 

RadButtonElement rbRemove = (RadButtonElement)gridViewCellRemove.Children[0];

 

 

ruleId =

new Guid(gridViewCellApply.Value.ToString());

 

 

foreach (EntityRulesMapping mapping in _entityRuleMappingList)

 

{

 

if (mapping.RuleId == ruleId)

 

{

rbApply.Visibility =

ElementVisibility.Hidden;

 

rbRemove.Visibility =

ElementVisibility.Visible;

 

 

break;

 

}

 

else

 

 

 

 

{

rbApply.Visibility =

ElementVisibility.Visible;

 

rbRemove.Visibility =

ElementVisibility.Hidden;

 

}

}

// end of inner for each

 

 

 

 

}

// end of outer for each

 

 

 

 

_assignedRules =

true;

 

}

 

But i could not arrive at the required solution. But when i click any of the button, this rowformatting works and the required result is achieved. I think this is because, the rowformatting event happens when some user interaction happens with the grid. Please help me on this.

Steve Batten
Top achievements
Rank 1
 answered on 26 Apr 2018
3 answers
615 views

I have quite a number of RadTextBoxControls in my application, and I need to disable the right-click context menu on all of them - how can I do this and is there a way to do it on all of them at the same time so that it is the default?

 

thanks.

 

Damien

Dimitar
Telerik team
 answered on 26 Apr 2018
1 answer
84 views
The bubbles for color elements on the Professional tab move around and eventually disappear after multiple instances. This can be demonstrated with the Property Grid example on the Telerik Demo Application. Go to the First Look example and open the color editor for any of the color properties multiple times.  The more times the dialog is opened the worse it gets.
Dimitar
Telerik team
 answered on 26 Apr 2018
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
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
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?