Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
595
numeric dropdown editor, tooltip doesn't appear?
posted

Hi,

Do you know what is wrong with this code, the tooltip doesn't appear?
The editor does work though.

 

 

        ' Create an editor provider for the Invoice_Line.
        Dim NumericEditorProvider As New Infragistics.Web.UI.GridControls.NumericEditorProvider()
        NumericEditorProvider.ID = "NumericEditorProvider"
        NumericEditorProvider.EditorControl.MaxDecimalPlaces = 2
        NumericEditorProvider.EditorControl.MinDecimalPlaces = 2
        NumericEditorProvider.EditorControl.Nullable = False
        NumericEditorProvider.EditorControl.NullValue = 0
        NumericEditorProvider.EditorControl.MaxLength = 20
        NumericEditorProvider.EditorControl.SelectionOnFocus = Infragistics.Web.UI.EditorControls.SelectionOnFocus.SelectAll
        NumericEditorProvider.EditorControl.AutoPostBackFlags.ValueChanged = Infragistics.Web.UI.AutoPostBackFlag.On
        NumericEditorProvider.EditorControl.ToolTip = "Only 2 decimal places will be saved."

        ' Create a column setting to use the editor provider.
        Dim columnSetting2 As New EditingColumnSetting()
        columnSetting2.ColumnKey = "Invoice_Line"     ' Assign editor for column to use
        columnSetting2.EditorID = NumericEditorProvider.ID  ' Add column setting
        WebDataGrid1.Behaviors.EditingCore.Behaviors.CellEditing.ColumnSettings.Add(columnSetting2)

Parents Reply Children
No Data