This question is locked. New answers and comments are not allowed.
hi,
I have a gridview,in one of the column i have placed a button control.
my scenorio is, i have to invisible the button for certain conditons................
how to do that?
(i m using Telerik Gridview (SIlverlight))
I have a gridview,in one of the column i have placed a button control.
my scenorio is, i have to invisible the button for certain conditons................
how to do that?
(i m using Telerik Gridview (SIlverlight))
6 Answers, 1 is accepted
0
Hi Senthil S,
You can use Loaded event of this button to change the button visibility. Just cast the sender argument to Button and use DataContext property if your condition is data related.
Best wishes,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You can use Loaded event of this button to change the button visibility. Just cast the sender argument to Button and use DataContext property if your condition is data related.
Best wishes,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Senthil S
Top achievements
Rank 1
answered on 01 Sep 2009, 05:53 AM
Hi Vlad,
Thanks a lot for the response.
my scenorio is, i have to invisible the button inside the Gridview column for certain conditons
If possible could you please provide me working sample on this.
Thanks & Kind Regards
Senthil
Thanks a lot for the response.
my scenorio is, i have to invisible the button inside the Gridview column for certain conditons
If possible could you please provide me working sample on this.
Thanks & Kind Regards
Senthil
0
Hello Senthil S,
As I said in my previous reply all you need to do is to declare Loaded event for this button and use the button DataContext - do you have any problems to do this?
Greetings,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
As I said in my previous reply all you need to do is to declare Loaded event for this button and use the button DataContext - do you have any problems to do this?
Greetings,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Senthil S
Top achievements
Rank 1
answered on 01 Sep 2009, 06:12 AM
Hi Vlad,
I am new to telerik. Ifpossible can you please send me some sample code on this.
Regards
Senthil
I am new to telerik. Ifpossible can you please send me some sample code on this.
Regards
Senthil
0
Accepted
Hi Senthil,
I've attached an example project to demonstrate you how to achieve this.
Sincerely yours,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I've attached an example project to demonstrate you how to achieve this.
Sincerely yours,
Vlad
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Senthil S
Top achievements
Rank 1
answered on 01 Sep 2009, 08:17 AM
Thanks a lot vlad..........it works..............
