Hey folks,
Could you please help me with this issue: I am trying to use javascript to create a pop up window. I have a Webform1.aspx with a WebUserControl1.ascx Web Form User Control in it:
I have the following
Modules/WUCJavascript3.ascx : (inside Modules folder)
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WUCJavascript3.ascx.cs" Inherits="WebForms.Modules.WUCJavascript3" %>
<script lang="javascript" src="javascript/Windows.js"> </script>
<asp:Button ID="Button1" runat="server" Text="Button" />
Modules/WUCJavascript3.ascx.cs
public partial class WUCJavascript3 : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
Button1.Attributes.Add("onclick", "javascript:ShowPopupXY(600, 50 ...
Go to the complete details ...