Raja TRank #685 · 3.5K reputationPosted Feb 9, 2016, 6:26 PM EST
0
Hello Sai, Shubham Kumar Comment is correct. Because in code behind it can t possible get div id/properties with out mention runat="server" attribute. So you need div hide and show use plain HTML and Java script only. Like below
HTML Code
Code
id="myBox" style="display: none;"> Some Text .......
AshokRank #2,671 · 521 reputationPosted Feb 9, 2016, 8:16 PM EST
0
hi thanks to all
i have two pages like pag1 and page2 in page1 i am binding data to a div element through
xslt and has some links which navigates to page2 if i click a link in page1 it navigates
to page 2 so here i want to hide the page2 div element whn i navigate and its working alone if we access page2 how to acheive this with javascript or can we use other.Thanks
Shubham KumarRank #621 · 3.8K reputationPosted Feb 9, 2016, 12:46 AM EST
Shweta LodhaRank #31 · 39.8K reputationPosted Feb 9, 2016, 12:49 AM EST
sai,
please try this:
AshokRank #2,671 · 521 reputationPosted Feb 9, 2016, 12:57 AM EST
Rajeev PunhaniRank #551 · 4.4K reputationPosted Feb 9, 2016, 9:22 AM EST
Raja TRank #685 · 3.5K reputationPosted Feb 9, 2016, 6:26 PM EST
AshokRank #2,671 · 521 reputationPosted Feb 9, 2016, 8:16 PM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts