In day view, if we scroll down continuously by using up down key, it goes to the second day. There should be a lock, one should be able to see only one day’s schedule. Same case with week view and month view.
Hello,
I am new at using Telerik products.
I am using a GridView with Hierarchic levels.
I am trying to add a combo box in it, so I created a GridViewComboBoxColumn object , and added it to the GridView like this :
myGridView.MasterGridViewTemplate.Columns.Add(myComboBoxColumn); and it works.
But now, I want to add the combo to the hierachical second level on the GridView, something like that :
myGridView.MasterGridViewTemplate.ChildGridViewTemplates.Insert(4,myComboBoxColumn);
but I get an error message telling that a GridViewComboBoxColumn object is not assignable to a GridViewTemplate.
So please can you tell me how I could add the GridViewComboBoxColumn to the GridView at this level ?
Thank you.
private void Form1_Load(object sender, EventArgs e)
{
radGridView1.BeginUpdate();
radGridView1.AutoSizeRows =
true;
radGridView1.EnableFiltering =
true;
radGridView1.AutoScroll =
true;
radGridView1.ShowGroupPanel =
true;
radGridView1.EnableHotTracking =
true;
radGridView1.EnableAlternatingRowColor =
true;
radGridView1.AllowAddNewRow =
false;
radGridView1.AutoGenerateColumns =
false;
radGridView1.BestFitColumns();
radGridView1.AllowAutoSizeColumns =
true;
radGridView1.AutoSizeColumnsMode =
GridViewAutoSizeColumnsMode.Fill;
radGridView1.Controls.Clear();
radGridView1.ReadOnly =
true;
radGridView1.Columns.Add(
new GridViewTextBoxColumn("Name"));
radGridView1.Columns.Add(
new GridViewTextBoxColumn("Address"));
radGridView1.Columns[1].DisableHTMLRendering =
false;
radGridView1.Columns[1].WrapText =
true;
radGridView1.Columns[1].ReadOnly =
true;
radGridView1.Rows.Add(
"Lester","<html>21 Yeoman Way <a href=http://maps.google.co.uk/maps?q=BA140QL>BA140QL</a></html>");
radGridView1.Rows.Add(
"XYX","<html>22 Yeoman Way <a href=http://maps.google.co.uk/maps?q=BA140QL>BA140QL</a></html>");
radGridView1.Rows.Add(
"ABC","<html>23 Yeoman Way <a href=http://maps.google.co.uk/maps?q=BA140QL>BA140QL</a></html>");
radGridView1.Rows.Add(
"QEP","<html>24 Yeoman Way <a href=http://maps.google.co.uk/maps?q=BA140QL>BA140QL</a></html>");
radGridView1.EndUpdate(
true);
}
CommandBarDropDownList c =
new
CommandBarDropDownList();
c.Items.Add(
"a"
);
c.Items.Add(
"b"
);
c.Items.Add(
"c"
);
c.SelectedItem = c.FindItem(
"b"
);