Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Agent and App Development Solutions
Build. Accelerate. Govern.
AI-Ready Application Experiences
AI-Assisted SDLC
Agent Governance and Control
Telerik
Build modern .NET business apps
.Net Web
Desktop
Reporting and Documents
Cross-Platform
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
CMS
Debugging
UI Tools
Free Tools
Support and Learning
Productivity and Design Tools
protected
void
myRadGrid_ItemDataBound(
object
sender, Telerik.Web.UI.GridItemEventArgs e)
{
if
(e.Item
is
GridEditableItem && e.Item.IsInEditMode)
GridEditFormInsertItem || e.Item
GridDataInsertItem)
GridEditFormInsertItem insertItem=(GridEditFormInsertItem)e.Item;
TextBox txt = (TextBox)insertItem.FindControl(
"TextBox1"
);
//if you want to hide an asp:TextBox
txt.Visible =
false
;
TextBox txtbound = (TextBox)insertItem[
"UniqueName"
].Controls[0];
// if you want to hide a BoundColumn
txtbound.Visible =
txt.Parent.Parent.Visible =
txtbound.Parent.Parent.Visible =
}
else
//in edit mode
TextBox txt = (TextBox)e.Item.FindControl(
//if you want to hide an asp:TextBox in edit mode
true