this is murali. i recently updated my DLL's from Q1 2010 to Q3 2010. I am having Update problems with radgrid when in edit mode
the following is the template column i have in my grid
<
telerik:GridTemplateColumn HeaderText="Note" UniqueName="Note" DataField="Note">
<ItemTemplate>
<%#Eval("Note")%>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadTextBox ID="rtb_Note" TextMode="MultiLine" Columns="25" Rows="3" MaxLength="500" Text='<%# Bind("Note") %>' runat="server" />
</EditItemTemplate>
</telerik:GridTemplateColumn>
i am trying to access the radtextbox value as follows
For Each column In e.Item.OwnerTableView.Columns
If TypeOf column Is IGridEditableColumn Then
Dim
editableCol As IGridEditableColumn = CType (column, IGridEditableColumn)
If (editableCol.IsEditable) Then
Dim editor As IGridColumnEditor = editMan.GetColumnEditor(editableCol)
Dim editorType As String = CType(editor, Object).ToString()
Dim editorText As String = "unknown"
Dim editorValue As Object = Nothing
If
(TypeOf editor Is GridTemplateColumnEditor) Then
If column.UniqueName = "Note" Then
editorText = clsmain.ReplaceSingleQuote(CStr(CType(e.Item.FindControl("rtb_Note" ), RadTextBox).Text))
End
End
End
Next
so when i check the editorText value it is not getting the recenlty typed text.
i tried the same code with Q1 2010 and it works just fine, so what am i doing wrong for Q3 2010.
thank you in advance for all the help.
Murali