NEVER-MIND, it worked, my fault
//
Hi,
Here is my scenario:
Result:
RadWindow does not shows my two custom controls.
Example code for custom control:
page to show control:
Question:
Is there a way to display ascx controls on page that will be showed in radWindow? And is there a way to do it globally without truly thinking about, as I need to host more then 10 custom controls on that page and doing that manually is just a waste of time.
Cheers,
Jakub G
thanks
//
Hi,
Here is my scenario:
- I've created two custom controls (ascx)
- I've created custom aspx page to host my two custom controls
- On main page, I've created RadWindow that is pointing to page created in step 2 and I've bind event to open a window
Result:
RadWindow does not shows my two custom controls.
Example code for custom control:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DemoDummyControl.ascx.cs" Inherits="X.DemoDummyControl" %>
<
p
>
Dummy Control
</
p
>
<
p
>
To test RadWindow
</
p
>
<
p
>
<
asp:Button
runat
=
"server"
ID
=
"test"
OnClick
=
"Click"
/>
</
p
>
page to show control:
<%@ Page Title="" Language="C#" MasterPageFile="~/Popup.Master" AutoEventWireup="true" CodeBehind="demo.aspx.cs" Inherits="X.demo" %>
<%@ Register Src="~/DemoDummyControl.ascx" TagName="Dummy" TagPrefix="uc" %>
<
asp:Content
ID
=
"Content1"
ContentPlaceHolderID
=
"Scripts"
runat
=
"server"
>
</
asp:Content
>
<
asp:Content
ID
=
"Content2"
ContentPlaceHolderID
=
"MainContent"
runat
=
"server"
>
<
p
>
<
uc:DemoDummyControl
runat
=
"server"
/>
</
p
>
</
asp:Content
>
Question:
Is there a way to display ascx controls on page that will be showed in radWindow? And is there a way to do it globally without truly thinking about, as I need to host more then 10 custom controls on that page and doing that manually is just a waste of time.
Cheers,
Jakub G
thanks