Skip to content

Hiding or Invisible File.

Lawrence M

Asked Nov 16, 2010, 6:41 AM EST3 answers
Share
LinkedInX
How to hide or make it invisible any kind of file..

3 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Jiteendra Sampathirao
    0
    Hi,
    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 '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.

    0
  • Abdullah AKALIN
    0
    I am wondering this too.But I couldn't understand what have you written.Can you help me please?
    Thanks...
     
    0
  • Jiteendra Sampathirao
    0
    Hi,
    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.
    0