B
Brad Baker
I have several asp.net repeaters which I need to display based on the value
of a dropdown. I.E. If item1 in a dropdown is selected then repeater1 needs
to be displayed, if item item2 is selected then repeater2 needs to be
displayed.
I have no problem writing and displaying a single repeater and I know how to
test the value of a dropdown but I can't seem to figure out how to combine
the two. (In other words test for the value of form variable, then display
the corresponding repeater in the body of a page.)
Is there a way to do what I want in C# or am I approaching this problem from
the wrong angle?
Thanks,
Brad
of a dropdown. I.E. If item1 in a dropdown is selected then repeater1 needs
to be displayed, if item item2 is selected then repeater2 needs to be
displayed.
I have no problem writing and displaying a single repeater and I know how to
test the value of a dropdown but I can't seem to figure out how to combine
the two. (In other words test for the value of form variable, then display
the corresponding repeater in the body of a page.)
Is there a way to do what I want in C# or am I approaching this problem from
the wrong angle?
Thanks,
Brad