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

Opening RadWindow from scheduler in DNN

1 Answer 70 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Julia Shah
Top achievements
Rank 1
Julia Shah asked on 07 Aug 2009, 11:05 PM
Hi,

I have added an Attachment custom attribute to my scheduler. To upload the attached files I use RadWindow. This is from AdvancedForm.ascx:


<script type="text/javascript">  
   function openRadWindow()  
   {  
       var oWnd = radopen("DesktopModules/Calendar/AppointmentForms/UploadFiles.aspx", "RadWindow1" );  
                oWnd.center();  
   }  
</script> 
 
 <telerik:RadWindowManager ShowContentDuringLoad="false" AutoSize="false" Skin="Vista"
    ID="RadWindowManager1" runat="server" VisibleStatusbar="false" Height="300px" Width="400px">
        <Windows>
            <telerik:RadWindow ID="RadWindow1"
            runat="server"
            Title="File Upload"
            Height="300px"
            Width="400px"
            Left="200px"
            DestroyOnClose="true" 
            VisibleStatusbar="false" 
            ReloadOnShow="true" />
        </Windows>
</telerik:RadWindowManager>

<

 

asp:Panel runat="server" ID="AdvancedControlsPanel" CssClass="rsAdvMoreControls">

Attachments:

 

<asp:Label runat="server" ID="lblAttachment"><%# ShowAttachments() %> </asp:Label><br /> 
<href="#" onclick="openRadWindow(); return false;">Add files</a> 
 

Everything works great until I add this control to my DNN site. Then the window shows the scheduler page instead of the upload page. What could be the problem?

Thanks,
Julia

1 Answer, 1 is accepted

Sort by
0
Dimitar Milushev
Telerik team
answered on 11 Aug 2009, 11:02 AM
Hi Julia Shah,

Can you please open a support ticket and send us all the controls/.aspx files needed to test this locally in a DNN environment ? The code shown here is only an isolated part and does not suggest what may be the problem.

Regards,
Dimitar Milushev
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
Scheduler
Asked by
Julia Shah
Top achievements
Rank 1
Answers by
Dimitar Milushev
Telerik team
Share this question
or