or
int visualRowsCount = this.radGridView1.GridElement.VisualRows.Count; |
this.radGridView1.GridElement.ScrollToRow(indexToScroll - visualRowsCount + 3); |
this.gridDocs.MasterGridViewTemplate.Columns.Clear(); |
this.gridDocs.MasterGridViewTemplate.DataSource = docs; |
namespace RadComboTest |
{ |
partial class Form1 |
{ |
/// <summary> |
/// Required designer variable. |
/// </summary> |
private System.ComponentModel.IContainer components = null; |
/// <summary> |
/// Clean up any resources being used. |
/// </summary> |
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
protected override void Dispose(bool disposing) |
{ |
if (disposing && (components != null)) |
{ |
components.Dispose(); |
} |
base.Dispose(disposing); |
} |
#region Windows Form Designer generated code |
/// <summary> |
/// Required method for Designer support - do not modify |
/// the contents of this method with the code editor. |
/// </summary> |
private void InitializeComponent() |
{ |
this.radComboBox1 = new Telerik.WinControls.UI.RadComboBox(); |
((System.ComponentModel.ISupportInitialize)(this.radComboBox1)).BeginInit(); |
this.SuspendLayout(); |
// |
// radComboBox1 |
// |
this.radComboBox1.Location = new System.Drawing.Point(12, 12); |
this.radComboBox1.Name = "radComboBox1"; |
// |
// |
// |
this.radComboBox1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren; |
this.radComboBox1.Size = new System.Drawing.Size(260, 20); |
this.radComboBox1.TabIndex = 0; |
this.radComboBox1.Text = "radComboBox1"; |
// |
// Form1 |
// |
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
this.ClientSize = new System.Drawing.Size(284, 264); |
this.Controls.Add(this.radComboBox1); |
this.Name = "Form1"; |
this.Text = "Form1"; |
((System.ComponentModel.ISupportInitialize)(this.radComboBox1)).EndInit(); |
this.ResumeLayout(false); |
this.PerformLayout(); |
} |
#endregion |
private Telerik.WinControls.UI.RadComboBox radComboBox1; |
} |
} |
using System; |
using System.Diagnostics; |
using System.Windows.Forms; |
using Telerik.WinControls.UI; |
namespace RadComboTest |
{ |
public partial class Form1 : Form |
{ |
public Form1() |
{ |
InitializeComponent(); |
radComboBox1.Items.Add(new RadComboBoxItem("Item1", 1)); |
radComboBox1.Items.Add(new RadComboBoxItem("Item2", 2)); |
radComboBox1.Items.Add(new RadComboBoxItem("Item3", 3)); |
radComboBox1.SelectedValueChanged += new EventHandler(radComboBox1_SelectedValueChanged); |
} |
void radComboBox1_SelectedValueChanged(object sender, EventArgs e) |
{ |
Debug.Fail("radComboBox1_SelectedValueChanged"); |
} |
} |
} |
private
void Form_Load(object sender, EventArgs e)
{
this.radTextBox.Focus();
}
The cursor does not get set onto the radTextBox. What needs to be done here?
Thanks!
Jeremy
Is there any way to get what I'm looking for? Please let me know if I have to make it more clear, I have couple of screen shots that I can send.
Best,tbuilder = Telerik.WinControls.ThemeResolutionService.GetRegisteredControlStyleBuilder(
GetType(RadGridView).FullName, GetType(Telerik.WinControls.RootRadElement).FullName, "ControlDefault")
tbuilder.BuildStyle(myRadGridView.RootElement)
but GetRegisteredControlStyleBuilderGetRegisteredControlStyleBuilder methods retuns nothing.
Also how does one change the Theme on a DockManager control?
Telerik rocks!