Dimitar Karamfilov
Team Member

FIX. RadDateTimePicker - the customized font is lost when one zooms.

To reproduce:
- Set the font for all dates.
- Zoom In and out.

Workaround:
Use the ZoomChanged event and change the font while one zooms as well.
Bug Report by Dimitar Karamfilov Status: Approved Comments: 0 Category: RadDateTimePicker Scheduled for: Not Scheduled Last update: 2016-03-29T11:57:58 by Stefan Stefanov
0
Dimitar Karamfilov
Team Member

FIX. RadDateTimePicker - the value is not updated when changed from ValueChanged event.

To reproduce:
public Form1()
{
InitializeComponent();
AddDateTime();
radDateTimePicker1.ValueChanged += radDateTimePicker1_ValueChanged;

radDateTimePicker1.Format = DateTimePickerFormat.Custom;
radDateTimePicker1.CustomFormat = "dd/MM/yyyy HH:mm";

AddButton();

}

void radDateTimePicker1_ValueChanged(object sender, EventArgs e)
{
if (radDateTimePicker1.Value.Date.Hour == 0)
{
var date = radDateTimePicker1.Value.Date;
radDateTimePicker1.Value = new DateTime(date.Year, date.Month, date.Day, 23, 59, 0);
}

}

Workaround:
Refocus the control and the value will be updated.
Bug Report by Dimitar Karamfilov Status: Approved Comments: 0 Category: RadDateTimePicker Scheduled for: Not Scheduled Last update: 2016-03-29T11:57:35 by Stefan Stefanov
0
Desislava Yordanova
Team Member

FIX. RadDateTimePicker/RadTimePicker/RadMaskedEditBox - the TabStop property is not stored when it is changed at design time

When you drag a RadDateTimePicker from the Toolbox and drop it onto the form, the TabStop property is false by default. If you change it in the Properties grid to true and save the form, try to open the form designer again. As a result the TabStop property is set to false as if no changes have been performed.
Bug Report by Desislava Yordanova Status: Approved Comments: 2 Category: RadDateTimePicker Scheduled for: Not Scheduled Last update: 2016-03-29T11:57:07 by Stefan Stefanov
0
Desislava Yordanova
Team Member

FIX. RadDataLayout - visual glitch when resizing RadDataLayout and the DataSource is changed

To reproduce: the attached gif file illustrates the behavior.

public Form2()
{
InitializeComponent();

this.radGridView1.DataSource = this.customersBindingSource;
this.radGridView1.CellClick += radGridView1_CellClick;
}

private void radGridView1_CellClick(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
{
this.radDataLayout1.DataSource = e.Row.DataBoundItem;
this.radDataEntry1.DataSource = e.Row.DataBoundItem;
}

private void Form2_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'nwindDataSet1.Customers' table. You can move, or remove it, as needed.
this.customersTableAdapter.Fill(this.nwindDataSet1.Customers);
}

Bug Report by Desislava Yordanova Status: Approved Comments: 0 Attachments: 1 Category: RadDataLayout Scheduled for: Not Scheduled Last update: 2016-03-29T11:56:33 by Stefan Stefanov
0
Dimitar Karamfilov
Team Member

FIX. RadDataEntry - when RadDataEntry and RadGridView are bound to the same binding source the RadDataEntry is not updated when new row is added.

To reproduce:
- Add RadBindingNavigator, RadDataEntry and RadGridView to a form.
- Bind them to the same BindingSource.
- Add a new row with the binding navigator.
- The data entry still dispalys the previous record.


Workaround:

radBindingNavigator1.BindingNavigatorElement.AutoHandleAddNew = false;
radBindingNavigator1.BindingNavigatorElement.AddNewButton.Click += AddNewButton_Click;

