User Profile

Collapse

Profile Sidebar

Collapse
progman417
progman417
Last Activity: Nov 21 '08, 09:20 PM
Joined: Mar 28 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Has anyone made money from releasing their shareware as open source?

    My Shareware program (or rather Commerical Program with a time limited demo) used to have sales of around $2,000 per month around 2002, but then I got busy at work and didn't have time to maintain it, so sales dwindled off to about $200 a month or less. I still get the odd sale now and again.

    Recently whilst looking for a job I've spent months updating the software and I believe it's better than the competition, but after 2 months...
    See more | Go to post

  • How to call a containg event handler in GridView RowCommand event?

    Hello,

    I've got a Web User Control containing a gridview with a "select record" button on each row.

    When the user clicks the button I want to call an event handler in the main page.

    My problem is that the event handler hasn't been set when I check it in the GridView RowCommand event, i.e.

    if (btnSelectRecor dHandler != null) ...

    It's still null in the RowCommand...
    See more | Go to post

  • How to bind without reflection (EVAL) in GridView?

    Hello,

    In ASP.Net 3.5 unleashed, it states that EVAL is inefficient in template columns as it uses reflection (30% less efficient I read on one blog).

    Their suggested alternative is the following syntax:

    replace: Eval("Title")

    with: ((System.Data.D ataRowView)Cont ainer.DataItem)["Title"]

    Looks simple enough, but it barfs with:

    "Unable...
    See more | Go to post

  • progman417
    replied to HTML Editor that works on UpdatePanel?
    in .NET
    obout do quite a nice one that works really well, but it's expensive for what I want to use it for. In the end I plumped for FCK editor which so far seems to work well.
    See more | Go to post

    Leave a comment:


  • Not sure what was causing it, but now it's working fine!
    See more | Go to post

    Leave a comment:


  • Thanks, that did the trick!
    See more | Go to post

    Leave a comment:


  • progman417
    started a topic HTML Editor that works on UpdatePanel?
    in .NET

    HTML Editor that works on UpdatePanel?

    I'm looking for an HTML Editor that works "out the box" on the update panel without permission errors or hacks!

    All I need is something simple - in fact something like the one on this page (when you hit "post question").

    I've tried dozens of demos but none of them work.

    Anyone know of one?
    See more | Go to post

  • progman417
    started a topic Regex Problem with Database Data (Unicode?)
    in .NET

    Regex Problem with Database Data (Unicode?)

    Hello,

    I'm using the following Rexex function to strip HTML tags from text:

    return Regex.Replace(t ext, "<.*?>", String.Empty);

    If I set text manually to something like "<b>test</b>" then it correctly returns "test".

    But ... if I have a field in the database with the same input value, it returns it unmodified.

    I'm guessing...
    See more | Go to post

  • progman417
    started a topic How to widen dropdown list column in GridView?
    in .NET

    How to widen dropdown list column in GridView?

    I have a gridview with a dropdown list in an EditItemTemplat e.

    I haven't set a width for the columns, so that they dynamically size according to the data displayed.

    When it goes into edit mode I want to make the dropdown lists a bit wider to allow for the width of the arrow, and widen the column accordingly.

    If I set the width of the dropdown list to a fixed unit such as 300px; then it widens the...
    See more | Go to post

  • How to position 2 items in a table cell using CSS?

    I'm translating one of my old ASP apps into ASP.Net and am having a bit of a problem with something that looks like it should be really easy!

    In the header row of a table, I want the name of the column and an image showing the sort direction - no problem so far!

    The problems started when I tried to right align the image.

    In the old ASP version, I created a table in the cell with 1 row / 2 cols set...
    See more | Go to post

  • progman417
    replied to Problem with OnTextChanged event (Newbie)
    in .NET
    Thanks balablaster,

    I decided to use the OnFocus event in the end - if someone has clicked into the field there's a fair chance they are going to change the value.

    The code I've used is:

    Code:
    txtValue.Attributes.Add("onFocus", "var pG = document.getElementById('panGrid'); if (pG) {pG.style.display='none'}; var tx = document.getElementById('txtHidePanel'); if (tx) {tx.value='1'}; ");
    ...
    See more | Go to post

    Leave a comment:


  • progman417
    replied to Problem with OnTextChanged event (Newbie)
    in .NET
    Thanks for the idea, I had a quick look at the Ajax demos but I couldn't find anything that would do the trick (maybe I've not installed them all?)

    I tried putting the grid on a seperate update panel and having a button that hides the panel, then using __dopostback passing it the clientid of the button. It almost worked, but it threw a security warning about postbacks should only be triggered by server generated controls. Apparently...
    See more | Go to post

    Leave a comment:


  • progman417
    started a topic Problem with OnTextChanged event (Newbie)
    in .NET

    Problem with OnTextChanged event (Newbie)

    I'm building my first little application in .net (C# - framework 3.5).

    So far, I've built a search page where the user enters values into text boxes, clicks a button and it displays a grid of results. I'm using an updatepanel to prevent full postbacks. All ok so far!

    When the user changes a value in one of the text boxes, I'm using the OnTextChanged event to hide the grid panel until they hit the button to view....
    See more | Go to post
No activity results to display
Show More
Working...