Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

delegate control not getting replaced

$
0
0

hi,

I want to replace search box with custom delegate user control .below is the code . 

<Control Id="SmallSearchInputBox" Sequence="24" ControlSrc="~/_controltemplates/DelegateTest/ucLogoControl.ascx" />
<%@ Assembly Name="DelegateTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9ea78cbc3e6c0abd" %><%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %><%@ Import Namespace="Microsoft.SharePoint" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucLogoControl.ascx.cs" Inherits="DelegateTest.ControlTemplates.DelegateTest.ucLogoControl" %><img height="50" width="50" src="Chrysanthemum.jpg" />

search box is getting removed out of the page but am not able to see my user control. I have replaced IMG tag with H1 tag then also I did,t see any difference. please advice me in finding the solution.

Thanks,


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>