Telerik Forums
UI for WinForms Forum
1 answer
190 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
100 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
122 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
476 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
176 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
4 answers
186 views
Hello Telerik

We have two questions in Grideview

1:Can we add two different control in one cell of Grideview?
   we want to add a progress bar and corresponding text in one cell,please see attached
If Grideview can't do that, do you know if tehre is any other control can realize this?

2: Our GridView :when we want to add a item in sub-table, and datasource has been update(we can find the new item in datasource), but this new item didn't show in sub-table

BTW, How to change the color of current selected row (Default is orange, we want to change to Gray)

Svett
Telerik team
 answered on 03 Dec 2009
3 answers
223 views
Hello Telerik

First, Thank you very much for your previous's support
I have a question about Gride view.
I have attached two pictures
The First one is the File List we used Gride view.
The second one is the the File list what we want to to look like.

1: I want to know if there is any way we can remove the orange color border of the Gridview ? and if we can make the child-folder's culomn border aligned with the  super-folder?
2: Can we get rid of history folder?

Thank you very much!
 
Martin Vasilev
Telerik team
 answered on 03 Dec 2009
1 answer
122 views
Hello Telerik,

Now can you tell me a way so that I can set visibility of tab strip header. I want it should not be visible in tab strip. I am attaching snapshot which explain more.
Nikolay
Telerik team
 answered on 03 Dec 2009
1 answer
168 views
Hello,

I've noticed a defect in the drawing of the bar element of the RadWaitingBar. It seems that whenever the left side of the bar is not truncated by the left side of the Control, the bar is drawn appropriately, and the control borders are properly visible. However, once the bar reaches the right side of the control and begins to wrap around, it is drawn 'on top' of the left and bottom border of the RadWaitingBar. This makes the control look far less nice. I've noticed this problem in Q1, Q2 and Q3 of telerik 2009.

I've attached two examples. In the bad one, you'll also notice that the colors are being drawn outside of the box in the four corners. In addition, even in the Good one, the four corner pixels are not transparent which would be ideal.

Colin
Nikolay
Telerik team
 answered on 03 Dec 2009
5 answers
247 views
Hi, quick question, I know how to localize individual controls and it seems to work fine for me so far. But since I have to create a Localization provider for every control that I need to translate and find all the strings and translate them all.. I was wondering if there was some kind of compilation somewhere I could download and simply add to my program?

I wish I could download or at least copy and paste information like that (that would prevent all the manual work) :

Imports Telerik.WinControls.UI.Localization

