User Profile

Collapse

Profile Sidebar

Collapse
Queez
Queez
Last Activity: Mar 10 '11, 10:10 AM
Joined: Jul 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Queez
    replied to Server-Side CSS on Page Load
    My apologies, I just checked the w3 specification for the anchor (a) tag:
    Code:
    <!ELEMENT A - - (%inline;)* -(A)       -- anchor -->
    <!ATTLIST A
      %attrs;                              -- %coreattrs, %i18n, %events --
      charset     %Charset;      #IMPLIED  -- char encoding of linked resource --
      type        %ContentType;  #IMPLIED  -- advisory content type --
      name        CDATA          #IMPLIED  -- named
    ...
    See more | Go to post

    Leave a comment:


  • Queez
    started a topic Server-Side CSS on Page Load

    Server-Side CSS on Page Load

    Very quick question.

    I have a master page (M1) and three content pages (C1, C2, C3). In M1, there's a list of three anchors (A1, A2, A3) which point towards the three content pages.

    The anchors have some CSS to make them look pretty. I'd like to be able to dynamically set the CSS for A1 when I navigate to C1 so it looks slightly different to the other two (e.g. to indicate this is the currently selected item).
    ...
    See more | Go to post

  • Queez
    started a topic ASP.NET DataGridView Sorting Problem
    in .NET

    ASP.NET DataGridView Sorting Problem

    OK, this is rediculous...

    Surely, sorting should be one of the easiest things with the ASP.NET DataGridView control. I mean, there's hundreds of sites out there (Microsoft MSDN entries included) which explain and give examples of the DataGridView sorting and how to make it work...

    SO WHY CAN'T I GET IT TO WORK?! Dammit!

    Apologies for the rant. I'll try and keep it to the point from here on in:
    ...
    See more | Go to post

  • For anyone who's still interested, we have managed to find a way around this problem.

    Basically, there is a way to mark a .NET object as "safe for scripting" via the registry. We looked into implementing IObjectSafety, but because this is a legacy VB5/VB6, this didn't seem to work on our .NET assembly (although we found that solution on the internet somewhere and it seemed to have worked for others).

    However,...
    See more | Go to post

    Leave a comment:


  • Am I right in thinking that ActiveX controls cannot be written in .NET? I have a feeling my company is trying to move forward with new technology (at any cost...), so this idea would not go down well with them! Surely there must be a way of doing this without using ActiveX controls?...
    See more | Go to post

    Leave a comment:


  • Thanks Frinavale. That's another option for the user that we've already implemented, but the product has to be able to do everything the thick-client predecessor was able to do (one of which was interface directly with their scanner), so we have to be able to offer both options.

    Thankfully, the upload system is working fine, so the customer is currently using that option as a workaround until this scanning stuff is sorted!
    ...
    See more | Go to post

    Leave a comment:


  • Hey man, you were right.

    I've done a full experiment to try and determine if any of the IE settings would affect the way the assembly is downloaded or run, and it turns out .NET assemblies can be prevented from being downloaded using the ActiveX security settings.

    Interestingly, the final solution is to ensure the following setting is switched on:

    NET Framework-reliant components
    Run components not signed
    ...
    See more | Go to post

    Leave a comment:


  • Plater, thanks for your reply. I am aware of the .NET Framework security settings, so I have an MSI which is rolled out to each client machine. The MSI, when run, sets up the .NET security settings on that machine to allow my particular signed assembly to run under "Full Trust", so that shouldn't be a problem.

    The client machines only have IE, never Firefox or any other browser, so that's not an issue.

    In...
    See more | Go to post

    Leave a comment:


  • What could prevent a user from downloading a .NET assembly embedded in a web page?

    I have a .NET assembly (ScanControl.dl l), which accesses a scanner on my client's local machine and allows them to scan a page (Scan()).

    I have an ASP.NET web application with a page which will (theoretically) use this control to allow a user to scan a page into my database (Scan.aspx).

    I serve the control as an object on the page, like so:

    Code:
    <object id="scanningObj" height="300px"
    ...
    See more | Go to post

  • Queez
    replied to ASP.NET Repeater and Input Button issue
    in .NET
    Nathan,

    Thanks for your swift and concise response. Am I right in thinking that, using the suggested method, I won't need to use any <%#DataBinder.E val... %> sections in my aspx files? I always did think using the <%..%> tags was a bit ASP classic!

    Thanks again.

    ~ Q
    See more | Go to post

    Leave a comment:


  • Queez
    started a topic ASP.NET Repeater and Input Button issue
    in .NET

    ASP.NET Repeater and Input Button issue

    I have an issue with an ASP repeater which is seriously frustrating me.

    In simple terms, I have an ASP repeater which is meant to display a list of items for a wedding list, including the name of the item, how many are available and a button to take the user to a "purchase" form where they select how many they wish to purchase. Once they're done, the page is reloaded and the new "number available" is displayed....
    See more | Go to post

  • Queez
    replied to Conditional Formatting inside Repeater
    Hi, I'm surprised no-one's answered you in a whole year. You've probably worked something out or given up by now!

    Anyway, I had a similar problem recently and thought I should share my solution. It may be the wrong way to go about it, but it worked.

    Basically, I added a few extra columns to my dataset, having populated it with my data from the DB:

    Code:
    ds.Tables(0).Columns.Add("NewColumnName")
    ...
    See more | Go to post

    Leave a comment:


  • Queez
    started a topic Logs for Component Services

    Logs for Component Services

    Morning, I've had a look round for logs for Component Services and can't seem to find any. I've looked in the Windows Event Viewer, which is where I'd expect them to be, but there are none.

    Are there any logs for Component Services, and if so where are they stored?

    Thanks in advance,

    Q
    See more | Go to post

  • Queez
    replied to Determining a file's MIME type using VB.NET
    in .NET
    Thanks Nistrum, that looks like it would work. In the end though, I've used a user-maintainable list of acceptable file types. This allows an administrator of the system to limit the types of file available to upload and thus gives the administrators much more control. If they wish to be able to add a new file type, all they gotta do is add it to the list.

    I did find the location in the system registry where it would be possible...
    See more | Go to post

    Leave a comment:


  • Queez
    replied to "Optional" Array Parameters
    Hehe, sorry for my slow response. I actually never figured it out and had to use an alternative method. The alternative method involved re-thinking what I was doing, but it was actually much neater in the end.



    Thanks Cugone, I wasn't aware of the ParamArray special command....
    See more | Go to post

    Leave a comment:


  • Queez
    replied to Determining a file's MIME type using VB.NET
    in .NET
    Haha, I was really hoping you weren't going to say that.

    I guess when you call the HttpPostedFile. ContentType property, ASP.NET must have some kind of built-in MIME type lookup table, I was hoping there was another way to access this.

    I suppose there may be some way of fooling ASP.NET into using the HttpPostedFile class, as this would make everything much easier. I'm going to try adding my file into the HttpFileCollect ion...
    See more | Go to post
    Last edited by Queez; Oct 2 '07, 01:26 PM. Reason: Wroooong (HttpPostedFileCollection should be HttpFileCollection)

    Leave a comment:


  • Queez
    started a topic Determining a file's MIME type using VB.NET
    in .NET

    Determining a file's MIME type using VB.NET

    Afternoon,

    I've spent all morning trawling the net looking for an answer to this. In the end, I've had to resort to good old fashioned asking.

    How do you determine a file's MIME type using VB.NET?

    The problem is:
    - I have an ASP.NET web application
    - I can display a list of all files in a directory on the server (it's a "directory share" for a scanner)
    - I want the user...
    See more | Go to post

  • Queez
    replied to "Optional" Array Parameters
    Sorry, I think it was me being silly.
    See more | Go to post

    Leave a comment:


  • Queez
    started a topic "Optional" Array Parameters

    "Optional" Array Parameters

    I've had a good look around and no-one seems to have mentioned this, which leads me to believe that I may be missing something simple.

    Basically, is there a way I can do the following, and if so, how?:

    Code:
    Sub ResolveArrays(ByVal array1() As String, ByVal valueX As String, _
      Optional ByVal array2() As String = {""}, Optional ByVal retry As Boolean = False)
        [I]' Code to take array1 and compare each[/]
    ...
    See more | Go to post

  • Queez
    replied to CSS Min-Width Headache
    So min-width IS supported by IE7? Ok, thanks I'll give it a go.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...