Search results for query: *

  1. B

    Question Word Document Report

    Hi Does anybody have any code which opens a word document populates a bookmark with some text and then closes the process. Kind Regards BH
  2. B

    Can't export to PDF

    Hi I can't export a datagrid to pdf, I keep getting the following error: dobe reader could not open filename[1].pdf because it is either not a supported file type or because the file has been damaged I'm using VS2008 and here is my code: Dim dtaFinal As New DataGrid()...
  3. B

    Exporting data to XL

    Hi How can I export data from in a data grid to XL or word. I found this code but it just opens a blank XL sheet: Response.Clear() Response.AddHeader("content-disposition", "attachment;filename=FileName.xls") Response.Charset = "" Response.Cache.SetCacheability(HttpCacheability.NoCache)...
  4. B

    popup calendar problem

    In VS2003 I used to use the code below in a td in an ascx page and it would open a popup window which was a calendar: <td valign="middle" align="left" width="20%"><asp:HyperLink ID="fDateRequired_Calender" runat="server" ImageUrl="../images/icon-calendar.gif"...
  5. B

    Using Height Percentage in HTML Tables VS2008

    Hi I'm using VS2008 and I've been trying to find a way to use height in a table = 100%, but it only seems to work in pxls. <style type="text/css"> .style1 { width: 100%; height: 750px; } </style> how can I get a <tr> or a...
  6. B

    URL Problem

    Hi I'm using VS2008 I have a problem where the below URL works in my app on my PC but not when I deploy the app on the server. lTransferURL = "/Menus/mainmenu.aspx" Kind Regards Bill Humphrey
  7. B

    Problem with web.config when deploy to server

    Hi I'm using VS2008 When I create an MSI file from my wbapp on my PC and deploy it on the sever the folling code gets changed in my web.config: FROM: <httpHandlers> <remove verb="*" path="*.asmx"/> To: <httpHandlers> <re?ove verb="*" path="*.asmx"/> I get a character...
  8. B

    This SqlTransaction has completed; it is no longer usable

    I get this intermittent error when running a stored procedure sometimes: This SqlTransaction has completed; it is no longer usable. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error...
  9. B

    Formatting Cells in an asp DataGrid

    How can I make a column of data in an asp datagrid bold? Division North South West Also how can I make a specific cell's text red depending on the value of the cell If below 75% then text = red Division Value North 76% South 65% West 79% I'm using VS2003 asp datagrids Kind...
  10. B

    Imports Error Help!

    Hi I have a business and data vb class library and an asp .net pesentation layer. I have imported an ascx page into a folder in my presentation layer and I get the following error message from the imports: "namespace or type specified in the imports OperationsPerformanceBusiness does not...
  11. B

    problem seeing components in my vb classes

    Hi when I try to refrerence a method or a variable from a VB class in my business layer in an ascx page in my presentation layer I'm not seeing the components. I'm using VS2005 asp .net I am working on a new project which has three layers: Business layer (VB Class Library) Data layer (VB...
  12. B

    Navigating Back to a MultiView Panel

    Hi I have three panels in multiview, MultiView1.SetActiveView(View1) is the default panel. If I navigate to an aspx page from panel 2 or 3, how do I navigate back to 2 or 3 via a back button My Back Button Code Private Sub fBTNGoBack_Click(ByVal sender As System.Object, ByVal e As...
  13. B

    problem with buttons on a datagrid

    Hi I'm using VS2005 I have three controls embedded in a page using MultiView one of the controls is a dynamic datagrid with create, edit and delete buttons when I click on one of the buttons, the following method should be activated but it is not: Public Sub MaintainImaging_Click(ByVal...
  14. B

    Getting the web controls to work in VS2005

    I have used this how to, to get the web controls working in VS2005: Getting the IE Webcontrols work in ASP.NET 2.0 while using Visual Studio 2005 Here is my web.config: <configSections> <section name="MicrosoftWebControls"...
  15. B

    Datagrid button does not work in VS2005

    This code used to work in VS2003 but does not work in VS2005: \\\\ This button is embedded in the datagrid and when clicked on would take a user to a new record page: <HeaderTemplate> <asp:imagebutton toolTip="Add Patient Image" runat="server" imageurl="../images/icon_add.gif"...
  16. B

    Problem with pageview and navigation

    Hi I have a container aspx page which uses PageView to display 3 controls on seperate pages. One of the controls is a datagrid which das buttons on the side to view a record in a separate aspx page & Control. When I click on the button I get the error below. I have tried putting this code...
  17. B

    problem with pageview in web controls

    Hi I've migrated a VS2003 project to 2005 and I'm getting an error with the PageView element in the HTML: Element PageView is not a known element Can I get round this? Regards BH
  18. B

    send email vs 2005

    I've upgraded a VS2003 web app to VS 2005, this is the code I used to use to send email for 2003. I'm not sure how to convert this to send email in 2005 can anyone help? email.To = "MyValidEmailAddress" email.From = "UsersValidEmailAddress" email.Body = "A body of text" email.Subject = "A...
  19. B

    References in VS 2005

    In VS 2005 why cant you see a references folder in the web site and also a bin folder. I can add a bin folder but not a references folder. When adding a reference do you add it to the layer or to the bin? Regards BH
  20. B

    User.Identity.Name VS 2005

    Hi I've migrated a project from Visual Studio 2003 to 2005 and now the following code does not pick up a users identity from the browser: If Trim(User.Identity.Name) = "" Then Return End If When I'm logged into my PC I should get my network username but the cose is returning "". Regards BH
Back
Top