473,320 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Turning an .ascx User Control into a Redistributable Custom Control


Hi,

Just read

http://msdn.microsoft.com/asp.net/de...sercontrol.asp

on how to put User Controls (ascx) into an assembly.
I made a solutions in which I created an user control. Then I used
Publish website to make the assembly for my user control.
So far so good. There is a file like
App_Web_webusercontrol.ascx.cdcab7d2.dll
To publish I used the following settings:
- Allow this precopiled site to be updatable: unchecked
- Use fixed naming: checked
- Enable strong naming: unchecked.

Then I opened a test solution where I do a Add reference.
After that the App_Web_webusercontrol.ascx.cdcab7d2.dll is added to the
Bin directory.
However, opening the Properies page of the test website there is no
reference added for the assembly.
Why not? Is there something I'm missing, something I have to specify in
the user control before compiling it?
Trying to import the namespace for the control doesn't work but I guess
it has something to do with the fact that the reference is missing in
the property page.
Any idea what I can be?

Thanks in advance,

Michel

Jan 25 '06 #1
0 1746

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: philipl | last post by:
hi, i have a datagrid which display custom controls when user clicks edit, changing data. I am using customvalidator to validate this control. I can get validation of user input to work no...
0
by: Frédéric Mayot | last post by:
Hi, I have a custom composite webcontrol (Frameset) which inherits from the panel webcontrol. This control uses another control named Menu. If I don't add mMenu with Controls.Add(mMenu), the menu...
3
by: rodchar | last post by:
hey all, i was wondering, given a user-defined public property of a custom control, can i present the user of the custom control a drop-down list for the available options for that public...
3
by: Michael | last post by:
Hi all.. I have a solution containing 5 projects, one of which is a custom control. In one of the projects, I dragged the .ascx file from the custom control project and dropped it onto a form....
3
by: JJ | last post by:
Whats the best way to convert a user control to a custom server control? i.e. I created a .aspx control using the designer to create the look of the control. I now want to use this in other...
3
by: AleXmanFree | last post by:
Hi , I have got problem with passing my inline based value to y user control (or custom control, no matter which one I use, I have tried both to make sure it doesnt matter) . So say I have...
1
by: AleXmanFree | last post by:
Hi , I have got problem with passing my inline based value to y user control (or custom control, no matter which one I use, I have tried both to make sure it doesnt matter) . So say I have...
0
by: =?Utf-8?B?UmljaEI=?= | last post by:
I am trying to create a project using the ASP.NET AJAX accordion control. I would like to dynamically add panes to the control with a form template added when the pane is added. I have tried...
4
by: =?Utf-8?B?UmljaEI=?= | last post by:
I am trying to create a project using the ASP.NET AJAX accordion control. I would like to dynamically add panes to the control with a form template added when the pane is added. I have tried...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.