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)
Hello netdocs,
I created a sample and set the ToolTip to "Only 2 decimal places will be saved.". This was set within the EditorControl contained in the NumericEditorProvider. When entering edit mode I was able to successfully see the tooltip message.
What version of NetAdvantage are you currently running for this?
Let me know if you have any questions with this matter. Thank you.
The tooltip wouldonly appear if ajax was enabled. I'm using 10.3.