3 Replies - 9899 Views - Last Post: 01 February 2012 - 11:56 AM

#1 Nuha_IT  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 30
  • Joined: 13-May 11

How can I add .xaml control inside .aspx

Posted 01 February 2012 - 10:18 AM

Hi,

I have an .aspx website page in Visual Studio 2010 - c#, and I have created some controls in Blend Expression.
all I need is to use those created control in .xaml Blend Expression and add them inside the .aspx file.

Is that possible?
Is This A Good Question/Topic? 0
  • +

Replies To: How can I add .xaml control inside .aspx

#2 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1524
  • View blog
  • Posts: 5,960
  • Joined: 21-March 08

Re: How can I add .xaml control inside .aspx

Posted 01 February 2012 - 10:26 AM

Sure. You can put them inside of a Silverlight application, and host the Silverlight application in the ASPX page.

However, you cannot add the .xaml controls directly in ASP.Net.
Was This Post Helpful? 0
  • +
  • -

#3 Nuha_IT  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 30
  • Joined: 13-May 11

Re: How can I add .xaml control inside .aspx

Posted 01 February 2012 - 11:12 AM

Then how can I do it? Is there any specific way or technique to do so?
Was This Post Helpful? 0
  • +
  • -

#4 eclipsed4utoo  Icon User is offline

  • Not Your Ordinary Programmer
  • member icon

Reputation: 1524
  • View blog
  • Posts: 5,960
  • Joined: 21-March 08

Re: How can I add .xaml control inside .aspx

Posted 01 February 2012 - 11:56 AM

I just told you how. Create a Silverlight project. Add your controls to the project. Host the silverlight app in your ASPX page. That's the only way to get XAML controls on an ASPX page.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1