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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

@ Html.EJ (). Signature Do not clear data

Thread ID:

Created:

Updated:

Platform:

Replies:

146387 Aug 1,2019 11:08 AM UTC Aug 6,2019 03:40 PM UTC ASP.NET Core 2
loading
Tags: Signature
Phonchai Sakunchinnasee
Asked On August 1, 2019 11:11 AM UTC

Control Signature There are no items to choose from. Select us. Select Button to pass.

Q1
-----
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@Html.EJ().Signature("mySignature").Height("400px").StrokeWidth(3).IsResponsive(true).saveWithBackground(true).IsResponsive(true).StrokeColor("blue").BackgroundColor("grey")
@Html.EJ().Button("signSave").Text("Save").ShowRoundedCorner(true).ClientSideEvents(e => e.Click("onSave"))
@Html.EJ().Button("signClear").Text("Clear").ShowRoundedCorner(true).ClientSideEvents(e => e.Click("onClear"))


We added the script but the website deleted it.
We therefore attach it as a picture.


--------------------------------------------
Q2
---
function onSave() {
Can set the image size, save time such as 250 * 250 pixel
And set the image to store the background as transparent
Ask for advice.
Thank you very much for the advice.

Attachment: Capture_error_772606b.zip

Ashokkumar Balasubramanian [Syncfusion]
Replied On August 5, 2019 11:49 AM UTC

Hi Phonchai Sakunchinnasee, 
 
Greetings from Syncfusion support. 
 
Query: We added the script but the website deleted it.We therefore attach it as a picture. 
 
We have checked your query in our signature control. For your provided code code block, you have not added BackgroundImage for signature control, but you have set the saveWithBackground value as true. Our saveWithBackground property only works when we sepcify the backgroundImage for our component. Please refer the below sample. 
 
 
Query: Can set the image size, save time such as 250 * 250 pixel. And set the image to store the background as transparent 
 
Currently we are working on your query and will update further on this to you shortly. 
 
Regards, 
Ashokkumar B.  


Ashokkumar Balasubramanian [Syncfusion]
Replied On August 6, 2019 03:40 PM UTC

 
Hi Phonchai Sakunchinnasee, 
 
Query: Can set the image size, save time such as 250 * 250 pixel. And set the image to store the background as transparent  
 
We have met with your requirements to save the signature image after clicking the save button with particular height and width. We have created sample for your requirement, please find it below. 
 
 
Please check the above provided sample and get back to us, if you have any concern on this. 
 
Regards, 
Ashokkumar B. 


CONFIRMATION

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon