Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
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 22-Jan-13 17:58pm
Edited 22-Jan-13 17:59pm
v3
Comments
Ruchin Munjal at 24-Jan-13 14:54pm
   
"div should be visible in the next page" Are you sure about this?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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;
              }
 
          }
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
Angelina Feb21 at 23-Jan-13 1:27am
   
i need in asp.net
Ruchin Munjal at 24-Jan-13 14:53pm
   
also I think he needs on next page not on the same page.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 696
1 OriginalGriff 478
2 Tadit Dash 400
3 sanket saxena 337
4 Peter Leow 228
0 Sergey Alexandrovich Kryukov 11,890
1 OriginalGriff 7,335
2 Peter Leow 5,003
3 Abhinav S 3,943
4 Maciej Los 3,575


Advertise | Privacy | Mobile
Web03 | 2.8.140421.2 | Last Updated 24 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid