WPF library with page - navigation of the application [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Improve this question
Now I experiment with your application architecture. I have wpf library(AppView.dll MVVM) with my pages (View/MyPage.xaml). I use this library in my wpf app. How do I set the correct URI for navigation ? I tried URI so "pack://application:,,,/AppView;View/MyPage.xaml". But there is an error - "resource not found appview;view/MyPage.xaml". How to use the navigation page from another assembly?

Try using /AppView;component/View/MyPage.xaml or "pack://application:,,,/AppView;component/View/MyPage.xaml"

Related

Adding new item in Visual studio 2010 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I am using visual studio 2010. I created a master page for the website. Now I would like to add a new item to this page. But the option is disabled. Please help me in adding a new item.
Being that you used the term "Master Page", I'm going to assume this is an ASP.NET Web Forms project.
Think of a Master Page as an abstract class. You cannot view it directly, but implement it in your pages.
Check out this beginner tutorial
http://www.codeproject.com/Articles/333650/Beginner-s-Tutorial-on-Master-Pages-in-ASP-NET

What is differance between WebBrowser and WebBrowserTask [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
I am new to Windows Phone development. In one of my requirement I need to open the HTML pages to show some information and after complete reading this pages will return some data to my application, in such case WebBrowser is useful or WebBroserTask is useful?? Only WebBrowser.IsScriptEnabled is itself sufficient to achieve my target?? If possible please suggest me some code sample.
Thanks in advance.
If you need to get some data from the web page, you should use the WebBrowser control.
The WebBrowserTask puts you app in background and opens the specified page in Internet Explorer. Your app can't interact with it.

replace variables in querystring for url path asp.net c# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
i know there's a way to do this, but i just can´t remember how it was, i did search in the other posts about this topic but is not just what i'm looking for:
i have this
http://www.example.com/detail.aspx?userid=gartest&tutorialid=1001
should be like
http://www.example.com/gartest/1001
plase help, thaks
In asp.net webforms you can create ASP.net mvc like route rules to do so.
http://msdn.microsoft.com/en-us/library/dd329551.ASPX
http://msdn.microsoft.com/en-us/library/cc668177.aspx

What is the Settings.settings file for? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
what files are these ?
hi every body
while reading about about coding with c# and asp.net i notice that
files which are (Settings.settings) and the other is
(Settings.Designer.cs) which in one of project layers what kind of
files are they and why he use them ??
Those are application settings, that can be easily edited as a cleartext, human-readable file, and which can be accessed during design-time (and runtime) as classes and properties.

Enable lazy loading for the particular block of code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I disabled the lazy loading in context but now in for some cases I want to use lazy loading in my code but don't want to enable it through the context.
Is there is any way to enable it for the particular block of codes.
Use this http://blogs.msdn.com/b/adonet/archive/2011/01/31/using-dbcontext-in-ef-feature-ctp5-part-6-loading-related-entities.aspx
// I use princesses because ponies are too mainstream
var princesses2 = context.Princesses
.Include("Unicorns")
.ToList();
You simply include the relationship

Categories