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

Hiding Textbox based on other TextBox values?

1 Answer 168 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
chakaw
Top achievements
Rank 1
chakaw asked on 15 Sep 2009, 05:22 PM
Hi ,

i have a report which shows the dates as below based on the user inputs

     Batch Date:  September 15,2009   --- This should be displayed when the user selects only one day
                           0r
     September 1,2009  to September 15,2009  --- This should be displayed when the user selects date range

BtachDate:  textbox1
Fromdate:   textbox2
Todate:       textbox3
to:               textbox4

In the report i want to compare Fromdate and ToDate and if they are equal, then hide textbox3, textbox4
                                                                                                           Notequal, then hide textbox1

I have seen some examples in the forum( attaching a databounditem event to a textbox),
but i dont see a situation where we can make a textbox visible/invisible based on ther textbox values?

How can this be accomplished??


Thanks,
PK

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 16 Sep 2009, 06:56 AM
Hi chakaw,

You can use Conditional Formatting with appropriate expression in the Expression Dialog taking advantage of our built-in functions and operators.

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
chakaw
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or