473,322 Members | 1,540 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,322 software developers and data experts.

Consume ASCX Controls Remotely

Hi There!

I have som reusable ASCX controls that I also want to let my clients use in
their websites. However, I don't want them to "have" the ASCX controls on
their web servers. Instead I would like them to consume the ASCX controls
remotely from their web servers.

How is this possible? Can I use Web Services to do this? If so please give
me some pointers. Very much appreciated!

Thanks!!!
Dave
Nov 19 '05 #1
6 1742
I don't *think* that is possible with a user control.
Why don't you want them to have the ASCX controls on their server?
I think you'd likely be better off going with a custom control instead of a
user control since you want very customized functionality.

Here's more info:
http://SteveOrr.net/faq/UserCustom.aspx
http://msdn.microsoft.com/library/de...ebControls.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"David Bowey" <db@f.coz> wrote in message
news:ew**************@TK2MSFTNGP12.phx.gbl...
Hi There!

I have som reusable ASCX controls that I also want to let my clients use
in their websites. However, I don't want them to "have" the ASCX controls
on their web servers. Instead I would like them to consume the ASCX
controls remotely from their web servers.

How is this possible? Can I use Web Services to do this? If so please give
me some pointers. Very much appreciated!

Thanks!!!
Dave

Nov 19 '05 #2
Hi Steve!

Thanks the reply. The reason I don't want to let them have the controls is
because they haven't paid for the controls. All the controls are created
myself and I will let the clients use these controls to speed up their
development and I'm only charging them the cost of the development of the
web site **only** and not the controls. Controls will be shared by all
clients and they won't need to pay me for it. If I include the charge of the
controls, the price will be gone up and I don't want that to happen.

So, for me it doesn't matter ASCX or Web Controls, as long as it does not
stay on their servers.

So, any ideas? :)

Cheers,
Dave

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:Oo**************@TK2MSFTNGP15.phx.gbl...
I don't *think* that is possible with a user control.
Why don't you want them to have the ASCX controls on their server?
I think you'd likely be better off going with a custom control instead of
a user control since you want very customized functionality.

Here's more info:
http://SteveOrr.net/faq/UserCustom.aspx
http://msdn.microsoft.com/library/de...ebControls.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"David Bowey" <db@f.coz> wrote in message
news:ew**************@TK2MSFTNGP12.phx.gbl...
Hi There!

I have som reusable ASCX controls that I also want to let my clients use
in their websites. However, I don't want them to "have" the ASCX controls
on their web servers. Instead I would like them to consume the ASCX
controls remotely from their web servers.

How is this possible? Can I use Web Services to do this? If so please
give me some pointers. Very much appreciated!

Thanks!!!
Dave


Nov 19 '05 #3
Yes, you should definitely use a custom control instead of a user control.
Custom controls can be compiled into DLLs so they can be easily distributed,
while their source code cannot be easily seen.
You can even obfuscate them so they can't be easily decompiled.
You can optionally include licensing features to ensure your control doesn't
break free on the internet.
http://www.aspose.com/Products/Aspose.License/

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"David Bowey" <db@f.coz> wrote in message
news:ef**************@TK2MSFTNGP14.phx.gbl...
Hi Steve!

Thanks the reply. The reason I don't want to let them have the controls is
because they haven't paid for the controls. All the controls are created
myself and I will let the clients use these controls to speed up their
development and I'm only charging them the cost of the development of the
web site **only** and not the controls. Controls will be shared by all
clients and they won't need to pay me for it. If I include the charge of
the controls, the price will be gone up and I don't want that to happen.

So, for me it doesn't matter ASCX or Web Controls, as long as it does not
stay on their servers.

So, any ideas? :)

Cheers,
Dave

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:Oo**************@TK2MSFTNGP15.phx.gbl...
I don't *think* that is possible with a user control.
Why don't you want them to have the ASCX controls on their server?
I think you'd likely be better off going with a custom control instead of
a user control since you want very customized functionality.

Here's more info:
http://SteveOrr.net/faq/UserCustom.aspx
http://msdn.microsoft.com/library/de...ebControls.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"David Bowey" <db@f.coz> wrote in message
news:ew**************@TK2MSFTNGP12.phx.gbl...
Hi There!

I have som reusable ASCX controls that I also want to let my clients use
in their websites. However, I don't want them to "have" the ASCX
controls on their web servers. Instead I would like them to consume the
ASCX controls remotely from their web servers.

How is this possible? Can I use Web Services to do this? If so please
give me some pointers. Very much appreciated!

Thanks!!!
Dave



Nov 19 '05 #4
There's no distributed ASCX functionality. You would make a ASPX endpoint
available to them and they could display it in a frame or iframe perhaps,
but that's about the best it's going to get. For them to use a ASCX they
need access to the physical file.

The common way to distribute controls to other developers outside your organization
is to create a composite control and package it as its own assembly. This
is slightly better than handing over a ASCX file.

