I have some grid applications that use .lyt layout files to reconfigure the grid based on user input.
What I do currently is put a layout folder into the click once deployment folder on the server. I then put the path to the layout folder into the application. Our application server is failing and I need to move all of my apps to a new server. All of the path strings have to be updated. Is there a better way to reference the grid layout files without hard coding the path into the application ie. Application.StartupPath in .net.
Thanks
Roger
Let me know if you have trouble getting it to work. We use embedded resources all the time. :)
These are layouts I've set up and saved. I haven't needed to use the embedded resource files, but that sounds like a good solution.
Thanks for getting me pointed in the right direction.
Hi Roger,
Are these layouts defined by you, or by the user?
If they are defined by you, then you could include the layout files in your application as embedded resources, rather than as separate files.