how to connect 2 controls

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
3/17/2011 10:03:48 AM
Gravatar
Total Posts 3

how to connect 2 controls

i need create 2 panel on page: left panel contains list of urls. this url binded from DB. central panel: some information (from DB) loaded after click on url from left panel.

i created 2 user controls (http://www.mojoportal.com/usinginlinecode.aspx). installed it using "Feature Installation". Create page and added control to it.

question: how to connect this controls? in the standard project all implementation add to main page where control exists, but now i don`t know how implement those logic (

3/17/2011 10:11:18 AM
Gravatar
Total Posts 3

Re: how to connect 2 controls

by the way. i added my page to project

<%@ Page Title="" Language="C#" MasterPageFile="~/App_MasterPages/layout.Master"
    AutoEventWireup="true" CodeBehind="TestForm.aspx.cs" Inherits="mojoPortal.Web.UI.TestForm" %>

<asp:Content ID="Content1" ContentPlaceHolderID="leftContent" runat="server">
left
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
main
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="rightContent" runat="server">
right
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="pageEditContent" runat="server">
edit
</asp:Content>

 i browser i see only mainContent.

is it right approach for adding pages. why leftContent and rightContent not showing?

You must sign in to post in the forums. This thread is closed to new posts.