void AddNewButton_Click(object sender, EventArgs e)
{
employees.AddNew();
source.ResetBindings(false);
}
Bug Report by Dimitar Karamfilov Status: Approved Comments: 2 Category: RadDataEntry Scheduled for: Not Scheduled Last update: 2016-03-29T11:55:57 by Stefan Stefanov
0
Dimitar Karamfilov
Team Member

FIX. RadDataEntry - when the control is inherited the theme is not applied properly.

To reproduce:
class RadDataEntryCustomForm : RadDataEntry
{
public override string ThemeClassName
{
get
{
return typeof(RadDataEntry).FullName;
}

}
}

Workaround:
class RadDataEntryCustomForm : RadDataEntry
{
public override string ThemeClassName
{
get
{
return typeof(RadScrollablePanel).FullName;
}

}
}
Bug Report by Dimitar Karamfilov Status: Approved Comments: 0 Category: RadDataEntry Scheduled for: Not Scheduled Last update: 2016-03-29T11:54:52 by Stefan Stefanov
0
Ashley Hart

FIX. RadDataEntry - themes are not consistent

Steps to reproduce:

1. Run the enclosed project.
2. Click "Options".
3. Change the theme.

Inconsistent themes are:
- Telerik Metro Touch - the text fields are not tall enough, and break every other theme's text height.
- Aqua has an odd background shade for each row.
- Visual Studio 2012 Dark has an odd background shade too.
- Same with VS2012 Light.
- Windows 8 has a subtle background shade difference as well.
Bug Report by Ashley Hart Status: Approved Comments: 1 Attachments: 1 Category: RadDataEntry Scheduled for: Not Scheduled Last update: 2016-03-29T11:54:17 by Stefan Stefanov
0
Desislava Yordanova
Team Member

FIX. RadDataEntry - the Parse event is not fired when RadCheckedDropDownList is used as editor

To reproduce: follow the steps introduced in http://www.telerik.com/help/winforms/dataentry-how-to-change-editor-to-drop-down-list.html. However, try to use the RadCheckedDropDownList instead. Use the following code snippet:

private BindingList<Model> editorDS = new BindingList<Model>();
RadCheckedDropDownList checkedDDL;
BindingSource bs;

public Form1()
{
InitializeComponent();

this.radDataEntry1.ItemInitialized += radDataEntry1_ItemInitialized;

radDataEntry1.EditorInitializing += radDataEntry1_EditorInitializing;
radDataEntry1.BindingCreating += radDataEntry1_BindingCreating;
radDataEntry1.BindingCreated += radDataEntry1_BindingCreated;

for (int i = 0; i < 15; i++)
{
editorDS.Add(new Model(i,"Item " + i));
}

DataTable dt = new DataTable();
dt.Columns.Add("Id", typeof(int));
dt.Columns.Add("Title", typeof(string));
dt.Columns.Add("Models", typeof(BindingList<Model>));

BindingList<Model> models;
for (int i = 0; i < 5; i++)
{
models = new BindingList<Model>();
for (int j = 0; j < 2; j++)
{
models.Add(editorDS[i + j]);
}

dt.Rows.Add(i, "Item" + i, models);
}

bs = new BindingSource();
bs.DataSource = dt;
this.radBindingNavigator1.BindingSource = bs;
this.radDataEntry1.DataSource = bs;
}

void radDataEntry1_EditorInitializing(object sender, Telerik.WinControls.UI.EditorInitializingEventArgs e)
{
if (e.Property.Name == "Models")
{
checkedDDL = new RadCheckedDropDownList();
checkedDDL.DisplayMember = "Name";
checkedDDL.ValueMember = "Id";
checkedDDL.DataSource = editorDS;
checkedDDL.Parent = this;
checkedDDL.BindingContext = new System.Windows.Forms.BindingContext();
e.Editor = checkedDDL;
}
}

void radDataEntry1_BindingCreating(object sender, Telerik.WinControls.UI.BindingCreatingEventArgs e)
{
if (e.DataMember == "Models")
{
e.PropertyName = "Text";
}
}

