User-234441352 posted
Hi,
I am trying to use a third party control in my Asp.Net WebForm application which has been developed in php ( and in jquery as client side).
This control has some popups, Wizards and form elements.
When we click the form submit button, aspx page send a postback call and then whole process start again.
This is only happen in Asp.Net Webform pages and I have tried in Asp.Net MVC application, everything works fine.
please see my code if there is a way to solve this. Still i am trying to fix it by finding a better solution.
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication13._Default" %>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
<div id="api_wrapper">
Widget
</div>
<script type="text/javascript">
if ((typeof jQuery != 'undefined') && parseFloat(jQuery.fn.jquery) > parseFloat('2.2.0')) {
// jQuery is loaded => print the version
document.write('<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></'
+ 'script>');
}
else if (typeof jQuery == 'undefined') {
document.write('<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></'
+ 'script>');
}
</script>
<script type="text/javascript" src="https://www.thirdpartyapi/v2/thirdpartyplugin.js"></script>
<script>var toke = '3d4d64738d88gca86d6t9h9f3de8t7b3';</script>
</asp:Content>