I have a radgrid that uses a WebUserControl in the EditForm mode. When you edit a line the Webusercontrol is shown in the grid but the item row is also show. Is it possible to hide this line?
See in attachment an example of the radgrid, the block surrounded with the blue line (I'm not a drawing artist as you can see :-) ) is the block that should be hidden.
4 Answers, 1 is accepted
Looking at the attached screenshot and taking into account your requirement I am not sure that I understand your exact scenario and especially, how the outlined elements in the screenshots are part of the edited item and not from the WebUserControl. Nevertheless, if you need to hide the item for which the edit form is opened, you can use the following CSS:
If I misunderstood you, please provide detailed information on the exact scenario and the markup of your RadGrid and the WebUserControl.
If you need to hide the DetailItemTemplate of the edited item you could use the following CSS selector instead:
The above selector will hide the TR element following the edited item, which will be the DetailItemTemplate.
that is exactly what I need. Thank you