Search

You searched for the word(s): userid:716635

Matching Posts

  • Re: Order properties in PropertyGridEditorPart

    It's not easy to do what you are asking, there are really only 2 options. First, write your own Property editor part that will sort and group the WebBrowsable properties on your web parts in the way that you want. If your project is more than a trivial one, you will find that will want to do this for a number of different reasons. Your second option is a little more complicated and not a very good choice, but it is an option. Your web part can implement ICustomTypeDescriptor. The PropertyGridEditorPart
    Posted to Web Parts and Personalization (Forum) by snikm on 4/3/2007
  • Re: populate dropdwon wid dataset-help me?

    This is pretty easy too. DropDownList1.Items.Clear() DropDownList1.Items.Add( "Select Items from list..." ); //The AppendDataBoundItems property tells the data binder to add the data bound items to the list after the items you ahve added programmatically DropDownList1.AppendDataBoundItems = true ; DropDownList1.DataSource =ds.Tables(0) DropDownList1.DataTextField = "CategoryName" DropDownList1.DataValueField = "CategoryId" DropDownList1.DataBind ()
    Posted to Web Forms (Forum) by snikm on 4/2/2007
  • Re: WebParts: How do i hide webpart index in the browse mode?

    There are a couple of ways that you have to control the display the index of a web part in browse mode. First, the index is only shown if you have 2 or more web parts with the same Title. The easiest way, and probably a best-practice, is to give each web part a distinct title. Even if you are using the same web part more than once on a page. Chance are each instance shows different information and should have a unique title. Second, you can set the Web Part's Chrome type property to display: No Chrome
    Posted to Web Parts and Personalization (Forum) by snikm on 4/2/2007
  • Re: Web Part Zone List in Catalog Zone

    Glad that you asked this question. This issue has been an open bug on our system for little while and your question gave me the kick in the pants needed to go and fix it. Turns out to be a pretty easy fix. Just set the AllowLayOutChange property to false on all the web part zones that you do NOT want to be listed in the catalog. The Catalog web part checks this property before adding a web part zone to its drop-down list and only adds zones where this property is true.
    Posted to Web Parts and Personalization (Forum) by snikm on 4/1/2007
Page 1 of 1 (4 items)