Telerik Forums
UI for WinForms Forum
1 answer
59 views

Hi all,
I using wraptext to format a header like:
rgvBob.Columns(6).Width = 60
rgvBob.Columns(6).HeaderText = "Internal Diameter"
rgvBob.Columns(6).WrapText = True

and the grid works fine, but when I use a ViewDefinition in my grid, the propertie wraptext above is ignored and the header doesn´t show the text in 2 lines.
There are some properties in ViewDefinition to do a wraptext in header?

tks,
Nelson




Martin Vasilev
Telerik team
 answered on 24 Aug 2011
3 answers
214 views
How can I stop the items in the carousel from rotating?

I tried setting AnimationsToApply to None, but then all my items appeared stacked on top of each other. I also tried setting EnableLooping to False, and that seemed to do the trick. After selecting an Item I'd display a form, when the user closed the form, the carousel was no longer rotating (or looping), however, one slight issue occurred-- two of the items appeared stacked on top of each other.

I want the items to appear in a carousel-like circle, but I just don't want them to rotate, because some of my users are finding it annoying.

Stefan
Telerik team
 answered on 24 Aug 2011
1 answer
152 views
Hello all!

I have radPageView1, I create 3 radPageViewPage.  In radPageViewPage, I create radButtons.

Now, I want find that radbutton when i click.

Help me!
Thanks!
Stefan
Telerik team
 answered on 24 Aug 2011
6 answers
550 views
Hi

I would like to delete some rows on condition.
My Grid don't use database and is filled by code

So I want to delete all row where column named "ColA" = "b"

I work with VB...
Fiko
Telerik team
 answered on 24 Aug 2011
1 answer
137 views
Hi
Try this.
DropDownList.AutoCompleteMode = SuggestAndAppend
Then Bind it to a datasource.
so now open the popup of DropDownList, and NOW start writing (for testing the autocomplete).
you will see that popup still is open and autocomplete list will open too,
It`s easy to close the popup in code to shown only suggestion list, but if it`s a bug I think it`s better you to fix that up in newx releases
I think it`s unwanted to have both openned at the same time

thank you
Stefan
Telerik team
 answered on 24 Aug 2011
5 answers
204 views
Does anybody have the same problem with the Office 2010 Blue theme?
The position of the radRibbonBar.RibbonBarElement.ApplicationButtonElement is 2 pixels to low.
I am not sure if this behavior was also present in Q1 2011.
I have tried to correct it programtically by shifting the Location property, but it doesn't help.
Is there any solution without definining a custom theme?
Alexander
Telerik team
 answered on 24 Aug 2011
11 answers
477 views
How can I put a button to print the content of a radgridview with a telerik report ?
Martin Vasilev
Telerik team
 answered on 23 Aug 2011
1 answer
254 views
I want to customize the size and color of TabStrip on pageview. I can change content area element color and view strip element color using Edit UI Elements. But not tab's color and size. Please help. 

Thanks,

Nova 
Boryana
Telerik team
 answered on 23 Aug 2011
1 answer
171 views
I have the following problem. 
There is a table "Account" having following properties.
Number -> prim key
ParentNumber
Name
Description
isParent -> flag indicating if parent

I'm trying to bind this table with the radtreeview. Using the code:

  RadTreeView treeView = this.mView.AccountTreeView;
           
            treeView.DisplayMember = "Name";
            treeView.ParentMember = "ParentNumber";
            treeView.ChildMember = "Number";
            treeView.DataSource = this.mDataSet.Account;
           
            treeView.ExpandAll();
This works well and I have the treehierarchy (self referencing), but I would like to customize the displayMember, that not only the name is showned 
but the combination between the name and number. For example
Name = justname
Number=112222
What I need are the nodes looking like this 
node -> 22222||justname
As you can see it is not just the merging these two fields but also cutting of the first two digits from the number
Another case:
Name = nameTwo
Number=335678
node -> 5678||nameTwo
Stefan
Telerik team
 answered on 23 Aug 2011
1 answer
104 views
Hi.

I want to fill a form with data from a GridView on my main form, this form is brought up when i click on an item in a context menu. Using the standard data grid view in supplied by MS in Visual Studio 2010 my code looks something like this.
Private Sub EditToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EditToolStripMenuItem.Click
 
       Dim frm As New frmAddEdit
       frm.GUID_User = Me.dgvUsers.Item(0, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.GUID_Group = Me.dgvUsers.Item(1, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.txtADName.Text = Me.dgvUsers.Item(2, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.txtUserName.Text = Me.dgvUsers.Item(3, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.txtEmail.Text = Me.dgvUsers.Item(4, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.txtLogin.Text = Me.dgvUsers.Item(5, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.txtPassword.Text = Me.dgvUsers.Item(6, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.txtTelNo.Text = Me.dgvUsers.Item(7, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.txtFax.Text = Me.dgvUsers.Item(8, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.cbActive.Checked = IIf(Me.dgvUsers.Item(9, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString() = "True", True, False)
       frm.GUID_Company = Me.dgvUsers.Item(10, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.cbLead.Checked = IIf(Me.dgvUsers.Item(11, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString() = "True", True, False)
       frm.cbSplit.Checked = IIf(Me.dgvUsers.Item(12, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString() = "True", True, False)
       frm.cbTelesales.Checked = IIf(Me.dgvUsers.Item(13, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString() = "True", True, False)
       frm.cboOffice.SelectedValue = Me.dgvUsers.Item(14, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.txtAddress.Text = Me.dgvUsers.Item(15, Me.dgvUsers.SelectedCells(0).RowIndex).Value.ToString()
       frm.Text = "Edit User"
       frm.ShowDialog()
 
   End Sub

Now this works fine with the standard DataGridView but the Telerik GridView says that 'RowIndex' is not a member of 'Telerik.WinControls.UI.GridViewCellInfo'. 
My Question is: How can I get the same effect using the Telerik GridView and what is the Correct syntax for this then.

Also please bear in mind that I am new to the programming game and I am learning as I go along any and all help would be much appreciated. 
Martin Vasilev
Telerik team
 answered on 23 Aug 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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?