What's the aversion to giving them a file? I don't see what the difference
is providing the functionality via a file they use locally versus remote
access to the same thing. I must be missing something...

Another way to provide remote functionality is via a webservice.

*shrug*

-Brock
http://staff.develop.com/ballen

Nov 19 '05 #5
Thanks for pointing the possibilities. I will evaluate each of them
carefully.

Thanks!
Dave

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:O%****************@tk2msftngp13.phx.gbl...
Yes, you should definitely use a custom control instead of a user control.
Custom controls can be compiled into DLLs so they can be easily
distributed, while their source code cannot be easily seen.
You can even obfuscate them so they can't be easily decompiled.
You can optionally include licensing features to ensure your control
doesn't break free on the internet.
http://www.aspose.com/Products/Aspose.License/

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"David Bowey" <db@f.coz> wrote in message
news:ef**************@TK2MSFTNGP14.phx.gbl...
Hi Steve!

Thanks the reply. The reason I don't want to let them have the controls
is because they haven't paid for the controls. All the controls are
created myself and I will let the clients use these controls to speed up
their development and I'm only charging them the cost of the development
of the web site **only** and not the controls. Controls will be shared by
all clients and they won't need to pay me for it. If I include the charge
of the controls, the price will be gone up and I don't want that to
happen.

So, for me it doesn't matter ASCX or Web Controls, as long as it does not
stay on their servers.

So, any ideas? :)

Cheers,
Dave

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:Oo**************@TK2MSFTNGP15.phx.gbl...
I don't *think* that is possible with a user control.
Why don't you want them to have the ASCX controls on their server?
I think you'd likely be better off going with a custom control instead
of a user control since you want very customized functionality.

Here's more info:
http://SteveOrr.net/faq/UserCustom.aspx
http://msdn.microsoft.com/library/de...ebControls.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"David Bowey" <db@f.coz> wrote in message
news:ew**************@TK2MSFTNGP12.phx.gbl...
Hi There!

I have som reusable ASCX controls that I also want to let my clients
use in their websites. However, I don't want them to "have" the ASCX
controls on their web servers. Instead I would like them to consume the
ASCX controls remotely from their web servers.

How is this possible? Can I use Web Services to do this? If so please
give me some pointers. Very much appreciated!

Thanks!!!
Dave



Nov 19 '05 #6
Thanks for the reply!
Another way to provide remote functionality is via a webservice.
Could you point me to some good pointers? Thanks!!
Dave

"Brock Allen" <ba****@develop.com.i_hate_spam_too> wrote in message
news:66********************@msnews.microsoft.com.. . There's no distributed ASCX functionality. You would make a ASPX endpoint
available to them and they could display it in a frame or iframe perhaps,
but that's about the best it's going to get. For them to use a ASCX they
need access to the physical file.
The common way to distribute controls to other developers outside your
organization is to create a composite control and package it as its own
assembly. This is slightly better than handing over a ASCX file.

What's the aversion to giving them a file? I don't see what the difference
is providing the functionality via a file they use locally versus remote
access to the same thing. I must be missing something...

Another way to provide remote functionality is via a webservice.
*shrug*

-Brock
http://staff.develop.com/ballen

Nov 19 '05 #7

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

Similar topics

4
by: Rob Meade | last post by:
Hi all, I have just put together our organisations 'template' for our web applications and have created 7 .ascx files which when dropped into my template file work perfectly...however, I have a...
4
by: Bogosian | last post by:
I am working on an asp.net project.There is a subdir called OSearch,with a few aspx pages in it which as all other pages on the website use some controls.These controls are stored in a another...
2
by: Peter Jackson | last post by:
I'm using v2 of the UIP App. Block. I've created all my .aspx pages, all of which contain .ascx user controls. The .ascx user controls provide the standard server controls (i.e., LinkButtons, etc.)...
2
by: sanju | last post by:
hi there i am trying to fire an button event in ascx file which interacts with database ,my problem is " i am calling ascx file wiht a button click dynamically when user needs to update database...
1
by: Oleg Ogurok | last post by:
Hi all, In my page class, I'm loading a user control: private void Page_Load(object sender, System.EventArgs e) { Control c = LoadControl("WebUserControl1.ascx"); Controls.AddAt(0, c); }
1
by: John Cosmas | last post by:
I've got a page which loads up a different user control into a placeholder control every time a button is clicked on the parent page. I use a statement like...
2
by: Martin | last post by:
Hi, I want to create a number of ascx controls with edit and view modes. Previously I have put two panels in the ascx - one for view (with label subcontrols), and one for edit (with text box...
5
by: djscratchnsniffing | last post by:
i know you can access an ascx's properties/methods from an aspx file. Let's say you have an aspx file with two code-behind files(ascx files). Can you access one of the ascx file's...
0
by: mschep | last post by:
Hi, I built an assembly with a set of user controls. This can be done with the Visual Studio 2005 Deployment Project: building and merging for example all your aspx and ascx in one dll (lets...
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: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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...
1
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...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.