Click here to Skip to main content
16,018,202 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want When user edit Cell Value of radgridview the text of current cell
show in textbox concurrency .
mytextbox.text=radgrid.currentrow.cells["MYCOLUMN"].value.tostring;
works when editing text ended .i want show in textbox my change;
Posted

I just think, for steps/questions/issues about a 3rd party control (here Telerik), looking at their respective forums would be more helpful.
For now, here: Telerik: Support Forum[^]

If needed, look at these too:
Telerik - Documentation[^]
Telerik - Online Demos[^]
 
Share this answer
 
XML
<telerik:GridTemplateColumn HeaderText="" UniqueName="TemplateColumnAddlfield" ItemStyle-Width ="20%" HeaderStyle-Width="20%">
<ItemTemplate>
<asp:Panel ID="pnlComment" runat="server" Visible="True">
<asp:Label ID="lbComment"  text="Comment" runat="server"></asp:Label>
<asp:TextBox ID="ctlTextBox"  runat="server"></asp:TextBox>
</asp:Panel>
</ItemTemplate>
<ItemStyle BorderColor="white" />
</telerik:GridTemplateColumn>




C#
   Protected Sub grdQuestions_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles grdQuestions.ItemDataBound
Dim ctlTextBox As TextBox = gridItem.FindControl("txtQuestion")
 If Not ctlTextBox Is Nothing Then
ctlTextBox.Attributes.Add("onchange", "checkMnadatoryRows();")



 End If
   End Sub

function checkMnadatoryRows()
{
// write whatever you need here
// this will call when your text has changing in textbox 
}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900