Public Class MyFrenchRadGridLocalizationProvider
    Inherits RadGridLocalizationProvider
    Public Overloads Overrides Function GetLocalizedString(ByVal id As String) As String
        Select Case id
            Case RadGridStringId.FilterFunctionBetween
                Return "Entre"
            Case RadGridStringId.FilterFunctionContains
                Return "Contient"
            Case RadGridStringId.FilterFunctionDoesNotContain
                Return "Ne contient pas"
            Case RadGridStringId.FilterFunctionEndsWith
                Return "Termine par"
            Case RadGridStringId.FilterFunctionEqualTo
                Return "Équal à"
            Case RadGridStringId.FilterFunctionGreaterThan
                Return "Plus grand que"
            Case RadGridStringId.FilterFunctionGreaterThanOrEqualTo
                Return "Plus grand ou équal à"
            Case RadGridStringId.FilterFunctionIsEmpty
                Return "Est vide"
            Case RadGridStringId.FilterFunctionIsNull
                Return "Est nule"
            Case RadGridStringId.FilterFunctionLessThan
                Return "Plus petit que"
            Case RadGridStringId.FilterFunctionLessThanOrEqualTo
                Return "Plus petit ou égal à"
            Case RadGridStringId.FilterFunctionNoFilter
                Return "Sans filtre"
            Case RadGridStringId.FilterFunctionNotBetween
                Return "N'est pas entre"
            Case RadGridStringId.FilterFunctionNotEqualTo
                Return "N'est pas égal"
            Case RadGridStringId.FilterFunctionNotIsEmpty
                Return "N'est pas vide"
            Case RadGridStringId.FilterFunctionNotIsNull
                Return "N'est pas nule"
            Case RadGridStringId.FilterFunctionStartsWith
                Return "Débute par"
            Case RadGridStringId.FilterFunctionCustom
                Return "Personalisé"
            Case RadGridStringId.CustomFilterMenuItem
                Return "Menu filtre"
            Case RadGridStringId.CustomFilterDialogCaption
                Return "Dialogue de filtre"
            Case RadGridStringId.CustomFilterDialogLabel
                Return "Afficher les lignes:"
            Case RadGridStringId.CustomFilterDialogRbAnd
                Return "Et"
            Case RadGridStringId.CustomFilterDialogRbOr
                Return "Ou"
            Case RadGridStringId.CustomFilterDialogBtnOk
                Return "OK"
            Case RadGridStringId.CustomFilterDialogBtnCancel
                Return "Annuler"
            Case RadGridStringId.DeleteRowMenuItem
                Return "Effacer une ligne"
            Case RadGridStringId.SortAscendingMenuItem
                Return "Tri ascendant"
            Case RadGridStringId.SortDescendingMenuItem
                Return "Tri descendant"
            Case RadGridStringId.ClearSortingMenuItem
                Return "Effacer le tri"
            Case RadGridStringId.ConditionalFormattingMenuItem
                Return "Format de colonne conditionnel"
            Case RadGridStringId.GroupByThisColumnMenuItem
                Return "Grouper cette colonne par item"
            Case RadGridStringId.UngroupThisColumn
                Return "Dégrouper cette colonne"
            Case RadGridStringId.ColumnChooserMenuItem
                Return "Filtrer les colonnes"
            Case RadGridStringId.HideMenuItem
                Return "Cacher"
            Case RadGridStringId.UnpinMenuItem
                Return "Décrocher"
            Case RadGridStringId.PinMenuItem
                Return "Accrocher"
            Case RadGridStringId.BestFitMenuItem
                Return "Ajuster"
            Case RadGridStringId.PasteMenuItem
                Return "Coller"
            Case RadGridStringId.EditMenuItem
                Return "Éditer"
            Case RadGridStringId.CopyMenuItem
                Return "Copier"
            Case RadGridStringId.AddNewRowString
                Return "Ajouter une ligne"
            Case RadGridStringId.ConditionalFormattingCaption
                Return "Mise en forme conditionnelle"
            Case RadGridStringId.ConditionalFormattingLblColumn
                Return "Colonne:"
            Case RadGridStringId.ConditionalFormattingLblName
                Return "Nom:"
            Case RadGridStringId.ConditionalFormattingLblType
                Return "Type:"
            Case RadGridStringId.ConditionalFormattingLblValue1
                Return "Valeur 1:"
            Case RadGridStringId.ConditionalFormattingLblValue2
                Return "Valeur 2:"
            Case RadGridStringId.ConditionalFormattingGrpConditions
                Return "Conditions"
            Case RadGridStringId.ConditionalFormattingGrpProperties
                Return "Propriétés"
            Case RadGridStringId.ConditionalFormattingChkApplyToRow
                Return "Appliquer à la ligne"
            Case RadGridStringId.ConditionalFormattingBtnAdd
                Return "Ajouter"
            Case RadGridStringId.ConditionalFormattingBtnRemove
                Return "Effacer"
            Case RadGridStringId.ConditionalFormattingBtnOK
                Return "OK"
            Case RadGridStringId.ConditionalFormattingBtnCancel
                Return "Annuler"
            Case RadGridStringId.ConditionalFormattingBtnApply
                Return "Appliquer"
            Case RadGridStringId.ColumnChooserFormCaption
                Return "Sélecteur de colonnes"
            Case RadGridStringId.ColumnChooserFormMessage
                Return "Glisser une colonne ici pour la cacher"
            Case RadGridStringId.GroupingPanelDefaultMessage
                Return "Regroupement"

            Case Else
                Return MyBase.GetLocalizedString(id)
        End Select
    End Function
End Class


Any idea?

Thanks a lot
Nikolay
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?