Link to home
Start Free TrialLog in
Avatar of 1jaws
1jawsFlag for United States of America

asked on

enable button

I have RadToolbar  has button Reply and set that to enabled false.. than I have RadGrid that  if user doesnt click the any row from the grid that Reply button should be disable , if they clicked row, that time should be enabled..how can I do that? I have Radgrid row click event and tried getting the value of reply by using this, doesnt work..

RadToolBarButton btn = (RadToolBarButton)RadToolBar1.FindItemByValue("reply");
btn.Enabled = true;    
ASKER CERTIFIED SOLUTION
Avatar of jagssidurala
jagssidurala
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 1jaws

ASKER

Error      4      'Telerik.Web.UI.RadToolBarItemCollection' does not contain a definition for 'GetButtonByCommandName' and no extension method 'GetButtonByCommandName' accepting a first argument of type 'Telerik.Web.UI.RadToolBarItemCollection' could be found (are you missing a using directive or an assembly reference?)       

got that error...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 1jaws

ASKER

Thanks both for replying.. but I got the work around for this question...and solved different way...