This is a migrated thread and some comments may be shown as answers.

RadWindow - Fails Click Event

1 Answer 60 Views
Window
This is a migrated thread and some comments may be shown as answers.
vicky
Top achievements
Rank 1
vicky asked on 24 Feb 2009, 10:25 PM

I have SearchPage which has a View button. On the click event of it I open a new WebPage (FormViewer) using the RadWindow. The other page which has alertWindow button. I have written a simple funtion on the click event. When i click the button nothing happens. Its suppose to show a alert.


This is the page which gets open as a modal pop up.

 

<%

 

@ Page Language="C#" AutoEventWireup="true" Codebehind="FormViewer.aspx.cs" Inherits="CFS.CSES.Web.UI.WebPages.Forms.FormViewer" %>

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

 <

 

html xmlns="http://www.w3.org/1999/xhtml">
<
head id="Head1" runat="server">

 

 

 

 

<title>Untitled Page</title>

 

 

 

 

 </head>

 

 

<

 

body id="formViewerBody" bgcolor="white">

 

 

 

 

<script language="javascript" type="text/javascript">

 

 

 

 

function VerifyControl()

 

 

{

alert('

hello');

 

 

}

 

</script>

 

 

 

 

<form id="form1" runat="server" >

 

 

 

<div>
<input type="button" id="alertWindow" value="Alert" onclick="VerifyControl();"/>

 

 

 

 

</div>

 

 

 

 

</form>

 

 

 </

 

body>

 

 

 </

 

html>

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 25 Feb 2009, 03:00 PM
Hi Vicky,

I used your code but I was not able to reproduce the problem - the alert dialog is shown as expected. Could you please provide more information about the issue or open a new support ticket and send us a simple project which reproduce the problem?

Best wishes,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
vicky
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or