Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
G

Gary Hyslop at home

@Gary Hyslop at home
About
Posts
26
Topics
22
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ASP.NET v.2 code behind
    G Gary Hyslop at home

    My basic problem is that one of my buttons, that used to work in the 1.1 version no longer works after the application was converted to 2.0. By that I mean that that the OnClick event doesn't fire. In 1.1 the probable culprit would be a missing "wireup" in InitializeComponent. Now the only reference to the button control that I control appears to be the one in the "html" in the aspx page. Would it help to delete this reference and re-create it? According to what you say it wouldn't appear to matter whether I used an editor or the designer to do this. jsaybrook

    ASP.NET csharp asp-net help question

  • ASP.NET v.2 code behind
    G Gary Hyslop at home

    After converting my first ASP.NET 1.1 project to 2.0, I discovered that one of my button's onclick handler wasn't working. I then proceeded to inspect the InitializeComponent code to find that it was empty. Also there was no declartion of the button control -- or any other control present. Where does ASP.NET v2.0 put this code? Also, is there any way of fixing my problem in code or do I have to delete the button and re-create it so that ASP.NET v2.0 can do it's "under the hood" stuff right? JSaybrook

    ASP.NET csharp asp-net help question

  • Status bar
    G Gary Hyslop at home

    I am implementing a status bar by having the server periodically update an htm file which is requested by the client at regular intervals during a computational intensive server process. When the process is complete (100%), the server deletes the file. It is my intention that the JavaScript on the client detect that the url it sends to the server is invalid and NOT open a window with an error message in it. In other words when the status reaches 100% the status window should disappear. Also the status window should not appear until the server creates the progress file. Gary Hyslop

    ASP.NET javascript sysadmin help announcement

  • Checkboxes embedded in a data grid
    G Gary Hyslop at home

    I have a web pages containing a DataGrid control. There are several asp check boxes defined in one of the template columns. I wish to control which checkboxes are checked by disabling some when others are checked. I need to capture an event when a check box is checked or unchecked. When checkboxes are defined directly in a web page the AutoPostBack=true provides such an event. This doesn't work in this situation. Any ideas? Gary Hyslop

    ASP.NET css hardware question

  • Using Response.Write in Page_Load handler
    G Gary Hyslop at home

    I wish to construct a dynamic table by using Response.Write in the code behind (Page_Load) to construct an HTML table. When the page is rendered, it looks somewhat OK except that "View Source" reveals that the dynamic HTML is at the top PRECEDING the DOCTYPE line. How can I place the dynamic HTML table where I want it - between the form tags?

    ASP.NET question html

  • Horizontal Scroll Bars in a ListBox Web Contol
    G Gary Hyslop at home

    I have an asp ListBox in an HTML table with width=100%. If a list item's text property is set to a long text value that cannot be displayed in its entirety in the extent of the list box, I want a horizontal scroll bar to appear to provide the ability to see all of the entry. My code behind language is C# but a VB.NET solution would probably suffice. In other words, I'm looking for a Win Forms analogue of lb.HorizontalScrollBar = true; etc. Gary Hyslop

    ASP.NET csharp html

  • Application Deployment
    G Gary Hyslop at home

    My ASP.NET app works fine on the Test Server. When copied to the production server it fails immediately with a generic error screen that suggests adding the tag to the web.config which is already there in order to see a meaningful error message. I inserted code in the ApplicationStart event handler in global.asax.cs that executes in test but not on the production server despite forcing the event to fire by copying a new dll to the bin directory. Any clues ... ? Gary Hyslop

    ASP.NET sysadmin csharp asp-net help question

  • What to do with dependent assemblies when using a COM wrapper.
    G Gary Hyslop at home

    I would be happy to deploy everything in the same directory. The problem is that I don't know which directory use. The main DLL (DLL_1), and the only one whose classes I wish to expose, has been registered by REGASM and is accessible to unmanaged code. Not being a "second generation" MS programmer, I don't know much about the registry -- except that the methods exposed by DLL_1 are visible using regedit -- but not DLL_1's physical location. I have placed copies of the other DLLs in various places (e.g. a) the bin directory of DLL_1's project and b) the directory that contains the copy of DLL_1 that was "REGASMed") without success. Any help making up for my generation2 deficiencies (Gen 2 > DOS and < .NET) would be greatly appreciated. By the way, do you think it will take ten years for Generation 2 to die? (I wrote DOS code in early 2003 and Generation 2 started in 1993). Gary Hyslop

    .NET (Core and Framework) question csharp com

  • What to do with dependent assemblies when using a COM wrapper.
    G Gary Hyslop at home

    I have created a COM object by wrappiing a .NET assembly using tlbexp. This assembly is dependent on another assembly which, in turn, is dependent on two third party assemblies (I can't rebuild them and give them "strong names"). How can I deploy these dependent assemblies (DLLs)so that the COM object will work? Gary Hyslop

    .NET (Core and Framework) question csharp com

  • Web Documnetation pages generated by VS 2003
    G Gary Hyslop at home

    When I use the "Build Comment Web Pages" on the Tools Menu of VS.NET 2003, the following type of HTML comment is generated at the top of every HTM file "" I have recently installed Service Pack 2 of Windows XP. Now when the above comment is detetected by IE6, the Internet Zone is considered to be "Restricted" instead of Local Machine. I have tried changing the security level for Restricted sites with the Internet Options of the Control Panel. This generated an error and the setting remained high. The ideal would be for the comments to be ignored so that the site would be considered local (I didn't get any help from the c# side about retarding the comments). There are too many pages to delete them all. HOW CAN I GET AROUND THIS?

    Web Development csharp help question html visual-studio

  • Web Page Comments
    G Gary Hyslop at home

    I was previously told by one of the "guru's" of this site that this was not a c# issue. That is not correct because C# is the only language that supports Web Page Comments. When I use the "Build Comment Web Pages" on the Tools MEnu of VS.NET 2003, the following type of HTML comment is generated at the top of every HTM file "" I have recently installed Service Pack 2 of Windows XP. Now when the above comment is detetected by IE6, the Internet Zone is considered to be "Restricted" instead of Local Machine. HOW CAN I GET AROUND THIS? Correcting the problem from the XP side is complicated and, as yet, I don't understand it. Thanks for your help, Gary Hyslop

    C# help csharp question html visual-studio

  • Generating HTML Doc with VS 2003
    G Gary Hyslop at home

    When generating HTM files with the "Build Comment Web Pages" option the output belongs to the "restricted zone" class. I was able to render these files with IE6 until I installed Service Pack 2 of Win XP. Is there any way of changing the settings within VS Studio 2003 to generate HTM files that are not considered "Restricted Zone" files rather than having to change the way XP handles Restricted Zone files? Gary Hyslop

    Visual Studio html visual-studio question

  • cref not displayed when Build Comment Web Pages VS Studi tool used
    G Gary Hyslop at home

    The following is an exerpt of the HTML produced by the "Build Comment Web Pages" tool in VS Studio.NET 2003: ZedGraph.CurveItem ... This class contains the data and methods for an individual curve within a graph pane. It carries the settings for the curve including the key and item names, colors, symbols and sizes, linetypes, etc.

    The array of independent (X Axis) values that define this . The size of this array determines the number of points that are plotted. Note that values defined as System.Double.MaxValue are considered "missing" values, and are not plotted. The curve will have a break at these points to indicate values are missing.

    When I display this HTML with my IE6 browser the "" tag is not rendered. Thanks for your help Gary Hyslop

    XML / XSL csharp html visual-studio xml question

  • cref not displayed when Build Comment Web Pages VS Studi tool used
    G Gary Hyslop at home

    I am making XML comments with the Build Comment Web Pages tool is VS Studio .NET 2003. When a tag is used it appears in the HTML created by the tool in the xxx.html file but is not rendered by my IE6 browser.| Any clues? ... Gary Hyslop

    XML / XSL csharp html visual-studio xml question

  • &quot;see&quot; tag not rendered
    G Gary Hyslop at home

    I am writing HTML documentation for a C# project. When I include in the documentation it is rendered exactly that way in the HTLM generated by Visual Studio 2003 "Build Comment Web Pages ..." on the Tools menu. However it is not rendered at all by my IE 6 browser. Anyone have a clue about this? Gary Hyslop

    C# csharp html visual-studio tools question

  • Passing parameters between Java Script and C#
    G Gary Hyslop at home

    It seems that is what is needed is that code in the classic ASP server process needs to call the method in my .NET dll. The literature refers to the process whereby a COM object invokes a method in a .NET assembly which has been duly registered using REGASM. I have no experience with pre- ASP.NET web development. I haven't seen any of their server side code but I know it is written in lightwieght languages (e.g. VBScript or at best VB v.6). Exactly what would I have to provide in their classic ASP server space to allow them to call my method with parameters they have obtained from their "client-side" JavaScript? I should not be necessary that an ASPNET server process be running when the call is made -- just that my dll be duly regsisterd. Gary Hyslop

    ASP.NET csharp java tools question

  • Passing parameters between Java Script and C#
    G Gary Hyslop at home

    I have written a mathematical application in C# that I wish to be made available to a classic ASP application that relies heavily on client side Java Script. The concept of my application is that of a proprietary web service. It appears now that the client side Java Script in the ASP application must pass two parameters to my application. Does anyone have an idea of the easiest way to do this? Gary Hyslop

    ASP.NET csharp java tools question

  • Session object
    G Gary Hyslop at home

    I used the Session object to perseve state in an application that ran stand alone on my development machine. The main applioation on the server is ASP (rather than ASP.NET). My ASP.NET application runs independently and is invoked through a link in the ASP application. When I install it on the server I cannot retrieve the objects from the Session object. Ciukd there be a conflick between the ASP Session object and the ASP.NET session object? Gary Hyslop

    ASP.NET csharp asp-net sysadmin question

  • Session ID
    G Gary Hyslop at home

    In ASP.NET I am identifying sessions by incrementing a counter in a global class, which is initialized to 0. The Page Load code increments the counter inside a !IsPostBack conditional. There is Response.Write at the end of the conditional block that displays the counter on the page. Most of the time it works fine and each session has its unique ID. Under some circumstances "0" is displayed when the page is first accessed. There is only one link that is used to request the page. This is a controlled test environment. Can anyone conjecture on how the IsPostBack event can fire upon the initial page request? The code: private void Page_Load ... { if (!IsPostBack) { ++Global.session_id; ... } Response.Write("Global.session_id.ToString()); | Gary Hyslop

    ASP.NET csharp asp-net question workspace

  • Obtaining IIS 5 Snap In
    G Gary Hyslop at home

    After purchasing and installing Win 2000 Professional and VS .NET Studio 2002 Academic some time ago, I was able to create Web projects as long as they were placed in thec:\Inetpub\wwwroot directory (i.e. a mapping existed between that directory and the url http://localhost). I was never able to install the IIS 5 Snap In from Win 2000 Professional so I never was able to configure other virtual directories. Recently, I converted my file system to NTFS as a prelim to upgrading to VS Studio .NET 2003 Professional. After the conversion I cannot run or create Web apps with VS .NET Studio 2002 because the mapping with the "default website" does not exist. Does anyone know a way arround this short of dealing with MS Support? Gary at home

    ASP.NET csharp visual-studio windows-admin question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups