Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: PushCode
  • Content: Threads
  • Order by date
  1. PushCode

    how to automatically reassign tasks in sharepoint 2007 designer workfl

    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...
  2. PushCode

    This works in IE, not in Firefox...any ideas?

    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...
  3. PushCode

    Need to manipulate stream I'm reading before displaying on the page

    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 =...
  4. PushCode

    Evalualing a bool true/false within an asp:label tag

    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)...
  5. PushCode

    This script only works in IE, any ideas?

    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(); }...
  6. PushCode

    Looking for guidance on assigning a status to document libraries

    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...
  7. PushCode

    Need help calculating Resource Availability

    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...
  8. PushCode

    How to display or not display a table row based on an ObjectDataSource

    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...
  9. PushCode

    Need help with document.referrer.indexOf

    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...
  10. PushCode

    Sharepoint lookup column custimization

    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...
  11. PushCode

    Need help getting value of a custom field

    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...
  12. PushCode

    need some help with sql insert

    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...
  13. PushCode

    send data from sharepoint list to non-sharepoint sql db

    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...
  14. PushCode

    custom web part causing access denied to all but sharepoint admin

    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...
  15. PushCode

    trying to clear form but it's not working

    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 = ""...
  16. PushCode

    Need to pass back selected value text/option to previous page

    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...
  17. PushCode

    replace non-existing image with default image in a formview

    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...
  18. PushCode

    how to programmatically set the DefaultValue of asp:controlparameter

    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...
  19. PushCode

    set a url that I can then reference for all images and hrefs

    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...
  20. PushCode

    can I convert a number to a date?

    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...

Part and Inventory Search

Back
Top