TextBox Visibility

2 posts, 0 answers
  1. Leonardo
    Leonardo avatar
    1 posts
    Member since:
    Aug 2011

    Posted 17 Aug 2011 Link to this post

    I am currently working with the RadListView components.

    I am trying to make a textbox visible or not from the result of a preceding textbox.

    if tb1.text = “CE”

    then tb2.visible = false

    Currently I am having null pointer exception returns.  The problem is that by the standard methods of binding the result to a String returns an object and not a string (even with the .ToString() argument). How can i resolve this problem?

    Thank you for your understanding
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Aug 2011 Link to this post

    Hello Leonardo,

    In order to access ListView control you need to use findControl() method. Please go through the following help documentation for more on this.
    Accessing Controls in RadListView.

Back to Top