Click here to Skip to main content
15,896,456 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a set of controls (text boxes and radio buttons) . Out of this some controls should be visible on click of a button say "Button 1" .Other set of controls should be visible on click of "Button 2".
I have two alternates( in my knowledge) ..
1.mutliview with update panel to avoid post back
2. separate div and visibility managed by java script on button click

Please advice which one is the best option
Posted

1 solution

Looks like the second one will be neater.
 
Share this answer
 
Comments
Member 10112611 14-Jan-15 2:30am    
if you can help me based on the performance of the page, it would be great
Peter Leow 14-Jan-15 2:37am    
Agreed with Abhinav, use Javascript. Try to code it yourself first. If any problem during coding, then show the code at this forum to get help.
Member 10112611 14-Jan-15 2:41am    
yes I did and is working ..but I doubt why can't I use the multiview? will it affect performance? Sorry for the kiddish question; I am new to web application ..
MohitMunjal 14-Jan-15 5:47am    
As if you use javascript then there would be no postback.But i f you will use multiview then you have to go to the server so postback will occur.As you can't access multiview from client side as it a server side control.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900