Hello all
how to prevent double open form in tabbed document
or how to cek if the form is opened, if opened so it will activated
thanks all
I have a multiselect radlistControl. I want to make the scrollbar 50% transparent. How can i do that?
hello
I would like to express a Text in cell value.
but An error occurs.
so,
I would like to know whether there are any add-ons after this post
- Similar post in 2012' (last update 2014' , ASP)
http://www.telerik.com/forums/will-pivot-grid-show-the-string-values
and,
Please let me know if i don't know the case using pivotgrid.
Programming Language : C#
OS : Windows7 x86
.NET4
Telerik : R2 2016 SP1
How to change the color of the item in a radlistcontrol in winfroms using telerik.
I want to hover the mouse in the listbox and want the hilighted color of the list item to be black instead of deafult white. Please help.
I have posted my current status and my requirement.
Hello,
in the ControlDefault theme all documentwindows have this cutted edge. In all other themes is it a full rectangle. Is this adjustable?
I'm working with Progress OpenEdge 11.6.2
Thank you for your answer.
Regards, Jürgen
Hi
I’m using the RadDock and have a few issues with docking and floating windows.
1. The default size for floating windows is 300 x 300. I
know I can set the DefaultFloatingSize but I'd prefer if it stayed the same
size as when it was docked. I’ve tried the FloatingWindowCreated event but can’t
identify the tab on it as that hasn’t happened yet. Do you think it’s possible?
2. I can float a DocumentWindow or ToolWindow by double
clicking the title bar but double clicking it again doesn't make it redock. I
could use the MouseDoubleClick event to programmatically set the DockState but
how do I check the user clicked the title bar?
3. If I redock a floating DocumentWindow with the ‘Dockable’
context menu option, it doesn't go to its original location. It goes to the
first position of the topmost horizontal tab group. It's worse if I have one
tab at the top with multiple tabs grouped underneath and float the top tab; it
redocks next to the multiple tabs at the bottom and leaves a big empty space
where it was located originally (see attached images). Note: the Dockable
option works for ToolWindows; if I dock one ToolWindow on the left and another
on the right, each redocks to the correct location.
I'm using version 2016.608.40 of RadDock and tried
2017.1.21.40 as well.
Regards
Tung
I have created a class based off the MaskedEditBox. However, every time I drop it on a form, it auto populates the value with "1____-____". If I drop another on the same form, it populates the value with "2____-____". Is this done by design? My desired value would be "_____-____" or "" as the value.
public class NtsMaskedEditBoxZipCode : RadMaskedEditBox
{
#region Public Constructors
public NtsMaskedEditBoxZipCode()
{
Mask = @"99999-9999";
MaskType = MaskType.Standard;
Text = @"_____-____";
TextMaskFormat = MaskFormat.ExcludePromptAndLiterals;
}
#endregion Public Constructors
#region Public Properties
public sealed override string Text
{
get { return base.Text; }
set { base.Text = value; }
}
#endregion Public Properties
}
I have a RadMaskedEditBox with the MaskType set to "DateTime", the Mask set to "MM/dd/yyyy", TextMaskFormat set to "includeLiterals". This control is programmatically bound to an object in which the Date/Time value can be null. in the KeyDown event of the control, if the user presses the "DELETE" key and the selected text is the same as the text value and the selected text length is > 0, I clear the textbox using the "CLEAR()" method and then set the value to null.
However, the display value now changes to "01/01/0001".
What am I missing.
Here is my "KeyDown" event
private void radMaskedEditBoxDate_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyData == Keys.Delete)
{
RadMaskedEditBox radMaskedEditBox = (RadMaskedEditBox) sender;
if (radMaskedEditBox.SelectionLength > 0 && radMaskedEditBox.SelectedText == radMaskedEditBox.Text)
{
radMaskedEditBox.Clear();
//radMaskedEditBox.Value = null;
radMaskedEditBox.Value = radMaskedEditBox.NullText;
}
}
}
Hello to all!
I'm using C#.
I have a RadListView that I only ever display in ListView mode. I have created a custom SimpleListViewVisualItem descendant, which has a DockLayoutPanel, inside of which is a GridLayout and another DockLayoutPanel, and inside the second DockLayoutPanel is a RadButtonElement, two RadDropDownListElement, and a RadTextBoxElement.
The first two attachments show the issue, both with and without the vertical scrollbar.
I ***believe*** I have all the appropriate ClipDrawing states set, because the RadDropDownListElement is clipping just fine (third attachment).
Is this a known issue?
Thanks.
Sam.
Purples:
I have a master-details gridview, but the data should be refreshed when the source data is changed. I implemented INotifyPropertyChanged interface for the model class. However, when I use the hierarchical gridview, when the binding data is changed, the gridview could NOT always work fine.
The attached is my test program.
The first level is Product, the child level is its orders.
I have a background thread to update the product and orders.
I am using 2017.1.221.40.Trial.
CODE below:
----------------------------------------------------------------------
public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
BindingList<ProductData> _tradeProdDataList = new BindingList<ProductData>();
public RadForm1()
{
InitializeComponent();
GenenateData();
this.radGridView1.DataSource = _tradeProdDataList;
this.radGridView1.AutoGenerateHierarchy = true;
}
private void GenenateData()
{
for (int i = 0; i < 10; i++)
{
var prod = new ProductData() { ID = i };
_tradeProdDataList.Add(prod);
var list = new List<OrderData>();
for (int j = 0; j < 10; j++)
{
var o = new OrderData() { ProductID = i, OrderName = string.Format("Test-{0}-{1}", i, j) };
list.Add(o);
}
prod.Orders.AddRange(list);
}
}
private void radButton1_Click(object sender, EventArgs e)
{
var t1= Task.Factory.StartNew(new Action(() =>
{
while (true)
{
_tradeProdDataList.ToList().ForEach(p =>
{
p.Quantity = new Random().NextDouble() * 1000.0;
p.Orders.ToList().ForEach(o =>
{
o.LastPx = new Random().NextDouble() * 1000.0;
});
});
}
}));
}
}
public class ProductData : INotifyPropertyChanged
{
public ProductData()
{
Orders = new List<OrderData>();
}
public int ID { get; set; }
private double _Quantity;
public double Quantity { get { return _Quantity; } set { _Quantity = value; NotifyPropertyChanged(); } }
public event PropertyChangedEventHandler PropertyChanged;
private void NotifyPropertyChanged([CallerMemberName] string propertyName = "none passed")
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
public List<OrderData> Orders
{
get; set;
}
}
public class OrderData : INotifyPropertyChanged
{
public int ProductID { get; set; }
public event PropertyChangedEventHandler PropertyChanged;
private void NotifyPropertyChanged([CallerMemberName] string propertyName = "none passed")
{
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
}
private string _OrderName; public string OrderName { get { return _OrderName; } set { _OrderName = value; NotifyPropertyChanged(); } }
private double _LastPx;
public double LastPx { get { return _LastPx; } set { if (value != _LastPx) { _LastPx = value; NotifyPropertyChanged("LastPx"); } } }
}