databind on clint side button visible or false


// Server side

 public bool ShowImg(string actuals)
        {
            if (actuals == "1")
                return true;
            else
                return false;
        }

//Clint side

Visible='<%# ShowImg(Eval("Actuals").ToString()) %>' 

Search This Blog

Arsip Blog

Powered by Blogger.

Recent

Comment

Author Info

Like This Theme

Popular Posts

Video Of Day

jishnukanat@gmail.com

Sponsor

Most Popular