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

[Solved] RadWindow, RadDock or what?

1 Answer 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Luigi Palumbo
Top achievements
Rank 1
Luigi Palumbo asked on 03 Mar 2010, 03:59 PM
Hi,
in my page, I want open a popup after click on Button1
In popup (I realized it with RadWindow) I have other Button control

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProvaDiv.aspx.cs" Inherits="Page_ProvaDiv" %> 
 
<!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 runat="server"
    <title></title
</head> 
 
<script type="text/javascript"
 
</script> 
 
<body> 
    <form id="form1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
    </telerik:RadScriptManager> 
    <div> 
        <asp:Button runat="server" ID="Button1" Text="Button" /> 
    </div> 
    <telerik:RadWindow ID="RadWindow1" Width="400px" Behaviors="Close" Visible="true" RegisterWithScriptManager="true" 
        OpenerElementID="Button1" Height="400px" runat="server" Modal="true" Animation="Fade" 
        VisibleTitlebar="true" VisibleStatusbar="false" > 
        <ContentTemplate> 
            <asp:Button ID="Button2" runat="server" Text="Button" /> 
        </ContentTemplate> 
    </telerik:RadWindow> 
    </form> 
</body> 
</html> 

I want use in Button2, server-event OnClick="Button2_click", but I have a error
It's right use RadWindows for this?
Thanks
(I'm sorry for my bad english)
Luigi

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 08 Mar 2010, 12:40 PM
Hi Luigi,

Would you please provide more details about the error you get? In the common case this scenario should work without a problem and thus I assume that there must be something specific in your case which causes the problem.

I prepared a sample test demo - please find it attached to the thread. Let me know what I should modify to reproduce the problem on my side and once I am able to observe it locally I will do my best to help.


Greetings,
Svetlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Luigi Palumbo
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or