This is a migrated thread and some comments may be shown as answers.

Styling a grid with popup edit form

1 Answer 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Emanuele
Top achievements
Rank 1
Veteran
Emanuele asked on 28 Jul 2020, 12:12 PM

Hi, i'm using a popup edit form in a grid, but i'm having problems with its styling.

First of all, i see a empty row under the edited row and i need help to set its border=0 px to hide that.

But the auto-code of the grid has no referral, like you see in the attached image.

 

I've tried to find a property in the EditFormSettings without results:

<EditFormSettings EditColumn-HeaderStyle-BackColor="YellowGreen"  UserControlName="VariabiliDettaglio.ascx" EditFormType="WebUserControl" PopUpSettings-Width="" EditColumn-HeaderText="headertext" CaptionFormatString=" Variabile [{0}]" EditColumn-CancelText="Annulla" EditColumn-UpdateText="Salva" FormMainTableCaption="main table caption" CaptionDataField="Nome"><br>                        <EditColumn UniqueName="EditCommandColumn1" ItemStyle-BackColor="Yellow"><br>                        </EditColumn><br>                    </EditFormSettings>

 

Thank you

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 31 Jul 2020, 12:51 PM

Hi Emanuele,

Can you remove the <br> tags from the provided setup and see if the additional row is still rendered?

            <EditFormSettings EditColumn-HeaderStyle-BackColor="YellowGreen" UserControlName="VariabiliDettaglio.ascx" EditFormType="WebUserControl" PopUpSettings-Width="" EditColumn-HeaderText="headertext" CaptionFormatString=" Variabile [{0}]" EditColumn-CancelText="Annulla" EditColumn-UpdateText="Salva" FormMainTableCaption="main table caption" CaptionDataField="Nome">
                <EditColumn UniqueName="EditCommandColumn1" ItemStyle-BackColor="Yellow">
                </EditColumn>
            </EditFormSettings>

If this does not help, can you send me the content of the linked used control as well? - VariabiliDettaglio.ascx

It will be event more helpful if you prepare and send me a runnable project where I can reproduce the behvaior you want to avoid and examine the exact setup leading to it.

Regards,
Vessy
Progress Telerik

Tags
Grid
Asked by
Emanuele
Top achievements
Rank 1
Veteran
Answers by
Vessy
Telerik team
Share this question
or