Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 70191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:41:31+00:00 2026-05-10T19:41:31+00:00

I have a user control ( gallery.ascx ) and I want to use the

  • 0

I have a user control (gallery.ascx) and I want to use the photo.ascx control in the gallery control. I’ve added this register at the top of gallery.ascx, but it still can’t find photo:

<%@ Register TagPrefix='ssctrl' TagName='photo' Src='controls/photo.ascx' %> 

Any ideas?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T19:41:32+00:00Added an answer on May 10, 2026 at 7:41 pm

    In case anyone is wondering, the Register is correct, my photo user control tag was just not formed properly. I did have it as:

    <ssctrl:photo ID='Photo' Key='<%# Eval('PageTemplatePK') %>' runat='server' /> 

    and the Key property needed to use single quotes instead of double quotes because it was using an Eval expression:

    <ssctrl:photo ID='Photo' Key='<%# Eval('PageTemplatePK') %>' runat='server' /> 

    After that, it worked.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have user control with a gridview, but for some reason I can't use
I have user control A, and user control B. How can I register an
i have user control, which i render on several views. i want to show
I have this User Control XAML: <Window x:Class=MyProj.Dialog xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml xmlns:mc=http://schemas.openxmlformats.org/markup-compatibility/2006 xmlns:d=http://schemas.microsoft.com/expression/blend/2008 xmlns:shell=http://schemas.microsoft.com/winfx/2006/xaml/presentation/shell mc:Ignorable=d>
I have a user control with a div like this: <div runat=server id=pnlShippingMethods class=checkoutstep>
I have a user control called DashboardUserControl.ascx It has a function: public void setPagination(Boolean
I have this user control i created in my project. When i compile the
I have an user control with Focusable=true and IsTabStop=true . I can focus it
I have user control that i wrote. this user control is appear on some
I have a problem while writting event for ImageUpload User control. I want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.