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: mcowen
  • Content: Threads
  • Order by date
  1. mcowen

    Dynamically added Validation control, formview and the cancel button

    I've dynamically added a RequiredFieldValidator control to a textbox in a formview. The first time the page loads I can see the script block hooking up the javascript function to the control... <script type="text/javascript"> //<![CDATA[ var FormView1_validator2 = document.all ...
  2. mcowen

    Validation Application Block and serialisation

    Hi all Is it possible to configure a business entity on the server and to apply validation using the validation application block in such a way that the validation is available on the client when using web services? I want to configure my validation in one place. Matt
  3. mcowen

    Code access security in asp.net and web services

    I'm involved in a large .net project which is mainly asp.net. One of the requirements is to have all access to data made via web services. The reasoning I've been given for this approach is that this is more secure than a traditional website that accesses a database directly. If the web server...
  4. mcowen

    Access to Singleton via .NET Remoting

    Hi I've been trying to create an object within a Windows Service and then publish the object in the constructor of the remote object i.e within itself. I can't seem to get this to work though I can only ever publish the object within the Service object using Remoting.Configure. My Windows...
  5. mcowen

    Graphically representing a schedule of activities

    I'm looking for advice on whether Javascript would be the best approach for a problem I'm trying to solve. I want to be able to graphically represent a schedule of activities. Each activity has various properties including a name and the number of days from the previous activity and these...
  6. mcowen

    Downloading file and handling response to client

    Hello, A couple of questions.... If I make a request to a aspx page and in that page I download a file from a URL, is it possible to pass that file back in the response to the client without saving it to disk on the web server? If I make a request to an ASPX page can I cancel the response...I...
  7. mcowen

    Datagrid export format problem in Excel

    When I export a datagrid that contains currency values (with the pound sign, £) to Excel I get £0.00. I have seen this before when transforming XSL with UTF-8 encoding so I tried iso-8859-1 but it made no difference. Does anyone know how to solve this please? Here is a snippet of my code...
  8. mcowen

    Dynamic alias

    Hi I'm trying to output the previous 12 months and have the month name as the column heading. It doesnt want to let me use a function as the alias. SELECT Department, SUM(case when Month=MONTH((CURDATE() - INTERVAL 11 MONTH)) then Total else '0' end) AS DATE_FORMAT((CURDATE() - INTERVAL 11...
  9. mcowen

    Appending XHTML to an XML document tree

    Hi, I've been wrestling with this for awhile and am surprised there isn't more on the internet about how to do this. I'm trying to post XHTML (using a wysiwyg editor called Tinymce) and then append that XHTML to an XML document tree. The main problem I keep coming up against is the use of...
  10. mcowen

    XSL nested Foreach and excluding a node

    I have a XML document with HISTORY and SCHEDULE elements. I need to iterate through the SCHEDULE elements and build a table row. For that schedule there could be 0 or many history elements that I also need to add to the table but without duplicating! <HISTORY> <DATE_INSERTED>...
  11. mcowen

    Image handling

    Hi, I am working on a project that involves the uploading of images to a server for display on my site. I'm likely to have a minimum of 100,000 images a year and I have little (or no) idea how to manage them. What I would like is to show a thumbnail on the user's page with it being a link to...
  12. mcowen

    For anyone wanting to know the advantages of CSS

    FoamCow has again blessed us with his knowledge. Anyone learning CSS should read this article...skip the first 2/3... http://www.tek-tips.com/viewthread.cfm?qid=1098652&page=2 Matt
  13. mcowen

    Adding HTML to a XML element

    Hi, Everytime I add HTML to a XML element it converts the code to a &lt;html&gt; etc. I am adding a CDATA section so i am not sure why its converting the < symbols. Does anyone know how I can prevent it character escaping like this? Thanks Matt
  14. mcowen

    Adding XSL stylesheet decaration to XML page

    Hi, I cant seem to find a way in the XMLDocument object or anything else to add the xsl-stylesheet tag to an XML document. .NET seems to want to transform the XML itself using XMLtransform but I dont want this. I want to be able to create XML documents in a directory and allow the users to open...
  15. mcowen

    Aligning center using margin:auto

    Hi, I'm trying to align some divs centrally using... #mycontainer { margin-left:auto; margin-right:auto; width:640px; } and I'm getting different behaviour in HTML to XSL. The div is aligned to the left of the page. Has anyone seen this before and know how to make XSL behave in a...
  16. mcowen

    Problems with &lt;a&gt; and javascript:void()

    Hi, I'm building a table dynamically using the DOM and each row contains a link that I have built in such a way that it would be along the lines of... <a href="javascript:void(1)" onclick="openFC(this)">Remortgage of 27 Dunroamin..</a> The integer that is part of the void call is...
  17. mcowen

    2 divs (1 as a shadow) and positioning them centrally

    Bit concerned I've missed something obvious with this problem but I'm going to risk it. I have 2 divs with one acting as a shadow for the other. I want to have them in the center of the page but i cant seem to get the positioning right in terms of the shadow div being offset properly. If I...
  18. mcowen

    CSS problems between Firefox and Mozilla

    I'd like to have a 3d appearance to my divs (I want to use this for the top of the page navigation links in much the same way as www.theregister.co.uk does) but I cant get the same from firefox as I can from IE. The style is... #test{ border-top-color:#CCCCCC; border-left-color:#CCCCCC...
  19. mcowen

    RegExp

    I'm trying to create a regular expression that tests true when a figure entered into a field is 6 or less figures. I've tried var myReg1 = /\d{,6}/; var myReg1 = /[0-9]{,6}/; but it either doesnt allow less than 6 figures or always equates to false. Whats wrong with this? function...
  20. mcowen

    Problem with getElementById in IE

    Hi, I have a XSL page with 3 tables and each table has a tbody element. When the page loads XML data is parsed into js objects. Once that is done I use DOM functions to add the data to the correct tables...well thats how its supposed to work. When I create the row using a createRow function i...

Part and Inventory Search

Back
Top