Can not edit cell after invoking cell clicking event

Posted by: rajass62 on 8 September 2017, 3:07 pm EST

  • Posted 8 September 2017, 3:07 pm EST

    <p>We are using spread.net 6.0 for ASP.NET in C#.  We are facing difficulty in editing a cell after setting AutoPostback as true inorder to use Cell click event. Now We can not update the cell content.</p><p>So we coulld not  use Cell Click and editing the cell simultaneously</p><p> Any one can solve the problem.</p><p>Thanks in Advance.</p><p>Regards,</p><p>Rajaram. </p>
  • Replied 8 September 2017, 3:07 pm EST

    <p>Thanks Manpreet Kaur. We have gone through this forum. But we can not find any solution for Cell Click event in the client side . I want code for when click on Spread Cell for ASP.Net, a click event should be fired and popup box should be shown .</p><p>Please help me.</p><p>Thanks</p><p>Rajaram. </p>
  • Replied 8 September 2017, 3:07 pm EST

    <p>Hello,</p><p>You may accomplish the same using the client side onActiveCellChanged event. This event is raised as soon as you click on nay cell in Spread. You can use the same evnt to show up the popup. Please have a look at the attached sample that depicts the same.</p><p>Hope it helps.</p><p>Thanks,</p><p>Manpreet Kaur <br></p>
    2013/04/ClickPopUP.zip
  • Replied 8 September 2017, 3:07 pm EST

    <p>Many thanks to Manpreet Kaur.  You are doing great job.</p><p>Thanks,</p>
  • Replied 8 September 2017, 3:07 pm EST

    <p>Hello,</p><p>When we set AutoPostBack property to true for Spread all
    the client side functionality stops working. Editing is a client side
    functionality and hence as soon as you click on the cell it calls the
    cell click event server side leaving the client side functionality
    behind. Please have a look at the following forum links that discuss the similar issue and suggest workarounds for the same:</p><p>                      http://www.clubfarpoint.com/Forums/forums/thread/33248.aspx</p><p>                      http://www.clubfarpoint.com/Forums/forums/thread/59352.aspx</p><p>                      http://www.clubfarpoint.com/Forums/forums/thread/26080.aspx <br></p><p>Hope it helps.<br></p><p>Thanks,</p><p>Manpreet Kaur <br></p>
  • Replied 8 September 2017, 3:07 pm EST

    <p>Now Popup box has been shown through JavaScript.</p><p>We have to display database value in the Popup box.</p><p>For this purpose, We have wriiten function in C#.</p><p>Our problem, how to call C# function from the Java Script to display vaue </p><p>in the Poup. </p><p>We are new to Java script. Kindly help us.</p><p>Thanks.</p><p>Regards,</p><p>Rajaram. </p>
  • Replied 8 September 2017, 3:07 pm EST

    <p>Hello,</p><p>You may refer to the following links that discuss the similar issue: <br></p><p>http://www.codeproject.com/Questions/367889/Call-server-side-function-in-javascript</p><p>http://tuvianblog.com/2011/06/10/how-to-call-serverside-function-from-client-side-javascript-in-asp-net/</p><p>http://forums.asp.net/t/999909.aspx/1</p><p>http://stackoverflow.com/questions/3709426/call-server-side-function-from-client-side-javascript </p><p>Hope it helps.</p><p>Thanks,</p><p>Manpreet Kaur <br></p>
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels