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

DNN & RadDock

5 Answers 75 Views
Dock
This is a migrated thread and some comments may be shown as answers.
possible
Top achievements
Rank 1
possible asked on 16 Jul 2008, 10:59 AM
Hi

I'm trying to create user page with modules inside raddocks.
My files (main skin):
                    <telerik:RadDockLayout runat="server" ID="rdlLay">
                        <telerik:RadDockZone runat="server" id="ContentPane">
                        </telerik:RadDockZone>
                    </telerik:RadDockLayout>

Container:

<telerik:RadDock runat="server">
    <ContentTemplate>
        <div class="ContentPane" id="ContentPane" runat="server">
        </div>
    </ContentTemplate>
</telerik:RadDock>

With such configuration DNN doesnt find ContentPane, moves module to other pane. Is any way to get it working?

5 Answers, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 16 Jul 2008, 12:52 PM
Hi,

Please, try to give different ids to the RadDockZone and the div html element placed inside the RadDock's content template. In case you still experience any problems, describe in more details what you want to achieve and what is the exact result you observe. What do you mean under "DNN doesn't find ContentPane"? We will be glad to help you.

All the best,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
possible
Top achievements
Rank 1
answered on 18 Jul 2008, 07:16 AM
Hi,

No, I can't name it in this way.. Container in DNN must have default id ContentPane and also Skin has to have one container with such name.

My problem is that with such code I dont see ContentPane in Panel list (dropdown on controlpane where i choose where module should be located).. also dotnetnuke moves actually addded to ContentPane modules to other Panes.
0
Sophy
Telerik team
answered on 21 Jul 2008, 02:11 PM
Hello,

Please, accept our apologies for the delayed response.
I would like to ask you send us your skin so that we can test the scenario you describe on our side and research the problem. If you have to attach a file you need to open a support ticket so that you have the right to attach files.

Looking forward to receiving your reply,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
werner
Top achievements
Rank 1
answered on 23 Mar 2011, 12:37 PM
Hi Possible,

Did you ever resolve this, as I am sitting with the same problem.

0
Pero
Telerik team
answered on 24 Mar 2011, 01:26 PM
Hello Werner,

The issue might be caused by the fact that the RadDock control implements the INamingContainer interface and its ContentContainer also implements the INamingContainer interface. This means that the UniqueID and the ID of each control inside the dock will be different, and the control with ID="ContentPane" cannot be found simply by searching the default naming container.
To show this, please place the controls with fixed IDs inside any control implementing INamingContainer interface, like asp:Repeater control, bind the repeater in the code behind to a dummy data source, and you should experience the same behavior.
I cannot recommend a solution to this problem, because I am not familiar with the DNN framework. Please post the question in DNN forums. Someone should have had similar issues with naming containers.

Kind regards,
Pero
the Telerik team
Tags
Dock
Asked by
possible
Top achievements
Rank 1
Answers by
Sophy
Telerik team
possible
Top achievements
Rank 1
werner
Top achievements
Rank 1
Pero
Telerik team
Share this question
or