I just have the problem that one of the discussion lists cannot be viewed, it always gives back Invalid index. Exception from HRESULT:080070585.
Does anyone know how to fix this?
View Complete Post
how to get text value of dropdown list box by its index.
i want to read the ddlproject.selectedindex = 0's text and assign it to a variable strProject.
Thank you very much for the helpful info.
I have a dropdown list that has a bind on it and I get this error. Why am I getting this error and what can I do to fix it. here is the code for the dropdown I currently have:
<asp:DropDownList ID="DDLPreferred" AppendDataBoundItems="true" SelectedValue='<%# Bind("PREFERRED_COMMUNICATION") %>' runat="server" TabIndex="15">
<asp:ListItem Text="none" Value=""></asp:ListItem>
In my asp.net page I have a formview. In the formview's InsertItemTemplate I declare a dropdown list as below:
runat="server" text='<%# Bind("District") %>'
I have a dropdownlist in a detailsview edit Item template. Also I have two tables - Employee and Main. In the Employee table I have column EmpId and AssignedTo. In the main table I have EmpId which is connected to the Employee table.
The detailsView has a label which shows the AssignedTo name for a particular record and it works fine. But if I click the edit button to shwo the dropdownlist in the editItemTemplate it is givig me the above error.
The code is:
<asp:DetailsView ID="dtvAssign" runat="server" AutoGenerateRows
i use cascading dropdown lists (in a user registration form) and when the user hits the submit button i get the error:
"Invalid postback or callback argument"
I've seen on the net that this is a problem dating back many years but still haven't found a solution to this.
I've read about changing EnableEventValidation to false, but this poses a security risk.
Anyone knows a good solution to this? (i'm coding in c#)
I have added the discussion list to my site definition as follws
get the guid =List.add(Name ,Title andListTemplateID.discussion)
I have customized the quicklaunch menu by adding the links
in NavigationCollection .
bu I get the additional link in quick launch which redirects to _layouts/viewlist /ListemplateId=108And basetypeId=0
How to remove this extra link from quick launch
I tried by NavColl.Delete(Quicklauch) th Item
But its not working
Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
It is now not letting me change back the properties back to English only or opening the home page of the site.
Any idea, why this is happening and how can I disable this language pack option from this site collection only so that it works normally as before applying language packs? Do I have to unisnatll language pack for that?
I am developing page for maintaing employee record using Visual Studio 2008, MS SQL server 2005.
I am able to fetch and display all the employee information in gridview, the gridview have the dropdown list to display the employee type [ Part Time, Full Time, Permanent , Contract ], in the item template i am having dropdown list. IN the dropdown list i am displaying this.
But While saving the record in gridview the droppdown selected index are changed to 0 of other dropdown list.
the user may be change the dropdown value from permanent to contract, or so. but while click on the save button in gridview, all the previous selection are gone, and always showing the first record of dropdown list. I know this is happening because we are doing dropdown list bind on onRowDataBound.
But i want to retain all the user selection in gridview, please help me how to do this.
thanks in advance.
I have a sharepoint List Item and discussion List
On creation of the Item in the Sharepoint List I want to create an Item in Discussion List also (Which i can do it with the Workflow - No Probs)
Now On the FLat.aspx I am suppose to show the details of the SP List item.
Any ideas how can i achieve the same??
A thread somewhat simliar to this has been posted before as well, but i just wanted to detail out the issue and circumstances
We have a list with 53 columns and 2600 items(and growing. I know its rubbish, but thats the way it is at the moment). The list was created using SharePoint GUI on a test server, saved as a template with data, and was then imported to the production
environment. I can post the list columns and type if it helps.
Every one in a while, on updating an item, SharePoint throws up the very not so helpful error page with "Exception from HRESULT: 0x80040E2F".
We looked into the logs and found that for each suc error, there was a Database level error logged as well.
The error starts with Unexpected query execution failure, error code 3621. Additional error information from SQL Server is included below. "The statement has been terminated." Query text (if available): "BEGIN TRAN;DECLARE... and runs for many lines so i
wont post the entire blurb here.
Each time, the item update is successful, despite this error. The list also has an Item Updated event handler attached to it. Every time the update error occurs, the event handler does not seem to be firing.
Anybody can shed light on what is happening. We have tried exporting the list template to another site and everything seemed to work
In my "Team discussion" list we ask user to select "Departments" from the drop down. Now, I'm creating view for each department so that they can only see their own discussions. But, When I add "Team discussion" list in a web part, I don't get my
custom views in "Select View" drop down list. I'm getting only "Subject" view ,
You may refer my question here with screen shot : http://stackoverflow.com/questions/4076312/sharepoint-team-discussion-list-question