I am tasked with figuring out how to automatically reassign tasks in sharepoint 2007 designer workflow. I know that it's usually done by providing the user with a reassign option in the task completion form, but that won't work for me. Here's a brief overview of the current workflow and what I...
I have the following js that works correctly in IE, but not in firefox. It's just intended to hide a couple of form fields.
Using the Firefox error console, I see that the error generated is: "control is undefined" and it points to this line...
I have the following, which reads an html file from a different server, then displays it on the page in a label.
protected void Page_Load(object sender, EventArgs e)
{
string thePartNo;
thePartNo = Request.QueryString["part_no"];
txtURL.Text =...
Just looking for someone to confirm that what I have is correct or not.
I have an asp:label field for and expire date that should either display "Never" if the database field ([msDS-UserDontExpirePassword] this is a bit - true/false - field) is True, or otherwise display a date (pwdExpireDate)...
This script works fine in IE...the page responds as though the button were clicked. But not in Firefox, Opera or Safari.<script language="javascript" type="text/javascript"><![CDATA[<!--
/* Service-specific script goes here */
function func1()
{
document.getElementById('btnSave').click();
}...
Have a sub-site in which users can create document libraries based off of a template doc library I provide to them. Essentially its just a structure of organized, empty folders. The users are project managers and each time they begin a new project they will create a new doc library for that...
I have been asked by a client to help come up with a calculation for resource availability based on some given data. By resource, I mean a project manager. We need to determine an individual PM's availability based on the given data. I'm not a project management guy so I'm hoping someone here...
I'm using an ObjectDataSource to populate a DropDownList. What I want to do is only display the table row that contains this DropDownList if the ObjectDataSource returns results. If it doesn't return any records to populate the DropDownList, I don't want to display the table row.
So I have...
I'm testing a theory before using it on a production site.
I want to be able to swap images, based on the current url...so I'm thinking document.referrer.indexOf will be the easiest way to handle this.
I've come up with the following page, but it doesn't work as I expect it to work. I want it...
I'm developing a customized document library in the SharePoint 2007 environment. What I'm doing is creating a content type with multiple columns of information related to the document. Users will use this content type to upload new documents rather than the standard new document functionality...
I need help getting the value of a custom field in a list. The field name is Archived By (or Archived_x0020_By), it's a "Person or Group" field type. When I try to access it via curItem.Fields["Archived By"];...I get this error: Object reference not set to an instance of an object. at...
I have console application that queries a sharepoint list. I need to then do a sql insert of those query results into a separate sql table. The sharepoint part is taken care of, now I just need to do the sql insert, but I can't get a grasp on how to make that happen. I assume I need to...
I have a basic understanding of how to get to the data in a given sharepoint list. What I'm not sure of is then, how to insert this data into a seperate database (ms sql). My goal is to have this process run every thirty minutes, query the sharepoint list for any new items, then insert them...
I have a publishing site and one of the pages is throwing an access denied error to all users, except for the sharepoint administrator. This error only occurs if the custom web part is on the page. If I remove the custom web part, all users can access the page without error.
How can I...
When the user clicks the reset button I want to clear all form elements. It doesn't work...any thoughts?
Here's the C# code:protected void btnReset_Click(object sender, EventArgs e)
{
txtSupplier.Text = "";
txtPmtType.Text = "";
txtFromDate.Text = ""...
I have a popup lookup page which lets the user search for a company name, then a dropdown is populated with the results. The user then clicks on one of the results and the previous page's (window.opener) text field is populate with the value from the selected item, and the popup window...
I have a formview:
<asp:FormView CellPadding="4" ID="fvImg" runat="server" OnDataBinding="fvImg_OnDataBinding" EmptyDataText="There are no items associated with your selected criteria." DataSourceID="PartDetailDataSource">
<ItemTemplate>
<tr>
<td...
I need to set the defaultvalue of an asp:controlparameter to 1 year ago today.
<asp:SqlDataSource ID="InvDataSource"...
<SelectParameters>
<asp:ControlParameter ControlID="txtFromDate" Name="FromDate" PropertyName="Text" Type="String" DefaultValue="" />
...
How do I set this? I'm using...
I'm developing a site on my dev server with a root url like this: http://testserver:2334/
And for my links, images and javascript references I'll code theme like this:
<a href="/the%20dir/thepage.aspx"... or <img src="/test%20pages/theimg.jpg"... etc. They then properly link to the correct...
I'm pulling a number formatted field (<%# Eval("AP_PAYMENT_DATE_FK_KEY") %>) from an Oracle table, and I want to display it as a date.
Here's what it looks like in the database: 20081201
I was hoping I could do something like this # Eval("AP_PAYMENT_DATE_FK_KEY", "{0:mm/dd/yyyy}") %> to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.