1
Vote

Problem when add new module??

description

Dear,

I' using SplendidCRM Community Version 8.0.5103.251
I follow the step in http://www.splendidcrm.com/Documentation/tabid/233/rvdwktid/community-edition-module-development-guide-138/Default.aspx to add new module.

All steps are ok but in ListView page don't display any control ex: search control,ExportHeader...I don't know why.

Pls help me.



This is ListView.ascx

<%@ Control CodeBehind="ListView.ascx.cs" Language="c#" AutoEventWireup="false" Inherits="SplendidCRM.Organizations.ListView" %>
<script runat="server"> /********************************************************************************************************************** * SplendidCRM is a Customer Relationship Management program created by SplendidCRM Software, Inc. * Copyright (C) 2005-2011 SplendidCRM Software, Inc. All rights reserved. * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License along with this program. * If not, see <http://www.gnu.org/licenses/>. * * You can contact SplendidCRM Software, Inc. at email address support@splendidcrm.com. * * In accordance with Section 7(b) of the GNU Affero General Public License version 3, * the Appropriate Legal Notices must display the following words on all interactive user interfaces: * "Copyright (C) 2005-2011 SplendidCRM Software, Inc. All rights reserved." *********************************************************************************************************************/ </script> <div id="divListView"> <%@ Register TagPrefix="SplendidCRM" Tagname="ModuleHeader" Src="~/_controls/ModuleHeader.ascx" %> <SplendidCRM:ModuleHeader ID="ctlModuleHeader" Module="Organizations" Title=".moduleList.Home" EnablePrint="true" HelpName="index" EnableHelp="true" Visible ="true" Runat="Server" /> <%@ Register src="../_controls/SearchView.ascx" tagname="SearchView" tagprefix="SplendidCRM" %> <%-- <%@ Register TagPrefix="SplendidCRM" Tagname="SearchView" Src="~/_controls/SearchView.ascx" %>--%> <SplendidCRM:SearchView ID="ctlSearchView" Module="Organizations" Visible="True" Runat="Server" ShowSearchTabs="True" ShowSearchViews="True" /> <%@ Register TagPrefix="SplendidCRM" Tagname="ExportHeader" Src="~/_controls/ExportHeader.ascx" %> <SplendidCRM:ExportHeader ID="ctlExportHeader" Module="Organizations" Title="Organizations.LBL_LIST_FORM_TITLE" Runat="Server" /> <asp:Panel ID="Panel1" CssClass="button-panel" Visible="<%# !PrintView %>" runat="server"> <asp:Label ID="lblError" CssClass="error" EnableViewState="false" Runat="server" /> </asp:Panel> <asp:HiddenField ID="LAYOUT_LIST_VIEW" Runat="server" /> <SplendidCRM:SplendidGrid id="grdMain" SkinID="grdListView" AllowPaging="<%# !PrintView %>" EnableViewState="true" runat="server"> <Columns> <asp:TemplateColumn HeaderText="" ItemStyle-Width="1%"> <ItemTemplate><%# grdMain.InputCheckbox(!PrintView && !IsMobile && SplendidCRM.Crm.Modules.MassUpdate(m_sMODULE), ctlCheckAll.FieldName, Sql.ToGuid(Eval("ID")), ctlCheckAll.SelectedItems) %></ItemTemplate> </asp:TemplateColumn> <asp:TemplateColumn HeaderText="" ItemStyle-Width="1%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="false"> <ItemTemplate> <asp:HyperLink onclick=<%# "return SplendidCRM_ChangeFavorites(this, \'" + m_sMODULE + "\', \'" + Sql.ToString(Eval("ID")) + "\')" %> Visible="<%# !this.IsMobile %>" Runat="server"> <asp:Image name='<%# "favAdd_" + Sql.ToString(Eval("ID")) %>' SkinID="favorites_add" style='<%# "display:" + ( Sql.IsEmptyGuid(Eval("FAVORITE_RECORD_ID")) ? "inline" : "none") %>' ToolTip='<%# L10n.Term(".LBL_ADD_TO_FAVORITES" ) %>' Runat="server" /> <asp:Image name='<%# "favRem_" + Sql.ToString(Eval("ID")) %>' SkinID="favorites_remove" style='<%# "display:" + (!Sql.IsEmptyGuid(Eval("FAVORITE_RECORD_ID")) ? "inline" : "none") %>' ToolTip='<%# L10n.Term(".LBL_REMOVE_FROM_FAVORITES") %>' Runat="server" /> </asp:HyperLink> <asp:HyperLink Visible='<%# SplendidCRM.Security.GetUserAccess(m_sMODULE, "edit") >= 0 %>' NavigateUrl='<%# "~/Organizations/edit.aspx?id=" + Eval("ID") %>' Runat="server"> <asp:Image SkinID="edit_inline" Runat="server" /> </asp:HyperLink> </ItemTemplate> </asp:TemplateColumn> </Columns> </SplendidCRM:SplendidGrid> <%@ Register TagPrefix="SplendidCRM" Tagname="CheckAll" Src="~/_controls/CheckAll.ascx" %> <SplendidCRM:CheckAll ID="ctlCheckAll" Visible="<%# !PrintView && !IsMobile && SplendidCRM.Crm.Modules.MassUpdate(m_sMODULE) %>" Runat="Server" /> <%--<%@ Register TagPrefix="SplendidCRM" Tagname="MassUpdate" Src="MassUpdate.ascx" %>--%> <SplendidCRM:MassUpdate ID="ctlMassUpdate" Visible="<%# !PrintView && !IsMobile && SplendidCRM.Crm.Modules.MassUpdate(m_sMODULE) %>" Runat="Server" /> <%@ Register TagPrefix="SplendidCRM" Tagname="DumpSQL" Src="~/_controls/DumpSQL.ascx" %> <SplendidCRM:DumpSQL ID="ctlDumpSQL" Visible="<%# !PrintView %>" Runat="Server" /> </div>

file attachments

comments