Click here to Skip to main content
15,914,016 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Need a solution for my problem Pin
Nico Haegens11-Apr-14 7:28
professionalNico Haegens11-Apr-14 7:28 
GeneralRe: Need a solution for my problem Pin
indian14311-Apr-14 13:27
indian14311-Apr-14 13:27 
GeneralRe: Need a solution for my problem Pin
Nico Haegens12-Apr-14 14:11
professionalNico Haegens12-Apr-14 14:11 
GeneralRe: Need a solution for my problem Pin
indian14313-Apr-14 20:09
indian14313-Apr-14 20:09 
GeneralRe: Need a solution for my problem Pin
indian14314-Apr-14 6:01
indian14314-Apr-14 6:01 
GeneralRe: Need a solution for my problem Pin
Nico Haegens14-Apr-14 11:56
professionalNico Haegens14-Apr-14 11:56 
Questionapply styles in excel with Openxml Pin
byka10-Apr-14 6:18
byka10-Apr-14 6:18 
QuestionConverting aspx pages into ascx pages Pin
indian1439-Apr-14 14:08
indian1439-Apr-14 14:08 
Hi,

I have some aspx pages, as we are adding some new applications which are going to use some of the same pages we want to make those common pages as user controls.

I started making the aspx pages into User controls I changed the name of the files to ascx, ascx.cs, removed page attribute and put the control attribute, removed html, body and form tags from aspx file, in code behind I made change to inherit from UserControl class. Everything looks good upto this.

But those previous aspx pages were accessing some user controls, now those controls are displaying error message. Like at uc1:htmlhead and uc1:formheader it is displaying error message as "Unrecognized tag prefix or device filter uc1".


Below are the register and control directives for the user control. For the current User Control I have taken Control directive and for other ones I have taken Register directive. Am I missing any where. Please help me or suggest me or give me a link, any type of help is very helpful. Thanks in advance.

<%@ Register TagPrefix="uc1" TagName="HtmlHead" Src="../Includes/HtmlHead.ascx" %>
<%@  Page Language="c#" CodeBehind="ChangePass.ascx.cs" AutoEventWireup="false" Inherits="DIS.CnpWeb.Core.ChangePass" %>
<%@ Register TagPrefix="uc1" TagName="FormFooter" Src="../Includes/FormFooter.ascx" %>
<%@ Register TagPrefix="uc1" TagName="FormHeader" Src="../Includes/FormHeader.ascx" %>

<uc1:htmlhead id="HtmlHead1" runat="server"></uc1:htmlhead>
<uc1:formheader id="FormHeader1" runat="server"></uc1:formheader>

Thanks & Regards,

Abdul Aleem Mohammad
St Louis MO - USA

AnswerRe: Converting aspx pages into ascx pages Pin
Blikkies9-Apr-14 22:55
professionalBlikkies9-Apr-14 22:55 
GeneralRe: Converting aspx pages into ascx pages Pin
indian14310-Apr-14 6:08
indian14310-Apr-14 6:08 
GeneralRe: Converting aspx pages into ascx pages Pin
Blikkies10-Apr-14 23:25
professionalBlikkies10-Apr-14 23:25 
QuestionGridviews and hyperlinks help please Pin
Tumtum219-Apr-14 1:21
Tumtum219-Apr-14 1:21 
Questioni am not able to insert images to word document created through C# Pin
sonu jnnce8-Apr-14 22:42
sonu jnnce8-Apr-14 22:42 
AnswerRe: i am not able to insert images to word document created through C# Pin
Schatak10-Apr-14 2:06
professionalSchatak10-Apr-14 2:06 
Questionhow to drag usercontrol to page Pin
Nico Haegens8-Apr-14 5:51
professionalNico Haegens8-Apr-14 5:51 
Questionweb api query - 401 error Pin
miss7868-Apr-14 4:57
miss7868-Apr-14 4:57 
AnswerRe: web api query - 401 error Pin
Bernhard Hiller8-Apr-14 22:18
Bernhard Hiller8-Apr-14 22:18 
GeneralRe: web api query - 401 error Pin
miss7868-Apr-14 23:57
miss7868-Apr-14 23:57 
GeneralRe: web api query - 401 error Pin
Bernhard Hiller9-Apr-14 2:19
Bernhard Hiller9-Apr-14 2:19 
GeneralRe: web api query - 401 error Pin
miss78614-Apr-14 6:24
miss78614-Apr-14 6:24 
QuestionHow to save secured password for individual users Pin
antony beula8-Apr-14 2:32
antony beula8-Apr-14 2:32 
AnswerRe: How to save secured password for individual users Pin
Peter Leow8-Apr-14 2:44
professionalPeter Leow8-Apr-14 2:44 
AnswerRe: How to save secured password for individual users Pin
Richard Deeming8-Apr-14 3:07
mveRichard Deeming8-Apr-14 3:07 
QuestionExporting Repeater values in to Excel Pin
indian1437-Apr-14 14:39
indian1437-Apr-14 14:39 
AnswerRe: Exporting Repeater values in to Excel Pin
Schatak8-Apr-14 2:24
professionalSchatak8-Apr-14 2:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.