This is a migrated thread and some comments may be shown as answers.

RadInput getting client side changes on postback

1 Answer 41 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 02 Mar 2015, 05:46 PM
Hi,
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?

1 Answer, 1 is accepted

Sort by
0
Accepted
Maria Ilieva
Telerik team
answered on 05 Mar 2015, 04:18 PM
Hello,

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");
        }
    }


Regards,
Maria Ilieva
Telerik
 

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.

 
Tags
General Discussions
Asked by
Gary
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or