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 Mike Lewis 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: *

  1. TheVillageIdiot27

    Truncating An HTML String

    Sorry Mark - they would see hello in a bold font. I am thinking that I will probably present the teaser unformatted then have the formatted version displayed on mouse over.
  2. TheVillageIdiot27

    Truncating An HTML String

    At the moment it looks like this <asp:Literal ID="LiteralCommentary" runat="server" Text='<%# Eval("incidents_commentary") %>' /> using a regular expression I can work out what the string would be with no mark up private string RemoveHTMLTags(string strHTMLFragement) {...
  3. TheVillageIdiot27

    Truncating An HTML String

    It's encoded in the database
  4. TheVillageIdiot27

    Truncating An HTML String

    I have a grid view on a web form (c#) in which there is a template field which is linked to a comments field in an SQL database which contains text formatted as an HTML fragment. This field can get quite long so I am trying to return a substring of the this formatted HTML (for example the first...
  5. TheVillageIdiot27

    XSLT Child Node Count Problem

    Many thanks - I appreciate your help.
  6. TheVillageIdiot27

    XSLT Child Node Count Problem

    Hi I haven't used XSLT for ages so apologies for this... I have an XML document created by a database which maps out files and folders i.e. <root> <folder name=”folder 1”> <file name=”file 1”> <file name=”file 2”> </folder> <folder name=”folder 2”> <folder name=”folder 2a”> <file...
  7. TheVillageIdiot27

    TransmitFile and Update Panel

    Hi Jason I am not under any illusions about performance. My thoughts are that it is better for the end user to be looking at a loading gif rather than the alternative. I have just found this http://blog.jeromeparadis.com/archive/2007/03/01/1501.aspx which I hope should should give the desired...
  8. TheVillageIdiot27

    TransmitFile and Update Panel

    Thanks Jason I agree with what you are saying however if at all possible I would like to keep the ajax in place - can you see anyway of firing some javascript after an update panel has updated? The action that is taking place while the update panel is updating is the execution and exporting of...
  9. TheVillageIdiot27

    TransmitFile and Update Panel

    Hi I have an update panel which has an async trigger which is a button which sits outside of the panel and during the VB event handler for the button a file is created on the web server. What I am trying to achieve is the "open /save" box that I get with my standard...
  10. TheVillageIdiot27

    SQL For XML Page

    Cheers for this you are quite right about it being a public url, I will probably take your comments on board. For anyone else looking at this the execute scaler method doesn't quite work although I am merging the code above and the code this code taken from the good people at microsoft, which...
  11. TheVillageIdiot27

    SQL For XML Page

    My intention was to reuse the code using something like this <asp:xml runat="server" id="myid" DocumentSource="mypage.aspx?sql=EXEC myprocedure" TransformSource="xslt/mystylesheet.xsl"/> So the query string wouldn't be at the surface - I am rather assuming at the moment that this would work...
  12. TheVillageIdiot27

    SQL For XML Page

    I am currently upgrading a site from ASP classic to ASP.net (which is learning experiance for me), that relies heavily on SQL server 'FOR XML' stored procedures, which are used to create components all over the site. it is my intention to create on page which has a query string called "sql"...
  13. TheVillageIdiot27

    VB 2005 Setting Crystal Parameters

    I am trying to write a simple command line tool in VB to export crystal reports to pdfs. It's a bit of work in progress but I can't for the life of me seem to get parameters to work. an example of the command line syntax is "C:\runme.exe" /input="c:\myreport.rpt" /output="C:\test.pdf"...
  14. TheVillageIdiot27

    Passing Arguements to VB 2005 Console Application

    Cheers- thats got it working
  15. TheVillageIdiot27

    Passing Arguements to VB 2005 Console Application

    I am sure this must be quite straight forward but I can't seem to find an example on the net. I have half written a console application to export a crystal report as a pdf, but want to be able to pass the input report, output pdf, and any report parameters from a batch file so it might look...
  16. TheVillageIdiot27

    Crystal &amp; Visual Studio 2003 GAC problem

    Hi I have just started looking at Crystal with Visual Studio 2003, and played about with creating a simple a report / application with the intention of installing it around the company. However I am getting the error crysal reports engine needs to be installed in the GAC first - which I...
  17. TheVillageIdiot27

    Administrating HR Databases

    Many thanks I think thats given us the idea of how we can set it up.
  18. TheVillageIdiot27

    Administrating HR Databases

    Thanks Paul When I say the sa password is known to far to many people - that is - far to many people for the comfort of HR for this particular database. It is only known to IT, and because of the builtin\admins role noone is using it. HR want the administation rights resticted to one person...
  19. TheVillageIdiot27

    Administrating HR Databases

    We have an HR database (for third party application) which we need to keep as secure as possible from everyone including members of our IT team (a direction from our HR department). There is a thin web client which most users access though the intranet which has one SQL server login and a thick...
  20. TheVillageIdiot27

    Max File Size for File Streaming in IIS

    I have an ASP page with the following code snippet which sends a file "strDocumentPath" back to the user. Set objFile = objFSO.GetFile(strDocumentPath) Response.Clear Response.AddHeader "Content-Disposition", "attachment; filename=" & objFile.Name Response.AddHeader...

Part and Inventory Search

Back
Top