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
R

Richard Blythe

@Richard Blythe
About
Posts
287
Topics
88
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Using Uploadify In Custom Server Control
    R Richard Blythe

    I'm developing an Asp.Net image placeholder control. When the user hovers the mouse over the image, a toolbar fades in at the top and give the user the option to: upload a different image, change the comments for the image, or revert back to the default avatar. I've based the upload control on Uploadify. Everything about this control is working great except one problem. Explanation: When the image is first loaded on the page, the embedded toolbar's css sets the display to: none. Once the user hovers over the image, the toolbar containing the Uploadify control is faded in using jQuery: '.fadeIn()'. After the upload, on the onAllComplete event, the toolbar is faded out using jQuery: 'fadeOut()', Problem: Uploadify does not perform uploads after the first initial upload "when the .fadeOut() method is called on the the toolbar! If the container remains visible, uploads execute just fine. By the way, the .fadeIn(), .fadeOut() methods can be called "before" any uploads, and there is no error. The culprit seems to be the "post upload" .fadeOut() method. Can anyone help with this issue? I can simply embed the toolbar as a permanent fixture to the image placeholder, but it has a much more professional appeal with the fade effects. Here some bare bones code that will re-create the problem:

    //------------ HTML Header Code -----------------------------

    <script src="jquery-1.6.2.js" type="text/javascript"></script>
    <script src="jquery.uploadify.v2.1.4.min.js" type="text/javascript"></script>
    <script src="swfobject.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    $('#file_upload').uploadify({
    'uploader': '/uploadify.swf',
    'script': '/Handler1.ashx',
    'folder': '/uploads',
    'onAllComplete': function() {
    if (window.frozenImageEditorToolBar) {
    $(window.frozenImageEditorToolBar).removeAttr('freeze'); $(window.frozenImageEditorToolBar).fadeOut();
    window.frozenImageEditorToolBar = false;
    }
    }
    });

    $('#container').mouseenter(function() {
    $('#toolbar').fadeIn();
    });
    $('#container').mouseleave(function() {
    if (!$('#toolbar').hasAttr('freeze'))

    ASP.NET help javascript csharp html css

  • Repeater Control - formatting columns problem
    R Richard Blythe

    I'm using a Repeater to display a list of events. Here's a stripped down version of the code:

    <asp:Repeater ID="rptEvents" runat="server">
    <ItemTemplate>
    <table style="width: 100%" border="1">
    <tr>
    <td style="width: 180px; white-space: nowrap;">
    <img align="middle" alt="Events" src="images/thumbnail.png" style="width: 50px; height: 51px" />
    <asp:Label ID="lblEventName" runat="server"></asp:Label>
    </td>
    <td>
    <asp:Label ID="lblDescription" runat="server"></asp:Label>
    </td>
    </tr>
    </table>
    </ItemTemplate>
    </asp:Repeater>

    Notice that the first column has been set to "white-space: nowrap" so that longer event names will push the column to be wider. Here's some sample html that the Repeater would generate:

    <table style="width: 100%" border="1">
    <tr>
    <td style="width: 100px; white-space: nowrap;">
    <img align="middle" alt="Events" src="thumbnail.png" />
    <span id="rptEvents_ctl00_lblEventName">New Products Overview</span>
    </td>
    <td>
    <span id="rptEvents_ctl00_lblDescription">Showcases the new products the will be released this year.</span>
    </td>
    </tr>
    </table>

    <table style="width: 100%" border="1">
    <tr>
    <td style="width: 100px; white-space: nowrap;">
    <img align="middle" alt="Events" src="thumbnail.png" />
    <span id="rptEvents_ctl01_lblEventName">Supervisor Planning Meeting</span>
    </td>
    <td>
    <span id="rptEvents_ctl01_lblDescription">All supervisors must be present.</span>
    </td>
    </tr>
    </table>

    <table style="width: 100%" border="1">
    <tr>
    <td style="width: 100px; white-space: nowrap;">
    <img align="middle" alt="Events" src="thumbnail.png" />
    <span id="rptEvents_ctl02_lblEventName">Holiday Weekend</span>
    </td>
    <td>
    <span id="rptEvents_ctl02_lblDescription">The company will close for the week of Christmas.</span>
    </td>
    </tr>
    </table>

    If and when that occurs, I want the first column in each repeater item to be the same width as the column with the longest event name. How can

    ASP.NET html sysadmin help announcement

  • Login Woes
    R Richard Blythe

    A few months ago I set up a website for a minister friend of my mine. For the secure section of the website I used the standard login.aspx page with the Microsoft Login Control. The site was published to a third party host so the user login info is stored on the remote SQL Server database. Everything has performed fine for about 8 months until yesterday. He calls me and says that he can't log in! I wasn't worried and told him I would fix it today. Now I am worried! Every attempt to login or reset the password had been unsuccessful! :( I've been doing research and it appears that the LoginControl has several bugs. Here's the main question: Is there any way I can reset the user passwords using another tool? I can log into the remote server using SQL Server Management Studio. Thanks, Mr. Depressed

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    ASP.NET database question sql-server com sysadmin

  • Quiet day in here
    R Richard Blythe

    Sounds like laryngitis to me.

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge

  • Storing Time value in Access
    R Richard Blythe

    Luc Pattyn wrote:

    then by all means use a real DB and pay the price.

    I would love to use SQL Server Express but the software is being deployed with CD-ROM using InstallShield 2010 express edition. This edition cannot install SQL Server silently. (Which would be a must) At this point I can't justify the $900 upgrade cost on InstallShield so Access seems to be my best bet. :sigh:

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    Database database csharp com tools question

  • Storing Time value in Access
    R Richard Blythe

    Wow that's pretty serious! :) I certainly don't want to create a second curse by trying to eliminate the first one. Thanks for the reply.

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    Database database csharp com tools question

  • Storing Time value in Access
    R Richard Blythe

    The key word here is "store". Access has a max capacity of 2gb. DateTime types require 8 bytes for each field. Some Access developers have advocated using an int type for Date only values. This would be accomplished by storing the number of days since 1900 and using the DateAdd() function to convert the value to DateTime in the SELECT query. I ask for serious responses! :-D

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    Database database csharp com tools question

  • Storing Time value in Access
    R Richard Blythe

    Lately I've been working an C# app that stores values in an Access db. One of the fields stores a time value. (7:30 PM) Is there a more effecient way to store a time value than using the DateTime column? I will need to convert it to a DateTime value in the SELECT query. Serious answers please. :suss:

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    Database database csharp com tools question

  • Suvrey
    R Richard Blythe

    Are these files spell checked? "Suvrey" ;P Sorry Ennis, I had to do it!

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge csharp android com tools question

  • FJOTD
    R Richard Blythe

    You said it! :| I think digital man is trying to win the "most frequent posts" award.

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge com question career

  • My new word of the day [modified]
    R Richard Blythe

    ...And the pink slip that has "Fired" written across the top.

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge

  • Nikon announces the D3100
    R Richard Blythe

    I've been a lover of Nikon all my proffesional life. And frankly, I also snubbed my nose at Canon. (Notice the passed tense) Recently my sister purchased a Cannon PowerShot and I have to tell you that I was blown away! One advantage it has is the reduction of motion blur. I did some research and found that it got an average rating: "9 out of 10" on all the camera sites. What am I doing on here talking about cameras when I've got work to do? Sure I'm my own boss but I could still fire myself like Ennis Ray Lynch is about to do. (Ask him for yourself)

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge html com iot

  • My new word of the day [modified]
    R Richard Blythe

    Shouldn't this definition be apply to the programmer? On second thought, I don't know if there's a cure for idiocy. :)

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge

  • Just great
    R Richard Blythe

    Ennis Ray Lynch, Jr. wrote:

    Looking for a new job.

    I've been "looking for another job" for 6 years but I always pull out of my slump. Monday's seems to be particularly difficult because I have re-wrap my brain around the project after being away for a weekend. Here's a good survey for the rest of us: On what day of the week do you feel like quiting the most?

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge csharp android com tools help

  • how to make window form control scale with the form
    R Richard Blythe

    Scaling is not a very definitive term in this case. You need to describe what each child control is. Is this for "zomming" graphics of some sort? If so, read up on the PictureBox functionality.

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    Windows Forms csharp visual-studio tutorial

  • For first time in my professional career...
    R Richard Blythe

    Sandeep Mewara wrote:

    UPS too trips down and we lost our unsaved work

    A good lawsuit maybe? :)

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge sysadmin career

  • Are we getting smarter?
    R Richard Blythe

    :laugh:

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge question com tools

  • Are we getting smarter?
    R Richard Blythe

    You may to read this.[^]

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge question com tools

  • Are we getting smarter?
    R Richard Blythe

    Has anyone besides me noticed that the question oriented forumns have not been very active for the last few weeks? There seems to be only a handful of post each day. Now I know that a developer can advance his knowlege beyond "Hello World" but this is really strange!

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge question com tools

  • Who knew this would be hard?
    R Richard Blythe

    Sorry Ennis, No one has offered any suggestions. I bought my power house from http://www.gcworkshop.com/[^] If you visit the site, you notice that they didn't hire me to design their website. ;) Seriously, they were great to work with and they delivered a top notch PC. That was two years ago. Would recommend them to anyone.

    Be nice to your kids. They'll choose your nursing home.
    My Articles   Developer's Best Friend

    The Lounge csharp android com graphics sysadmin
  • Login

  • Don't have an account? Register

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