View Complete Post
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 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.
When Lookup Column on a NewForm.aspx, that was populated from another SP List, does not contain a value in the DropDown menu can it be added/inserted into the source SP List from the NewForm without leaving the NewForm?
Is there code or example how to insert the Item in the SP List, then refresh/repopulate the Lookup Column's DropDown menu (in the NewForm)?
Or is there a better way to do this add an item both the List and the dropdown without resetting the values already entered in the NewForm?
Can anyone advice how can DropDownList attributes be persisted accross page Postbacks?
DropdownList1.AutoPostBack = TrueDropdownList1.items(0).Attributes.Add("Attribute1","somevalue")
On Postback the attribute is no longer available (ie. attributes.count=0). I tried persisting using the code below, but was unsuccessful:Before PostBack: ViewState.Add("DDL","DropdownList1")On PostBack: DropdownList1 = ViewState("DDL")
This generated the error: DropDownlist is not marked as serializable.
I than tried:Before PostBack: Session.Add("DDL","DropdownList1")On PostBack: DropdownList1 = Session("DDL")
This did not err but attributes were still not available.
It's driving me mad. I have a detailsview bound to an sqldatasource. One of the items on the data table is to get its value from a dropdown list, so I created a template field and entered a dropdownlist, then bound that to a second datasource with the selection values in it. As the values can be male or female related, I have an unbound radiobuttonlist above the dropdownlist with two values - male or female - retunring an d"m" or an "f" and I want to use this to filter the records coming from the second data source for the dropdownlist.
I can't use a normal SQL control parameter on the datasource as the selector (the male/female radiobuttons) are in the detailsview and therefore "invisible". I set up a normal control parameter with "none" as the type. I then set the "autopostback" value to "true" for the male/female radio buttons and tried writing in the code-behind for the "maleorfemale_SelectedIndexChanged" event and using debug lines revealed that I was getting the "m" or "f" I needed by using "findcontrol", so that's fine.
I also tried adding in the "selecting" event for the second datasource to use the value of the radiobutton item, but although the "selecting" event fires
I am using database table as datasource for my dropdownlist. I want to add an extra item in my dropdownlist for example "select country".
how can i do that.. currently my code is:
dt is a datatable , "country_id" & "country_name" are columns
I have one sharepoint list in my site called "Business Unit Process".
In that list "Manager" column is there.
That column is of type "choice" and it is a dropdown list. But whenever selecting values from that dropdown list for "Manager" column it displaying error message box like following.
Microsoft Internet explorer
The text entered for the Manager isn't an item from the list. Select an item from the list, or enter text that matches one of the listed items.
Please tell me it is browser problem or something else.
I am using Internet Explorer6.
can any one help what that error is?
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