hi friends.. In asp.net , i want to show the gridview when keypress in textbox.. how to do in javascript..
mariappan.s
0
Newbie Poster
Recommended Answers
Jump to Posttxtbox.attributes.add("onkeypress","javascript:return gridvisible();"); <script> function gridvisible() { var gd=document.getelementbyid("u r gridview id"); gd.style.visibility="visible"; //in case u want to the gridview to be not visible use this gd.style.visibility="hidden"; } </script>
Jump to Postadd this to the design view of gridview
Style="visibility: hidden"
All 6 Replies
greeny_1984
14
Posting Whiz
mariappan.s
0
Newbie Poster
mariappan.s
0
Newbie Poster
greeny_1984
14
Posting Whiz
mariappan.s
0
Newbie Poster
greeny_1984
14
Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.