.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Expander not showing expanded view in design mode

Posted By:      Posted Date: September 21, 2010    Points: 0   Category :WPF

i am using Vs2010 and have a window where i have expander.. But in design view it doesnt show up the expander view.

i have a listview and few buttons in it.. and i am unable to see them ..

any help?

View Complete Post

More Related Resource Links

Expander not showing expanded view in design mode

i am using Vs2010 and have a window where i have expander.. But in design view it doesnt show up the expander view. i have a listview and few buttons in it.. and i am unable to see them .. any help?

flow doc reader showing 2 pages on 1 page view mode

Got a question about a flow doc reader. I'm using it for a report page and its main purpose is its scroll mode.  However, I'm wanting to use its 1 page mode for a print preview kind of thing.  If i have the flow docs page size set to roughly 8.5" x 11" the one page mode displays it perfectly to how it would be printed.  If i change the page size to a landscape format roughly 11" x 8.5" the doc reader crams everthing in on one page. Question is: Can you modify the doc readers one page mode to display pages as they would be printed? If not is there a way you can set up a print preview dialog with the flow doc?  Thats equally as good. Another random question.  When I call the flowdocreader.print method it displays a print dialog.  Problem is the close button on the dialog lines up with the print button on the toolbar.  If you try to close the dialog it clicks through the print dialog and hits print again.  This causes an infinite amount of print dialogs to appear and you have to close each one of them with cancel.   Is there a way to set focus to the print dialog or change its start up postition. Any feed back will be greatly appreciated.

Expander control is not expanded during design time


Hi all,

I've an expander control placed within a windows XAML as mentioned below. But the expander is not expanded at the design time. What could be the problem? and how can i see at the design with the embeded controls?





Custom Control Design view error



I have created a custom control from scratch and it works fine as in you can build the project that uses it and it works fine at runtime. Problem is when you go to design view the control shows an error in the place of where the control should be rendered.

Error: '<SomeValue>' Could not be set to '<SomeProperty>'

This shows up on all my custom set properties. These properties are created as basic as possible. I can give the properties values in Source view and run the app just fine. I can even add a Onclick event. If I don't set any custom properties the control will render fine in Design view. It's only when I set a value to a custom property.

Property Code Example:

public string Text
                string ret = "";
                object obj = ViewState["Text"];
                if (obj != null)
                    ret = obj.ToString();
                return ret;
                ViewState["Text"] = value;

I've even removed the Category and Description tags with no difference.

I don't know if what I said makes sens, but I hope it

Design Patterns: Problems and Solutions with Model-View-ViewModel


The Model-View-ViewModel (MVVM) design pattern describes a popular approach for building Windows Presentation Foundation or Microsoft Silverlight applications. Robert McCarter shows you how the ViewModel works, and discuss some benefits and issues involved in implementing a ViewModel in your code.

Robert McCarter

MSDN Magazine July 2010

Patterns: WPF Apps With The Model-View-ViewModel Design Pattern


In this article we explain just how simple it can be to build a WPF application the right way using the MVVM Pattern.

Josh Smith

MSDN Magazine February 2009

Design Patterns: Model View Presenter


The MVP pattern helps you separate your logic and keep your UI layer free of clutter. This month learn how.

Jean-Paul Boodhoo

MSDN Magazine August 2006

VS 2010 XAML Design View Load always fail with a Type Load Exception

Create a new WPF project in VS and change nothing. The Design View will fail to load with the error below. Error    1    Could not load type 'Microsoft.Expression.DesignModel.Core.ISharedInstanceBuilder' from assembly 'Microsoft.Expression.DesignModel, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Microsoft.Expression.DesignModel is an assembly from Expression Blend. I ever installed Blend 4 RC and uninstall and install Blend 4. I Reflector the assembly I have under Blend 4 bin folder. And cannot find a interface named ISharedInstanceBuilder. But the WPF project is a Template project without any changes. How it get related with Blend 4? And how to fix it? Thanks.  

WPF+ VS2010: Design mode error "The URI prefix is not recognized"?

our application uses VS2008 and WPF. To apply the styles in the design mode, we have used the "BlendMergedDictionary" class (see the following link) http://stackoverflow.com/questions/995101/how-do-i-get-wysiwyg-design-in-blend-vs-without-merged-resourcedictionary-in-ever It works very well in VS2008 IDE. Now we plan to move our application to VS2010. In VS2010 Design mode (click on ~.xaml design), we get error message:  "The URI prefix is not recognized."    at System.Net.WebRequest.Create(Uri requestUri, Boolean userUriBase)    at System.Net.WebRequest.Create(Uri requestUri)    at MS.Internal.WpfWebRequestHelper.CreateRequest(Uri uri)    at System.Windows.ResourceDictionary.set_Source(Uri value) the styles does not apply at the design time. It works fine in runtime. The following are the code: public class BlendMergedDictionary : ResourceDictionary { /// <summary> /// This class the purpose is allow we reference the "themes" and "styles" in resource dictionaries in separated assemblies /// by using StaticResource. The big problem using StaticResource is that it will complaints at design time can not find the resources /// So we use this class in xaml file, if it is design time, it will load the resource dictionaries in. /// If it is not in design time, it will use the reso

