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
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!

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;
}



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.
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

