We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

ExternalFormTemplate - edit form header -toggle-icon not showing

Thread ID:





124785 Jun 29,2016 09:20 PM Jun 30,2016 03:19 AM ASP.NET Web Forms 1
Tags: Grid
Asked On June 29, 2016 09:20 PM


Edit form in  ExternalFormTemplate  header title display apply  bellow code - toggle-icon  not showing  

$('#<%= CustomerGrid.ClientID %>_eFormHeader').text("Showing details of " + this.getCurrentViewData()[args.rowIndex].str_company_name + "(" + this.getCurrentViewData()[args.rowIndex].str_customer_code + ")");



Attachment: header_arrow_852034c.rar

Ragavee U S [Syncfusion]
Replied On June 30, 2016 03:19 AM

Hi Pratheep, 

We understand that your requirement is to customize the edit form title. Since you are replacing the Edit form header innerHtml with the new content, the toggle icon element which is actually present within the form header is also replaced resulting in the reported issue. 

So we suggest you to traverse to the e-form-title class of the External form element and replace the content based on your requirement. Please refer to the below code example. 

<script type="text/javascript"> 
        function complete(args) {             
            if ((args.requestType == "beginedit" || args.requestType == "add")) { 
                $("#<%= OrdersGrid.ClientID %>_eFormHeader").find(".e-form-title").text("Showing details of " + this.getCurrentViewData()[args.rowIndex].CustomerID); 
                . . . . 

We have created a sample with the above solution, which can be downloaded from the below link. 

Ragavee U S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.