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 18:58pm
Edited 22-Jan-13 18: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 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 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 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 Peter Leow 255
1 Mika Wendelius 240
2 Zoltán Zörgő 198
3 CHill60 195
4 TheRealSteveJudge 180
0 Sergey Alexandrovich Kryukov 8,698
1 OriginalGriff 6,591
2 Peter Leow 3,982
3 Zoltán Zörgő 3,634
4 Richard MacCutchan 2,535


Advertise | Privacy | Mobile
Web02 | 2.8.150123.1 | Last Updated 24 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100