void radDataEntry1_BindingCreated(object sender, BindingCreatedEventArgs e)
{
if (e.DataMember == "Models")
{
e.Binding.FormattingEnabled = !true;
e.Binding.Parse += Binding_Parse;
e.Binding.Format += Binding_Format;
}
}

private void Binding_Format(object sender, ConvertEventArgs e)
{
BindingList<Model> models = e.Value as BindingList<Model>;
if (models != null)
{
checkedDDL.CheckedItems.Clear();
StringBuilder sb = new StringBuilder();
foreach (Model m in models)
{
sb.Append(m.Name + ";");
}
e.Value = sb.ToString();
}
}

private void Binding_Parse(object sender, ConvertEventArgs e)
{
BindingList<Model> m = checkedDDL.DataSource as BindingList<Model>;
string[] tokens;
if (e.Value != null && m != null)
{
BindingList<Model> newValue = new BindingList<Model>();
tokens = e.Value.ToString().Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries);
foreach (string token in tokens)
{
if (m.Any(item => item.Name == token))
{
Model foundModel = m.ToList().Find(item => item.Name == token);
newValue.Add(new Model(foundModel.Id,foundModel.Name));
}
}

e.Value = newValue;
}
}

private void radDataEntry1_ItemInitialized(object sender, ItemInitializedEventArgs e)
{
if (e.Panel.Controls[1].Text == "Models")
{
e.Panel.Size = new Size(350, 25);
}
}

class Model : INotifyPropertyChanged
{
private int id;
private string name;

public Model(int id, string name)
{
this.Id = id;
this.Name = name;
}

public int Id
{
get
{
return this.id;
}
set
{
this.id = value;
this.OnPropertyChanged("Id");
}
}

public string Name
{
get
{
return this.name;
}
set
{
this.name = value;
this.OnPropertyChanged("Name");
}
}

public event PropertyChangedEventHandler PropertyChanged;

protected virtual void OnPropertyChanged(string propName)
{
if (this.PropertyChanged != null)
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propName));
}
}
}

The provided gif file illustrates better the obtained behavior.

Workaround: subscribe to the RadCheckedDropDownList.Validated event and call the RadCheckedDropDownList.DataBindings[0].WriteValue method. Thus, the Parse event will be fired and you can convert the input data to the appropriate format.
Bug Report by Desislava Yordanova Status: Approved Comments: 0 Attachments: 1 Category: RadDataEntry Scheduled for: Not Scheduled Last update: 2016-03-29T11:49:33 by Stefan Stefanov
0
Dimitar Karamfilov
Team Member

FIX. RadDataEntry - when the control is bound and RadDropDowList is used as custom editor the value is not properly synchronized.

To reproduce:
- Add bindingnavigator and data entry bound to a single binding source.
- Change one of the default editors to drop down list which is also bound to a datasource.
- Synchronize the selected value in the binding source CurrentChanged event.
- Press the move to the last item button.
- You will notice that the value is not displayed properly (displayed is the value member not the display member)

Workaround:
void radBindingNavigator1MoveLastItem_Click(object sender, EventArgs e)
{
bs.MovePrevious();
bs.MoveNext();
}
Bug Report by Dimitar Karamfilov Status: Approved Comments: 0 Category: RadDataEntry Scheduled for: Not Scheduled Last update: 2016-03-29T11:47:19 by Stefan Stefanov
0
Hristo Merdjanov
Team Member

FIX. RadCommandBar - opening the popup of a CommandBarSplitButton cuts off its text in Office2010Silver theme

Workaround:
this.commandBarSplitButton1.MinSize = new Size(this.commandBarSplitButton1.Size.Width + 10, 0);

Bug Report by Hristo Merdjanov Status: Approved Comments: 0 Category: RadCommandBar Scheduled for: Not Scheduled Last update: 2016-03-29T11:46:39 by Stefan Stefanov
0
Displaying items 1221 - 1230 of 1271