Radtextbox.text not updating

2 posts, 1 answers
  1. SKande
    SKande avatar
    27 posts
    Member since:
    May 2013

    Posted 06 Aug 2013 Link to this post

    Hello I am very new to the telerik controls I am trying to change the radbox text in the page load event but it is not changing .


    <radtextbox id="test" runat="server"
    public void page_load()
      test.Text= Session.PageCount.ToString(); 
  2. Answer
    A2H avatar
    177 posts
    Member since:
    Mar 2010

    Posted 06 Aug 2013 Link to this post


    Your HTML mark up for RadTextbox is wrong, Usually Telerik controls will have a TagPrefix “telerik”, just like "asp" for asp.net controls.

    Please modify your code like given below

    <asp:ScriptManager ID="ScriptManager1" runat="server">
            <telerik:RadTextBox ID="test" runat="server">

    Side Note : Make sure you have the below tag prefix line in your page.

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    Please refer the below links to get started with Telerik Controls


    Telerik Rad Controls Introduction


    Telerik RadTextboxDemo


    Adding a new Telerik Rad controls to a ASP.Net page


Back to Top