How to add Control in Telerik Control

2 posts, 0 answers
  1. Jaya
    Jaya avatar
    85 posts
    Member since:
    Mar 2011

    Posted 11 Feb 2015 Link to this post


    This is My Telerik Grid Design. How to add Textbox control in my telerik Grid when i click one button i need add new textcontrol Created this grid but client side event firing for add new textbox how will do this

    How to add controls to telerik grid using Client Side thats the concept

    <telerik:RadGrid ID="Telerik1" runat="server" AutoGenerateColumns="false" Height="300px"   
                            <Selecting AllowRowSelect="True" />
                            <Scrolling AllowScroll="true"   />
                        <MasterTableView DataKeyNames="ID">
                                <telerik:GridBoundColumn HeaderText="ID" DataField="ID" ReadOnly="true" UniqueName="ID" />
                                <telerik:GridBoundColumn HeaderText="Name" DataField="NAME" ReadOnly="true" UniqueName="NAME">
  2. Viktor Tachev
    Viktor Tachev avatar
    1789 posts

    Posted 13 Feb 2015 Link to this post

    Hi Jaya,

    Note that RadGrid is a server-side control and as such its structure should be defined on the server. If you would like to change the structure of RadGrid dynamically on postback you should create the entire control in the code-behind using the Page_Init event. The approach is illustrated in the following article.

    With this said would you elaborate in more detail what is the functionality that you would like to implement? What are the requirements and what should be the expected result?

    Viktor Tachev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top