RadInput getting client side changes on postback

2 posts, 1 answers
  1. Gary
    Gary avatar
    20 posts
    Member since:
    Oct 2012

    Posted 02 Mar 2015 Link to this post

    Is there any way to get the changes that were made to a RadInput control on the client side when the page posts back? For example, I know that a RadTextBox can be set_visible() or enable() on the client side. How can I detect whether the box was visible/hidden or enabled/disabled by the client after the page posts back?
  2. Answer
    Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 05 Mar 2015 Link to this post


    You can simply check the input's status like this:
    protected void Page_Load(object sender, EventArgs e)
            if (RadTextBox1.Enabled && RadTextBox1.Visible)
                Response.Write("input is enabled and visible");

    Maria Ilieva

    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.

  3. DevCraft R3 2016 release webinar banner
Back to Top