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

UserControl Edit Form Not Completely Closing

1 Answer 63 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chuck Lane
Top achievements
Rank 1
Chuck Lane asked on 02 Jun 2010, 10:03 PM
For some reason even after clicking on the Cancel button inside my User Edit Control although it appears to close there is still a small thin blue line underneath it. If something refreshes the page it reopens without Edit being clicked on.

The HTML for this thin blue line looks like this:

<tr>
    <td style="vertical-align: top;" colspan="11">
        <div class="rgEditForm">
            <div style="width: 98%; margin: 0pt 1%;" class="RadGrid RadGrid_Office2007" id="ctl00_mainContentPlaceHolder_rgTicketGrid_ctl00_ctl25_EditFormControl_rgApprovalGrid">
                <input type="hidden" name="ctl00_mainContentPlaceHolder_rgTicketGrid_ctl00_ctl25_EditFormControl_rgApprovalGrid_ClientState"                id="ctl00_mainContentPlaceHolder_rgTicketGrid_ctl00_ctl25_EditFormControl_rgApprovalGrid_ClientState" autocomplete="off">
            </div>
        </div>
    </td>
</tr>

The cancel button inside the form looks like
<asp:ImageButton CommandName="Cancel" runat="server" Visible="true" ID="BtnCancelRemove"
                         AlternateText="Close" Style="float: right" ImageUrl="~/Images/error.gif" />

The button to open the edit form is
                        <asp:Button ID="ApprovalView" runat="server" Text="View" CommandName="Edit" CommandArgument="View" />

Anyone who has an ideas it would be appreciated.

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 08 Jun 2010, 07:41 AM
Hi Chuck,

The HTML you provided is the edit form row that is opened below the edited item. It is where the user control edit from is rendered. It also seems there is a place holder and a RadGrid. The whole row should be gone once Cancel command is initiated. Somehow the edit form is never closed, only the contents of the user control are gone.

Sincerely yours,
Veli
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Chuck Lane
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or