iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,Chrome with new version introduced a new problem.On click on any cell, cell text ended with space which tuns into "\t" into database while save. which is causing issues. (Unable to attach pictures because of issue into editor)NOTE: Chrome earlier version (67.0) is working fine.I am using Webgrid product version 10.0.Please give us a solutions.RegardsSachin Jain
Hi,
Please reply as I required to do best fit columns at client side(javascript).
Request had made one year ago, Please do reply ASAP.
when i set to LayoutSettings.AutoFitColumns = true/false does not work.
Regards
Sachin Jain
Hi Yudi,Thanks for providing link to understand default behaviour of clipboard for Chrome and Mozilla browser. Although It seems that your provided link for granting javascript access to clipboard is not workable now.I was searching clipboard functionality for chrome. I landed on 2015's sample page created by Matt Gaunt [https://developers.google.com/web/updates/2015/04/cut-and-copy-commands]. I used sample provided by Matt and found the copy on event is working in Chrome browser.I put aspx page's code by slightly changing class name etc. On click on button text is copied in clipboard. May be intersoft already started support. if it is still not supporte then I believe that intersoft can use similar type of functionality to support Copy in Mozilla and chrome. thanks and regardsSachin<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebGrid10OnFirefoxAndChrome.WebForm2" %><!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <script type="text/javascript"> $(document).ready(function () { var copyEmailBtn = document.querySelector('.button'); copyEmailBtn.addEventListener('click', function (event) { // Select the email link anchor text var emailLink = document.querySelector('.largefont'); var range = document.createRange(); range.selectNode(emailLink); window.getSelection().addRange(range); try { // Now that we've selected the anchor text, execute the copy command var successful = document.execCommand('copy'); var msg = successful ? 'successful' : 'unsuccessful'; console.log('Copy email command was ' + msg); } catch (err) { console.log('Oops, unable to copy'); } // Remove the selections - NOTE: Should use // removeRange(range) when it is supported window.getSelection().removeAllRanges(); }); }); </script> <style type="text/css"> .largefont { color: #0066FF; font-family: arial; font-size: 18px; } .button { background-color: #4CAF50; /* Green */ border: none; color: white; padding: 1px 1px; text-align: center; text-decoration: none; display: inline-block; font-size: 10px; } </style> </head> <body> <form id="form1" runat="server"> <div> <p><span class="largefont">Lorem Ipsum</span></p> <p> <button class="button">Click to Copy text</button></p> </div> </form> </body> </html>
Hi Yudi,
It is not working at my end.
I am using windows 10 + Internet exploree 11.
Please find screenshot.
Sachin Jain.
Thanks :-)
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname