Hi, My requirement is to display the button in the Grid.So in the cellformatting i have added the below code to display button in the cell of the Grid.
RadButtonElement
radButtonElement = new RadButtonElement();
radButtonElement .Click +=
new EventHandler(radButtonElement _Click);
e.CellElement.Children.Add(radButtonElement );
The problem i am facing is when the Grid is getting filled it is displaying the Button in the Grid.But when i click on it for the first time it is not firing the radButtonElement _Click event. When i click second time it is firing.
Could you suggest me how to fire the click element for the first time only.