(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Forums

Search in:

Go

modify/Update the UI in silverligt

  • Mallikarjun06
    Mallikarjun Gouda
    6 points
    3 posts
    Dec 5, 2011, 09:35 AM
        Report Abuse

    Hi,

    I am new to the Silverlight concept & still learning it. I have a question.

    In ASP.NET, we had practice to have the UI in the ASPX page & the code behind moved to dll. I mean the business logic for the UI was from a class library & only the UI to be in ASPX pages. When the application is shipped to customers, they had the ASPX pages & the dependent assemblies & the CSS. Customers had options to modify content of the ASPX page like any button alignment/increasing the width/height   of any controls in that ASPX pages if required. Also change the CSS. So how can we achieve the same in Silverlight?

    Thanks,

    Mallikarjun

    Reply

All Posts

  • bink
    Chao Bill
    4 points
    2 posts
    Dec 16, 2011, 02:47 AM
            Report Abuse

    Hi Mallikarjun,

    If your client knows how to use Visual studio or Blend, then the answer is Yes.  Otherwise, no.

    Sliverlight client will be compiled into XAP file, so your clients won't be able to edit the UI if you gave them the XAP.  However, you could create a Silverlight project which use the dlls that you mentioned and ship the source code to your clients.  You may need to use WCF services which is a bit different when you use ASP.NET.

     

    Regards

    Bill

    ---------------------------------------------

    Solvexia Process Automation

     

     

    Reply
  • Mallikarjun06
    Mallikarjun Gouda
    6 points
    3 posts
    Dec 16, 2011, 07:16 AM
            Report Abuse

    Hi Bill,

    Thanks for the response . I don't have issues sharing the XAML files but i can't share the code behind files. Is there any alternative.  

    Thanks,

    Mallikarjun


    Reply
  • bink
    Chao Bill
    4 points
    2 posts
    Dec 16, 2011, 08:03 AM
            Report Abuse

    Hi Mallikarjun,

    Is this what you are after  http://www.silverlightshow.net/items/Creating-a-Silverlight-Custom-Control-The-Basics.aspx

    By using the custom control part, you could seperate the xaml and the code.  You could try put xaml in a project and reference the dll which has the code behind logic. 

    Because I have never been to the senario you are in, if it works, pls let me know.  Will be interesting to find out.

     

    Cheers

    Bill

    ----------------------------------------------

    Solvexia Process Automation

    Reply
  • Mallikarjun06
    Mallikarjun Gouda
    6 points
    3 posts
    Dec 16, 2011, 08:06 AM
            Report Abuse

    Sure. Will try & let you know.


    Thanks,

    Mallikarjun

    Reply
Page  

To reply to this thread you must Log In to your account


Thread


Tags: 
  • Asked
    384 days ago
  • Viewed
    688
  • Last Activity

Related Threads


Shortcuts