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

TextBox Visibility

1 Answer 99 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Leonardo
Top achievements
Rank 1
Leonardo asked on 17 Aug 2011, 01:46 PM

Hello,
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

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Aug 2011, 07:59 AM
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.

Thanks,
Shinu.
Tags
ListView
Asked by
Leonardo
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or