Hiding or Invisible File.
How to hide or make it invisible any kind of file..
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jiteendra SampathiraoPosted Nov 18, 2010, 12:24 AM
By using visible property you can hide or visible the controls.
For example: you have a DropDownlist control and Gridview control in your web page like:
//you placed the items what's you want
when pageload happens first time it should show only dropdownlist and button.When select one item from dropdownlist and click on the button based on the dropdownlist value it should show the Gridview.
So in Page_load event
If(!Ispostback)
{
tblfordropdownlist.visible=true;
tblforgridview.visible=false;
}
In button_click event write:
tblforgridview.visible=true;
If this post helped you, then tick the "Do you like this Answer" checkbox which is placed at above this post.
Abdullah AKALINPosted Nov 17, 2010, 5:56 PM
Thanks...
Jiteendra SampathiraoPosted Nov 17, 2010, 1:49 AM
Solution is::::: visible=false
1. If it is in Database side use status column and set 0 and 1.
2. If it is .net app side....place it in < tr>'s and set visible=false when your condition checks.
ex:
//your .........................
if(something == XXXXXX)
{
trXXX.visible=false;
}
If this post helped you, then tick the "Do you like this Answer" checkbox which is placed at above this post.