I'm trying to execute a spell check from a textbox within a ListView whenever the user submits a new record.
Is this even possible? My code is as follows:
Is this even possible? My code is as follows:
Private Sub lvStrengths_ItemInserting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ListViewInsertEventArgs) Handles lvStrengths.ItemInserting
Dim item As ListViewItem = lvStrengths.InsertItem
Dim tb As TextBox = item.FindControl("tbStrengths")
Dim rsc As RadSpell = item.FindControl("rscStrengths")
odsStrengths.InsertParameters(0).DefaultValue = _RptNum
odsStrengths.InsertParameters(1).DefaultValue = tb.Text
rsc.ControlToCheck = tb.Text
rsc.ButtonType = ButtonType.None
End Sub
Thanks very much!