View Complete Post
I am trying to do this with many issues of data binding doubling the amount and not setting selectedValue on dropdownlist. I have read some posts and they help but I am missing a crucial piece. My problem is that my dropdownlist is doubling the amount of records for the dropdownlist. Instead of "YES;NO;SELECT A VALUE", I am getting "YES;NO;SELECT A VALUE;YES;NO;YES;NO". My database is correct with the UPDATE part but the rebind after update is failing horribly.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If IsPostBack Then
If Session("ACTIVETAB").ToString() = Session("SUBCONTRACTSATABNO").ToString() Then
Public Function loadlookups(ByVal id As String, ByVal e As System.Web.UI.WebControls.ListViewItemEventArgs) As DataTable
Select Case id
dt = GetLookupTable("SubcontractsA", "Sub 1 Cert Received")
Dim ddlCertReceived As DropDownList = _
ddlCertReceived.DataSource = dt
ddlCertReceived.DataTextField = "lup_text"
I have a sharepoint site (2007) with two subsites . while I am trying to edit list items in subsite its giving me Access denied error even though I have the Site collection Admin Rights.
Please help .
ÃÂ Hi Everybody,I have created a list in sharepoint. In that list there is a field which I want to make read only or invisible when the user tries to add or edit a list item through sharepoint UI. I want this because that particular field gets populated through a webpart and direct data entry into that field is unnecessary. Is there any way to make a sharepoint column (for me its a picture column) read only or invisible in the sharepoint UI.thank you,Arun Dutt
If I change the default querystring variable from ID to CustomID then it doesn't show the relevant record from the list.
I did this to avoid an error
"No item exists at http://moss-server:18498/pagescollection/EditGroupMeetingPlannerForm.aspx?ID=88. It may have been deleted or renamed by another user."
What should i do, to avoid this error. Plz help me.
I have a problem with a sharepoint list template. I created a custom list in MOSS2007 that I saved as template. The problem is that the new list based on that saved template doens't display the Title (changed on project's name) when I want to create a new
item. So after creating new items, their Project's Name (Title) is set to (none) for all of them because I couldn't specify any Project's Name (Title).
I was back to my original list and when I create a new item, the Project's Name is displayed so I can fill it. I searched in the list settings and nothing was special.
The columns are required in both lists, there is no management of content types (maybe a hidden field but NO!), the list is a typical list with basic settings.
Has someone an idea?
I want to reuse this list and the Project's Name (Title) is very important (!).
is there a easy way to format the layout of items of a list, defaut is from top to bottowm:
Can I layout out like :
item1, value1; item 2, value2
Item4, value4;item5, value5?
There are supposed fixes for this but I cannot get a decent reply so i am posting a new thread. I am getting the same error as what was in this thread.
I want to run the script but cannot without getting an error.
Can I get step by step of how to run this script? Save the code into what? Run from what? On server or workstation?
I am a sharepoint admin, not a developer so I'm a bit clueless when it comes to code language...
static void Main(string args)
static void FixField(string args)
Okay, I have a WF that works on NEW created Items only, But, if the item gets Rejected and then the Creator goes back into the Request/list Item and fixes what he has wrong, it changes the Status back to Pending, which is fine, but it doens't go through
the process again treating it like a New Request, kicking off the WF for NEWLY created items.
What do I do??
Trying to figure it out. Any help would be greatly appreciated..