Telerik Forums
UI for WinForms Forum
1 answer
124 views
Hi :

     1. The horizontal  scroll of radgridview is not visible when pinned columns over the display screen - what is not expected.
     2. The horizontal  scroll of radgridview  can not be moved when pinned columns over the display screen - what is not expected.

Greetins
Look forword to you
Ajing
Alexander
Telerik team
 answered on 11 Nov 2011
12 answers
371 views
Hi Telerik's support.
I'm trying to use radComboBox inside radGridView. I made my custom Column and Cell types. As was stated in the article from your site I'm using following code:

txtInput.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
            txtInput.RootElement.StretchVertically = true;
            txtInput.RootElement.StretchHorizontally = true;
            txtInput.TextChanged += TxtInputTextChanged;
            Children.Add(txtInput.RootElement);

This code works well in case if instead of ComboBox there will be RadTextBox and TextElement. The problem is RadComboBox has fixed size and doesn't stretch when the size of cell is changed.
Jill-Connie Lorentsen
Top achievements
Rank 1
 answered on 10 Nov 2011
2 answers
133 views
Hi,

    i have created a sample application to produce the bug. the application contains gridview with one cell which is gridviewcheckcolumn and a rad button to show the messagebox saying whether the check box is checked or not in the gridview.
    
    when i check the checkbox and if i press the button mesage box showing checked but when i press shortcut key for the button its not working correctly.

    there is a scenarion in my project where we have shortcut key for the button and it behaves like as i said above, so any suggestions on this regard will be helpful for me to solve this issue

private void Form1_Load(object sender, EventArgs e)
       {
           GridViewDataRowInfo row = this.radGridView1.Rows.AddNew();
       }
 
       private void radButton1_Click(object sender, EventArgs e)
       {
           string name = radGridView1.Rows[0].Cells[0].Value.ToString();
           if (radGridView1.Rows[0].Cells["Select"].Value.ToString() == "True")
               MessageBox.Show("Checked");
           else
               MessageBox.Show("UnChecked");          
       }

Thanks,
Selva
Selvamani
Top achievements
Rank 1
 answered on 10 Nov 2011
1 answer
257 views
I am interested in printing data with our Telerik Rad Winform Controls. I would like to know what my options are.

  • Is there an out of the box way to print a GridView?
  • What are my options for XSLT/XML printing (via HTML)?
  • What are my options for PDF printing?

If someone can point me to docs on how to print a winforms view, or opinions/ideas from those who have done this - I would really appreciate it!

-shawn
Martin Vasilev
Telerik team
 answered on 10 Nov 2011
1 answer
295 views
Hello,
I wish that as value of property values ​​change in my editor. For example I pass a value to the ID property, I would like with Red or Blue as a possibility and if I go 2 in value to the property ID, I would like to have Green and Black. Is this possible?

In my form
private void radPropertyGrid1_EditorRequired(object sender, PropertyGridEditorRequiredEventArgs e)
{
    if (e.Item.Name == "TestSam")
    {
        PropertyGridSamEditor test = new PropertyGridSamEditor();
        test.id = 1;
        e.EditorType = test.GetType();
    }
}

In my class PropertyGridSamEditor :
public class PropertyGridSam2Editor : BaseInputEditor
    {
        public PropertyGridSam2Editor()
        {
            m_ID = 0;
        }
        public int m_ID { get; set; }
        public PropertyGridSam2Editor(int ID)
        {
            m_ID = ID;
        }
        public override object Value
        {
            get
            {
                RadDropDownListElement editor = (RadDropDownListElement)this.EditorElement;
                List<InfoSam> Isam = new List<InfoSam>();
                if (m_ID == 0)
                {
                    Isam.Add(new InfoSam(1, "Rouge"));
                    Isam.Add(new InfoSam(2, "Bleu"));
                }
                else
                {
                    Isam.Add(new InfoSam(3, "Bleu"));
                    Isam.Add(new InfoSam(4, "Noir"));
                }
                editor.DisplayMember = "Couleur";
                editor.SelectedValue = "ID";
                editor.DataSource = Isam;
                return editor.Text;
            }
            set
            {
                RadDropDownListElement editor = (RadDropDownListElement)this.EditorElement;
                if (value != null && value != DBNull.Value)
                {
                    editor.Value = value.ToString();
                }
                else
                {
                    editor.Value = "1";
                }
            }
        }
}


Regards


Ivan Petrov
Telerik team
 answered on 10 Nov 2011
8 answers
578 views
Hello,

We are using RadGridView in a read-only mode. When our customers select a row, right click and use "Copy", nothing is copied to clipboard. Why is this? What is the best way to allow the user to copy data from the GridView into clipboard?

Thanks.
Jack
Telerik team
 answered on 10 Nov 2011
1 answer
160 views
Hi,

I want to use the ribbonbar without the start menu and tabs. Reason is that I haven't got much buttons/items to put on it, so using tabs and/or start menu will be needless imho. Also I find it's using a bit too much screen space by default.

So, what I want is:
  • Use the Office 2010 blue/silver theme. The RadRibbonBarGroup title should have a background color, just like in the Office 2007 theme.
  • No tabs or start menu, so the reserved space for those should/can be collapsed (resulting in more space available on the form).
  • The height of the RadRibbonBarGroup should be a bit less (enough for an 32 icon, one line button title beneath and the group title).

If someone could provide me a (code) example to achieve this, then that would be much appreciated!
Stefan
Telerik team
 answered on 10 Nov 2011
1 answer
194 views
Hi,

I am trying to populate a column from a RadGridView with values from a dataset in this way:

Dim datListProps As New DataSet

Dim sql As string = " SELECT gala_id_val_table FROM gala_mainTable "  

    AdaptSql = New OleDb.OleDbDataAdapter(sql, ConPubs)

    AdaptSql.Fill(datListProps, "props_table")

 

Me.tabelaVotRadGridView.Columns.Add(lookUpColumn)



... and I connot find the proper way for making this.
I have attached also a picture with waht I can see on the GridViewComboBoxColumn cell

Can you hel me please
Julian Benkov
Telerik team
 answered on 10 Nov 2011
1 answer
325 views
Hi:
      
      1. How to put cell into edit mode and editing cursor to the cell contents after the last character when double-click ?
      2. How to put cell into focus state when cell end-edit?

  We now solve the tow problems as follows:
     1. Using cell double-click event & SenderKeys{"End"} 
     2. Using CellEndEdit event 

The result is:
        Occasionally , the cell which in the edit mode contents are all selected what  is 
not expected.

Greetings!
Looking forword to you!
Ajing
     
  
Stefan
Telerik team
 answered on 10 Nov 2011
8 answers
449 views
The application that we are looking to write using a docking window scheme would have to be an MDI application.
The problem I have seen with most other tools is that when you set up the "dock manager" type control to cover all of your application's main form, you lose the MDI client area.  The MDI client area becomes hidden behind the docking portion of the control set.
I downloaded the latest version of the WinForms control pack and looked in the help and found a section called "Using The r.a.d.dock In MDI Mode" but there is no text within this section.

Can you give me any examples or ideas on how your control set handles the docking ability when contained in an MDI parent form?
Our parent application window will need to have a dock manager allowing docking at top, bottom, right and left.  Our MDI Child forms will also have a dock manager that will allow at least docking at the top and bottom of that form.
I want to try this out in some detail to see how well your control set handles what we are trying to do.

Thanks for any information you can provide.

Aaron Peronto
Julian Benkov
Telerik team
 answered on 10 Nov 2011
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?