Edited by Nancy Michell
MSDN Magazine October 2001
View Complete Post
i am using a html drop down list ie <select id=month runat=server...><option value="01">JAN</option>........................
i store the selected month in databse & when retriving back i use
when i debug DatePart(DateInterval.Month, '2010-02-05') i get the value as 2
but in dropdown it gives index as 1 and Jan is selected if i store any other month eg NOV ie 11
when i retrive back i get OCT
how do i get the correct value selected
Hi, I'm familiar with populating a DDL in my InfoPath (using 2010) form from a List in sharepoint however I would also like to be able to do this against an existing svn repositry but do not know if this is possible?
The situation I have is that that a number of assets exist in a svn repo, I need to have the form auto-update & populate the DDL with the filenames there. Any ideas on how to do this would be much appreciated!
I have the following string which is a list of urls. How do I get this to work so the url shows for the selection and also is the value?
allLinks = newAllLinks
Me.DropDownList1.DataTextField = "Link"
Me.DropDownList1.DataValueField = "LinkURL"
Me.DropDownList1.Items.Insert(0, New ListItem(" - Select - ", 0))
Me.DropDownList1.DataSource = allLinks
ArgumentNullException: Value cannot be null.Parameter name: container] System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +121 System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName, String format) +8 System
Hello. I am working through Scott Mitchell's ASP.Net in 24 hours book. I am finishing the photo album project.
I have a GridView that retrieves a list of uploaded photo rows for the logged-in user.The GridView is for editing and deleting rows.
The photo Category field in the Gridview is a dropdown list. The text entry field was deleted after converting this field to a Template.
Like the uploaded photos, these Categories are user-specific. They are created in another web page.
Users also have the option to select "none" for the category when they upload an image.
For the GridView: The Category ID field's ItemTemplate and EditItemTemplate both have a " - None - " choice added to them.
I am getting this error:
'pictureReadOnlyCategories' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value
Note: The ID for the ItemTemplate for that dropdown list is the ID listed above in the error: "pictureReadOnlyCategories".
Am I missing some step in this process of changing a GridViews text field to a dropdown that can be used for editing? I went through the book's instructions three times.
Here is my code for the dropdown list and a screenshot of the Design
2 Questions. I am trying out Data Entities in VWD 2010 Express. I have a parent (Customers) and child (Orders) table. Customers table has FirstName, LastName and Email columns.
Q1. When I view/edit/insert an Order, it shows the customer's first name in dropdown list whereas I want the full name. How can this be done?
Q2. How can I change the default behavior of PK/FK relationship so that customer's Email is displayed instead of Name?
Any help will be much appreciated.
Direct Internet Message Encapsulation (DIME) is a new specification for sending and receiving SOAP messages along with additional attachments, like binary files, XML fragments, and even other SOAP messages, using standard transport protocols like HTTP. In this article, the author explains what DIME is and how it differs from MIME encapsulation. A detailed description of the message format and how it is parsed, as well as working with SOAP and extending it with WSDL, is also included.
Jeannine Hall Gailey
MSDN Magazine December 2002
MSDN Magazine April 2000
I am running WSS 3.0 with other workflows which are functioning correctly.
I created a new workflow in Visual Studio 2008 and was able to successfully run it in my dev environment.
I attached the workflow to a task list in my dev environment and was able to manually start the workflow by using the drop down workflow option and using the menus to manually start it.
I installed this workflow in our production environment and attached it to the task list (which had a SPD workflow attached to it which stopped working about a month ago).
I made sure that the option to manually start the workflow was checked.
When I tried to manually start the workflow, (hover mouse over title, drop down) there isn’t a workflow option.
The workflow also will not start automatically when a task is changed.
I attached this same workflow to a different task list in production and get the option to start it.
I have tried creating a small workflow in SPD 2007 and attaching it to the task list.
It shows that it is attached, when I look at the workflows that are attached to the task list, but I still don’t get the option to manually start it.
I have checked my security and I have fu
i created a dataview for a user table to insert new records. now i have to use a dropdown list that get data from another table. to insert in my user table. in the user table only the code is stored. but i need to get that code description that is in another
table in my dropdownlist to choose from in my dataview.
how can i do this in sharepiont designer2007?
I have 1 dropdown in my sharepoint list with other columns. If dropdown value equal to 'xyz' i need to display some other controls, otherwise these controls should be hidden.
My MOSS 2007 environment fires OutOfMemory exceptions when attempt to launch a custom Document Converter on files larger then 50 MB (Video files) . Because my Document Converter is implemented by a standalone executable, I'm figuring these exceptions are fired by Sharepoint Work process, on downloading/uploading from/to temp folder, not byÃÂ my custom converter.
If this is theÃÂ case, can I apply any workarounds on server configuration ? I tried with /3GB switch without luck. Maybe SP1 will address this issue too ?
I have many controls on my form, but in particular, I have 2 dropdownlists. 1 dropdown list has 2 values, and each value controls what the second dropdownlist displays. This is an edititemtemplate and both dropdowns have the selecteditem set via '<%# Bind("fieldname") #>' on page load.
THe problem is, if I change the value of the first dropdown, it errors out because the second dropdwon has a bound value that is no longer acceptable.
Can I cancel the bind of the second control, if the the first one is changed? I would like to cancel the bind, and update the values by using a different datasource depending on the value of the first dropdown or hardcode the new values.
If Dropdown1 has a value of "A" for example Dropdown 2 Shows Values "1", "2", "3"
If Dropdown 1 has a value of "B" , Dropdown2 Shows Values "4", "5", "6".
It binds fine initially, but if I change Dropdown1 from A to B, I want Dropdown2 to show the new values, maybe with a default of "Select an Item" and not error out b/c it's attempts to bind a value of 1, 2, or 3.
Hope this makes sence, b/c I'm