VWD 2008 express does not show design view

Hi, hope somebody can help me. I was doing a tutorial with VWD and SQL (security Tutorial).I was having a problem making the application to use my own database instead of the default aspnet.db.Don't know what happened, but after reinstalling VWD a few times I had all sorts of problems, VWD would not uninstall etc.so  I used an uninstalling software and must have deleted some files.I know I got a message saying missing ENU\vs_setup.cab. Anyway the problem now is that after I succeded in reinstalling everything I needed, VWD,SQL and Management Studio VWD does not show the design view bur only souce view, Can you help me with htis problwm?Thank you very much.Carlo

scrollbar is not showing for sharepoint list with group by view

Hi, have created a Share point 2007 list having a huge data. I have created a group by view by grouping the data with category. My requirement is to show the data as web part on a page. When i did so, while expanding the group inside the web part, the web part is expanding. I want to keep the height and width of the web part fixed so that the layout of the page will not be ugly looking. But though I am putting the option for fixed height and width in the web part setting but I am not able to see the scroll bars. Where as I can see the height and width are fixed but could see a few data instead of all the data with scroll bar.   Please advice me if there is any solution or workaround.Deeptyranjan

Visual studio design view and ASP.NET MVC ajax

So I have  main page wich reads content with ajax, this page is always active and clicking on links only updates content, now I have this content in many different views, and when I click on view ofcourse in design view I see only content, but without css, and main page, you don't see nothing :( , is there any way in VS so that he understand main page as masterpage although that ain't masterpage?sorry for bad english

Design view displays blank page

I'm relatively new to VWD and am using the Express version.  My web site is simple with a few connections to SQL Server data and to XML documents just to populate controls to display data.  After adding a new web page, linking its controls to an XML document and running it successfully, I discovered that I can no longer display the page in the Design view, I just get a blank screen.  To further confuse things I opened my root master page, which appears just fine.  I then opened the master page derived from this root master and it shows me content placeholders but not the controls inside the content placeholders.  If I have one of the master pages open in VWD and then I open the base page, I now see the data from the root master page but nothing from the base page or the derived master page. I think I'm doing something basically wrong but I don't see it.  Before I start deconstructing my web site I'm hoping someone can help me.  I have looked at a lot of posts on this site but I don't see one that answers my problem.  I did see the one about style and links and their ordering in the aspx file, but this isn't my problem as I currently have neither of these in use. TIA Jon

no design view in VWD 2008 express

After reinstalling Visual Web Developer 2008 express a few times  I still  don,t have design view just source view.Does anybody have any idea of how I can get it back?  I appreciate your help, thanks.

While trying to view a report in integrated mode i see an unsupported RPL stream error

Trying to deploy a report in integrated mode on MOSS 2007. SQL server version is 2008 R2. I see the following:   ??? ?????????? ? ????м???? ?? ??????? ????????? ??????. ?????????? ?????????????м?? ?????? ?????? RPL: 34.62.1836345404. ??????м?? ??????: 10.3.     Yes i know its in russian. Another fail of Microsoft not being able to see the error codes and strings in english language, makes finding solutions even harder, because first you must find HOW is this called in english, then look for solution. Okay so, i found out that it is actually transalted into: unsupported RPL stream version detected 34.62.1836345404 expected version 10.3 Now, everywhere around the webs they say that this is because my Add-in is out of date and i need new RS addin for MOSS 2007.  But the link is dead!    For example, here http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/61357765-52aa-4085-9ee0-4cb494a6c3ad   @For SQL 2008 R2 together with WSS 3.0 / MOSS 2007, you need the SQL server 2008 november CTP add in:  http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=44bda62c-0cda-4a99-8d0a-d7fe06b39422 But the link is dead and there is no hint as to what happened.   The only valid link i found is this: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=65606fdd-093f-4c

Unable to open design view

I have SSRS 2008(native), BIDS and VS  2008 (9.0.30729.1 SP) on Windows 7 Pro.I have a working report and today I cannot "View Designer" for my report.When I load the project, it automatically goes into rdl:code view.When I right click on the report, I see the option to view code or view designer,and select view designer, it produces a second copy of the rdl:code view.The rdl is good because: - I can build the project and the build succeeds. - I can run the rdl (right click, run) and it produces the preview of the report.Then, I started a new simple project, went through the wizard and still - no design view.This simple project also builds correctly and produces a preview report.I have checked this, and other forums but I find myself (sort of) alone in this quandary!So, how (and why) did I lose the designer view?Please help....Usman Suleman
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend