Hello,
I am a beginner in SharePoint 2013.
I have created a simple project in sp2013,In which i added a visual webpart and place 3 controls on ascx page(one button and 2 text boxes).
i want to display the result(addition) as a popup or in a message box as we display in asp.net.
How I can do this.

Vijay SPosted Jun 15, 2015, 11:49 AM
Manoj BhoirPosted May 5, 2015, 4:13 AM
You can calculate sum of two numbers on button click event.
please see this link which gives you an idea how to use visual webpart and handle events in Sharepoint.
Creating a Contact Form Web Part for SharePoint
http://www.codeproject.com/Articles/31594/Creating-a-Contact-Form-Web-Part-for-SharePoint