.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

hide ObjectDataSource in design view

Posted By:      Posted Date: September 18, 2010    Points: 0   Category :ASP.Net
when i'm in design view how can i hide ObjectDataSource buttons its difficult to see the design and how to rearrange it thanks 

View Complete Post

More Related Resource Links

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.  

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

How to Hide "VIew All Site Content" for non administrator user

Hi, I want to hide "view all site content" for non admin user but that user can access the form libray.actually there is a workflow using form library. I ve edit the permission level to hide view all site content but now the user can not use form library. so how can it b possible.kindly suggest.Regards- Sharad

How to hide the list ribbon in XSLT List View Web Part?

Hi, In SharePoint 2010, I have a custom list "Clients" on a site. On the home page of the site, I have added a Clients List Web Part. When I access the home page in a browser and click anywhere in that list, it displays the "List Tool" ribbon group which has "Items" and "List" ribbons. I do NOT want these ribbons at all when clicking on the list. How do I achieve this? Should I disable the click event on the list so these ribbons do NOT appear? How do I disable the click event on the list? Or What should I do to hide these ribbons when clicking on the list? Basically I want it to behave same as content query web part. In content query web part, if you click anywhere in it, it doesn't show up any extra ribbons. I want the same behavior with list web part. Thanks, Hitesh

Hide grid view column if empty

 Hello All, I want to hide a grid view column if that column is empty. How do I do this? I dont have much exp. with grids. Please help me. Thanks in advance.

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.

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

Can I hide the "View Product" link in the grid view when there aren't any products for the category

Hello,Suppose you create a DD web site using a database that has products and categories. The products table has a foreign key reference to the categories table, and when you look at the categoriesin the DD site, each category has a link "View Product" that you can click to see produtcs in that category.However, this link shows even if there aren't any products in the category. Can I change this?Thanks

Controls Disappear in Custom Control Design View

I have a site using eight (so far) custom web user controls  and two of them have started misbehaving in design view.  When designing the control itself some (in one control) or all (in the other) regular controls (labels, text boxes, etc.) disappear from the design view surface.  They can still be seen in the source view and if the control is hosted on a regular .aspx page the control displays properly.  The code window recognizes all controls in the objects dropdown list and I can write appropriate code.  The controls run properly on their hosted pages.  If I switch to Split view and select controls in the source view panel a very small area od the design surface becomes selected (like one pixel for any of us who remember programming old DOS applications with 80-column screens) but no controls can be seen. In short, the controls work in every respect except that I cannot see all or part of the design surface in Design view when editing the controls directly.  I've double-tripple checked the source code for anything that may be causing this and just don't see anything.  (The controls aren't that complicated.)

Can I use visual studio 2008 with silverlight design view?

Hi,          I'm using visual studio 2008. I have installed silverlight tool on visual studio 2008. But when I open a .xaml file. I cannot edit the page using silverlight in design view. Is there any way to use design view which I can drag and drop item from silverlight tool to the page for .xaml file?         Do I need to install any other tool which can allow to do so? Please reply and help. Thanks. Wesley

Visual Web Developer 2008 Express freezes when I switch to design view.

When I try to switch to design view of any form, aspx, or html, the entire program freezes and I heave to end task. It also freezes if I click Tools, Options, HTML Designer, CSS Styling. Any help would be appreciated.
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