Telerik Forums
UI for WinForms Forum
5 answers
204 views
Good morning.
    I want to programmatically add a fixed height radListBox in the Form_Load. The height should be calculated accordingly to the number of items in the listbox. But the GetItemHeight method returns zero in the Form_Load. If I add a test button, and in the Click event perform the GetItemHeight, the result is 16, ok. Another problem is that I have to add 2 (magic number?) to the total height, otherwise the vertical scrollbar will appear. How can I solve these 2 problems?
 
Thank you
Victor
Telerik team
 answered on 07 Dec 2009
1 answer
178 views
Hi.... I am trying to modify the "FillPrimitive" values for a RadPanel using VB.Net Code.  I will admit that I am new to VB.Net and Telerik products.  I currently have installed the demo for WinForms Q3 2009 installed, and am currently going thu a tutorial posed here on this site that references the FormElement.ClientFillPrimitive for a form.  I read the release notes that said I should use a panel in the form to accomplish the same functionality.  I however have not been able to access the FillPrimitive properties for the Panel from code.  I can do so using the smart tag editor... but not from code.

Any help would be appreciated
Thank you
Nikolay
Telerik team
 answered on 07 Dec 2009
2 answers
133 views
i have five columns in radgridview

1.Employee id                                   Gridviewtextboxcolumn
2.Employeename                            Gridviewtextboxcolumn
3.D.O.B                                            Gridviewdatetimecolumn
4.Designation                                   Gridviewtextboxcolumn
5.Date of joining                                Gridviewdatetimecolumn

radgridview properties

Enter key mode  --->EnterMovesToNextCell
Newrowenterkeymode-->EnterMovesToNextCell
im enter the employee name in employeename column  and press enter key in the column
  it wil be skip on designation column..


--->same error im enter the value in  designation column and press enter
it wil be skip on new row..

-->how can i select  the date in  D.o.B column and Date of joining column

Anyone can help me!!
thanks
regards,
vignesh







kottu
Top achievements
Rank 1
 answered on 04 Dec 2009
3 answers
150 views
Hello,

Some way would like to know if exits to keep the configurations of grid for a filing-cabinet (example XML) and later loading of new this configuration.

Morgado

Jack
Telerik team
 answered on 04 Dec 2009
1 answer
148 views

Hello, I'm using RadControls for Winforms Q3 2009 to build an Winforms application. I have a RadgridView in there. I want to change the text "Drag a column here to group by this column".

I tried to do this, through the option edit UI elements, it changes the text for a moment, but when I execute the application the text doesn't change

 

thanks for the help

Svett
Telerik team
 answered on 04 Dec 2009
1 answer
182 views
Good Morning,

I just recently started working wth the htmlView for grids as I need to represent rows in a more structured fashion. I love the fact you can define the layout using an HTML table like file and load it into the view definition. I have created this file and gone through the process, however, when running the following code:

        protected   void    InitializeDataEntry()
        {
            htmlView = new HtmlViewDefinition();
            htmlView.RowTemplate.ReadXml("/vcenter/address.html");

            gridAddressEditList.ViewDefinition = htmlView;

        }

I receive the following error:

Object reference not set to an instance of an object.


This is my address.html file. This seems to load fine:

<table>
 <tr>
     <td rowspan="2">Type</td>
  <td>Address1</td>
  <td>City</td>
  <td rowspan="2">Postal Code</td>
 </tr>
 <tr>
  <td>Address 2</td>
  <td>State</td>
 </tr>
</table>

I am new to using the viewDefinitions and thought I had followed the example code pretty closely. Could anyone point me in the right direction here?

Thanks,

Chris Eisnaugle

Jack
Telerik team
 answered on 04 Dec 2009
1 answer
95 views
I am wondering why any changes (f.e. Size, AutoSize, Orientation) of RibbonControls (RibbonButtonGroup, RibbonCombos, and such) that I have made get lost.

Changing attributes of controls within my ribbonbar through the UI they do not get applied well to the designer and to the built application. f.e. changing the size of a radlabel control results in not showing any other control within the hole ribbonbar.

taking a look into the desinger code I recognized that all attributes i have touched are not written back to the desinger code under some circumstances. after adding the neccessary attributes manually in the code everything works fine until i change or modify the next ribbon attributes.

it is really frustrating to work like this!

please advise.

thanks in advance.
Justin
Top achievements
Rank 1
 answered on 04 Dec 2009
2 answers
118 views
I can't find how to page the RadGridView, does it have this functon?
Thank you .
ayumi hinako
Top achievements
Rank 1
 answered on 04 Dec 2009
3 answers
458 views
Hello
 
I am trying to do something similar to this post http://www.telerik.com/community/forums/winforms/gridview/adding-items-to-a-combobox-column.aspx which is basically trying to bind different data to each new row in a comboboxcolumn inside a radgrid. 

I would like to be able to add my own items in the combobox inside each row without binding them to a dataset.  
combobox.items.add(item) basically.   I downloaded the sample app that was included with the post but it is an older version and C# so I can't quite get the coding figured out ( I am using Q2 2009 SP1 in VB .net).

I am also planning on using other columns and setting my own values but the combobox seems to be the most difficult.

Also, when the combobox selection is changed, will I be able to trap that and perform some operation?

Thanks

Alex
Nikolay
Telerik team
 answered on 03 Dec 2009
1 answer
159 views
Good with everyone
Any news on the date when it will be released service pack 1 Q3 2009?

Thanks

Victor
Nick
Telerik team
 answered on 03 Dec 2009
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?