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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ChainsawJoe

  1. ChainsawJoe

    Using ManagementObject to access IIS

    Hi all, I have written the code below, ideally with the end plan to create virtual directories with redirects from code, but I can't even get as far as loading the properties; the line if (obj.Properties.Count == 0) errors with "invalid namespace". I call the function with from a console app...
  2. ChainsawJoe

    repeater controls renamed to "_ctl00_"!

    If anyone's interested, to "fix" both this and the fact that .net2 replaces ":" with "$" in server control "name" attributes, check that there's the key <xhtmlConformance mode="Legacy"/> in the system.web area of the web.config. This reverted the rendering for me, and yes, I know it's a bad...
  3. ChainsawJoe

    repeater controls renamed to &quot;_ctl00_&quot;!

    Many thanks for your suggestions! On both boxes: ASP.NET 2.0.50727 Checking all tabs having clicked "edit config" in the asp.net tab of IIS on both machines, the only differences are the values of a few appsettings in the web.config to point to different databases (dev & test). I've run...
  4. ChainsawJoe

    repeater controls renamed to &quot;_ctl00_&quot;!

    Hi, I totally see your point, but I don't like that something has intrinsically changed in the rendering of the controls. This intranet project is quite old and relies heavily on the use of javascript. We *will* update the code, but firstly need to get the *existing* version working on the...
  5. ChainsawJoe

    repeater controls renamed to &quot;_ctl00_&quot;!

    Thanks for your suggestions, but we're already passing the "this" and the index of the current repeateritem to a js function in order to get a sibling repeateritem control and set that control's value. I realise this code needs revisiting, but this is not a viable option at the moment - we...
  6. ChainsawJoe

    repeater controls renamed to &quot;_ctl00_&quot;!

    Hi all, Can anyone tell me why, having upgraded to .net 2.0.50727, the controls within a repeater on a test server (also running same version of .net) have changed from ctlReturnBuilder_rptReceiptItems__ctl0_drpdwnVoidReasons to ctlReturnBuilder_rptReceiptItems__ctl00_drpdwnVoidReasons (two...
  7. ChainsawJoe

    Table Webcontrol and PostBack

    Thanks all, but to reiterate my problem (which I've now used javascripting to overcome) and to address Mark's point: with my dynamically created content, nothing is available in the postback so I can't compare the changes. This is how I had been trying to do the functionality from the...
  8. ChainsawJoe

    Table Webcontrol and PostBack

    Ok, so just to confirm this method: I have a sub/func called from page_load which creates the dynamic content - perhaps using a parameter to specify whether to instansiate the data from the database or not (such that I'm not overwriting submitted values)? Is that correct?
  9. ChainsawJoe

    Table Webcontrol and PostBack

    Thanks peeps - vbkris, I went with the hidden field method and this has worked for me. ca8msm - your method maybe well have worked, so I'll give it a shot next time ;) Thanks again! :)
  10. ChainsawJoe

    Table Webcontrol and PostBack

    Hi all, Need some pointers please - I'm dynamically creating a Table Webcontrol (i.e., *not* a Table HTMLControl) and adding checkboxes into some of the TDs. The "checked" status is being set depending on the current values in certain objects. I'm then allowing the user to change the status of...
  11. ChainsawJoe

    vb.net pdf printing

    Hi all! I have this function which prints txt files just peachily Sub PrintAdobePDF(ByVal Filename As String) Dim myProcess As New Process Dim i As Integer = 1 Dim lbRunning As Boolean = True Try myProcess.StartInfo.FileName = Filename myProcess.StartInfo.WorkingDirectory...
  12. ChainsawJoe

    ImageUrl ampersands

    Don't worry yourselves about this one unless you actually know the answer; I'm using a serverside img HTMLcontrol and it's working just peachy. :) -------------------------------------------------- http://www.chainsawjoe.com - better than toast. Penguins - better than...
  13. ChainsawJoe

    ImageUrl ampersands

    Hi all, I'm using an Image webcontrol within a purchase confirmation page on an eCommerce wensite in order to specify affiliate tag info. E.g. imgTracker.ImageUrl = "https://tracker.clicktrade.com/Tracker/Sale.dll?clicktrade=1234&sale=" & Value & "&uarg=" & OrderId Where "Value" is the order...
  14. ChainsawJoe

    Media Encoder + RDP/VNC = no audio + death

    Interesting idea, but why would that only affect the remote access and not the local access of the encoder pc? -------------------------------------------------- http://www.chainsawjoe.com - better than toast. Penguins - better than http://www.chainsawjoe.com...
  15. ChainsawJoe

    Media Encoder + RDP/VNC = no audio + death

    Hey all. I've just discovered Windows Media Encoder and Windows Media Services (on Win Server 2003) and had a webchat thingy setup yesterday which all went quite well. however, I was wanting to have an extra pc in the room with the webchat going on (one with the webchat software, one for the...

Part and Inventory Search

Back
Top