|
-
September 8th, 2008, 04:28 AM
#1
Using a WPF Control
Hi All,
I have used Expression Blend 2 to create a WCF Control. (it's overkill but I'm just trying to get to grips with it). I've simply created a banner and have compiled the control and it's generated a dll.
Back in my main C# VS2008 ASP Project I now want to use this control. This is where my problem is. I Placed a new toolbox group in my tools and then browsed to the Dll to add it to my toolbox. Though it doesn't complain, after I've ticked the dll and then pressed save, it doesn't get added to my toolbox.
Can anyone shed some light on how I reference the control so that I can use it in my app.
Last edited by Bill Crawley; September 8th, 2008 at 10:25 AM.
If you find my answers helpful, dont forget to rate me 
-
September 8th, 2008, 10:10 AM
#2
Re: Using a WCF Control
I believe you mean WPF control (Windows Presentation Foundation) instead of WCF (Windows Communication Foundation).
I don't know if this is possible as a WPF control is a client control.
To be sure try searching google for "ASP using WPF control".
-
September 8th, 2008, 10:25 AM
#3
Re: Using a WCF Control
Yes, you are correct WPF...Sorry for my slip. I would expect to be able to use it as any other control, as mentioned, that's my prob. I've done some searching on Google, but to No avail. I would expect to be able to use it on the basis that is is 'WPF' and so should work with all the new Foundations if plugged together correctly.
If you find my answers helpful, dont forget to rate me 
-
September 8th, 2008, 11:26 AM
#4
Re: Using a WCF Control
Keep in mind that ASP server controls work a bit differently than a client side control. In a general sense, ASP server controls emit html that gets displayed in the client browser which is quite different to how a WPF control works.
I suggest looking into Silverlight 2.0 for WPF-like functionality (SL is a subset of WPF) that works in a browser.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|