item

Visual Studio 2008: How to install an item template

I have created an Item Template using the "Export Template" wizard. I opened up the XML file and made a couple of minor changes, then rezipped the package. Then I checked the item template into source control so that everyone on the team can access it if they want. But for the life of me I can't get the template to show up under My Temp...

C# Listview Item Text Orientation

I'm designing an application using a Listview container with LargeIcons as the view type. I need a way to change the text orientation of the Listview Items with respect to the icon. For example: I would like to have to text displayed to the right of the icon in the Listview container. Is there a way to do this? Thanks, -Sean! ...

ASP.NET / C# How to access list item of unordered list with runat=server ?

Hi, I have a ul list with a number of list items like: <ul> <li runat="server" id="liOne">one</li> <li runat="server" id="liTwo">two</li> <li runat="server" id="liThree">three</li> </ul> On page load, I need to set these list items visible or not visible. For some reason I cannot access these in the C# code behind. Nor are the list...

how can I embed an image in a FLEX form item label

I need to include an icon to the left of a label in my form. it would probably work best if the icon was part of the label. it seems to me that a form item cannot have anything preceed the label on the left side, is there anyway around this? ...

Dynamically change GridView item template

I have a fairly big asp.net website that use GridView bound to the same object in lots of places. I'm using an item template to customize each row. However to have the same template in all the pages I have to copy & paste the item template to each page. Obviously this is not the best solution. On top of this I want to be able to change t...

jQuery different click action on the last item of a link list

Hello, everyone Let's say we have the following list: <ul> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4 (different action)</a></li> </ul> Is it possible to assign a different click action on the last item of this list without any addition markup? I mean...

action script 3 and custom image itemrenderers

Hi, I have a custom item renderer which displays a different gif in the row depending on data value from the data object. When i set the image source url using the absolute path and not embedding it works fine however when i embed the images i find that when i scroll up and down the grid the images get messed up and sometimes sit on top...

Find with php specific parameters in XML

Hello i have the follow problem. I have e XML file and i know the value of "uniquename=value2". I want extract the value of URL. <set uniquename="value1"> <items> <item> <units> ... </units> </item> <item> <units> ... <url>http://www.something&lt;/url&gt; ... </unit...

WPF ComboBox with empty item?

Hi! Suppose we have a DataSource bind to a collection from Database. There is no null item of course. How to add a void item into a ComboBox, so that at first load user would see an empty string. I don't want to add a dummy/void object into the Collection. Optimally in XAML. Any proposals? ...

how to access the localized names of an outlook contact items property

does anyone know a way to access the localized names of an outlook contact items property collection? If i loop through the properties collection for (int i = 0; i < item.ItemProperties.Count; i++) { if (item.ItemProperties[i].Type == Microsoft.Office.Interop.Outlook.OlUserPropertyType.olText) { string s = item.ItemProperties[i].Name...

How to clone an Item in a SharePoint list?

I need to be able to create a different item from an existing one, but still keep most of the details and only change some information. Thanks, ...

(WPF) Animate ListView item move

I would like to have an animation when an item in ListView changes position, so it would slowly move to the new position. Either in a template or in code. I've tried descending from a (Virtualizing)StackPanel and overriding ArrangeOverride to reposition and animate the items. the problem is that I don't know at what position the item was...

How to de-select a JList item from my program

I have a JList, and a JButton, user can click an item in the JList or they can click the button, when the button is clicked how do I de-select (change the selected list item bgcolor to normal, in other words, nothing in the JList will be selected after the button is clicked) the item from the JList ? ...

jquery : adding non-accordion element by button klick

Greetings, I got the following problem: On this page (it's /not/ mine, I'm taking it just as an example) you can see under non-accordion (standard expandable menu) a ,as the name tells, a standard expandable menu. Now the question that I got: Is it possible to add by e.g. clicking on a button, to add another menu item, so that in...

Applying WPF styles to Child Items

Hi There Lets say I have a grid, within my grid I have a number of controls. Instead of setting the margin for each of these controls, I wish to create a style to set the margin for ANY control I drop into a grid. Is this possible? I was hoping that the following would work: <Window.Resources> <Style x:Key="DefaultMargins"> ...

SiteCore Error: AddFromTemplate - Add access required

Hello, I am trying to add an image item to the content tree - but I get an access denied error at the following point: item.Add("New Node1"... The complete code of my method is: Sitecore.Data.Database master; master = Sitecore.Configuration.Factory.GetDatabase("master"); Item item = master.Items["/sitecore/Co...

How to get the item count for sub-categories on each parent?

This is related to the following post: The function that retrieves the item counts for each folder (category) is: ALTER FUNCTION [dbo].[GetFolderReceiptCount] ( -- Add the parameters for the function here @FolderID bigint ) RETURNS int AS BEGIN DECLARE @Return int SET @Return = 0 SELECT --H.ReceiptFolderID,...

iPhone: change Navigation Bar title color and back button title color

hi all, i want to change the NavigationItem title color. Also i want to the change the text color of back button of navigation bar. Please suggest how can i do this task? i am using iPhone Os sdk 3.1.2 ...

WPF - Bind Menu Item

Hello, I am creating a menu and binding the menu items ate runtime as follows but I am not able to make it work. I am creating the menu as follows: Menu menu = new Menu(); menu.Items.Add(new MenuItem { Command = new PackCommand(), Header = "Pack" }); DockPanel.SetDock(menu, Dock.Top); content.Children.Add(menu); And ...

sharepoint - on delete item event - how

Hi chaps... I have in sharepoint a workflow process that runs when a task is added to project tasks, i also then add an entry to the 'calendar', when the item details change, name or dates in either calendar or tasks both update fine. What i would also like to do is when i delete an item from 'project tasks' that the related entry in t...