Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
in my application i m having a radio button group as taxterms. and having 3 items as
employee,c2c,1099 based on the selection the div should be visible in the next page. that means if c2c selected then the c2c related div should be displayed and remaining should be invisible
Posted
Updated 22-Jan-13 17:59pm
v3
Comments
Ruchin Munjal 24-Jan-13 14:54pm    
"div should be visible in the next page"

Are you sure about this?

Hi
You can do using jQuery, apply jQuery click event using jQuery and then if B2C Radio button will click then Show the div which you whats and hide all divs.

Thanks
Gaurav Dhol
 
Share this answer
 
Comments
Dhritirao's 23-Jan-13 1:27am    
i need in asp.net
Ruchin Munjal 24-Jan-13 14:53pm    
also I think he needs on next page not on the same page.
C#
if (ds.Tables[0].Rows[0]["TaxTerms"].ToString() == ResourceManagementConstants.str_C2C)
              {
                  C2CDiv.Visible = true;
                  TaxTermsDiv.Visible = false;
              }
              else if (ds.Tables[0].Rows[0]["TaxTerms"].ToString() == ResourceManagementConstants.str_1099)
              {
                  TaxTermsDiv.Visible = true;
                  C2CDiv.Visible = false;
              }
              else
              {
                  C2CDiv.Visible = false;
                  TaxTermsDiv.Visible = false;
              }

          }
 
Share this answer
 
i got the answer i have posted the answer also...
 
Share this answer
 
Comments
Dhritirao's 15-Mar-13 7:10am    
.

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