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
M

MacIntyre

@MacIntyre
About
Posts
72
Topics
24
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Hiding values on page
    M MacIntyre

    Good solution except manager says no to cookies.... Thanks..

    ASP.NET question javascript css database help

  • Hiding values on page
    M MacIntyre

    I populate the aspx page from the database and gridview that is selected. Not all data is editable so some items are not used to populate the editable page. Alas, there in lies the crux of the problem. I need one of the values from the selected row in the grid to be held for later use in a client side javascript. My client does not want to see it on the aspx page. My programming partner initially put it in a textbox.visible = false. Appearently that 'invisible' field is also invisible to javascript. Other developers in the past have hinted at 'hiding' values on the aspx page. How do I do that? Thanks in advance.. chuck.

    ASP.NET question javascript css database help

  • How to find the row in the gridview that was selected
    M MacIntyre

    I have a gridview of employee jobs. One job row gets selected and some items from the row and some items from the database populate a space below the Gridview on an aspx page. total hours is in the gridview row. The user enters the payrate into one of the fields on the aspx page. user enters another field for overtime rate. There is a DropdownList that has hourly and Hourly+. Stakeholder does not want the total hours displayed below the gridview. After the amounts are entered the operator selects from the dropdownlist. from a client side Javascript I need to find the row in the Gridview that was selected, get the total hours from the column of that row, then compute the total pay. The problem is I don't know how to locate the row that was selected from the Gridview. It is not the opject that is firing the current event. Can you help with a small snippet. Thanks..

    JavaScript help javascript database tutorial career

  • Get the value of the onCheckedChecked event
    M MacIntyre

    I am using a Telerik RadGrid Control. I am using Entity access to backend SQL Server I get the data from the DB Table just fine. THe onClickedChanged event is firing. The problem is I don't have a clue which of the 10 possible rows the checkbox event was envoked. The Chick is changing the visual presentation of the CheckBox (On/Off) but db.SaveChanges() is not writing the change back to the database. ASP Code follows --- then C# ----

    C# database csharp sql-server sysadmin help

  • Finding the starting PHP script
    M MacIntyre

    Thanks..

    Linux, Apache, MySQL, PHP csharp php tools question

  • Finding the starting PHP script
    M MacIntyre

    Do all PHP programs start with "main.php" or "index.php" or "default.php"?

    Linux, Apache, MySQL, PHP csharp php tools question

  • Finding the starting PHP script
    M MacIntyre

    Luc, Nice article. The problem is not recognising the PHP code or being able to read the code. The problem is that I have several hundred PHP files. Which one is the first? That starts the app running. From there I and untangle the ball of string I have for years. Where is the beginning?

    Linux, Apache, MySQL, PHP csharp php tools question

  • Finding the starting PHP script
    M MacIntyre

    I have to analyze a system written in php. I am a .NET programmer. I will be emulating the php system. I have been given a tar dump of the directory. After decompression I need to find the starting php script. What should I be looking for? I have many php scripts, but it feels like a haystack. Can someone tell me what the starting needle name should be?? Thanks in advance... Chuck..

    Linux, Apache, MySQL, PHP csharp php tools question

  • returning to same place on long page
    M MacIntyre

    Mark, Great Answer.. The only problem is the documentation on how to is a little obscure for those of use that did not go through the embedded asp wars. But as you say a little research will get to the answer. Thanks again for a great call... Chuck..

    ASP.NET csharp help question announcement

  • returning to same place on long page
    M MacIntyre

    Place the MaintainScrollPositionOnPostBack="True" statement in the Page directives at the top of the aspx page. I had to do additional searches to find how to use it. Works great for me so far in all cases.. Good luck..

    ASP.NET csharp help question announcement

  • returning to same place on long page
    M MacIntyre

    No sir. Not yet.. I was looking at the next message and inquiring? Thanks..

    ASP.NET csharp help question announcement

  • returning to same place on long page
    M MacIntyre

    So will this work with all types of returns, field changes, button clicks and changes in dropdownlists?

    ASP.NET csharp help question announcement

  • Managing a database insert failure..
    M MacIntyre

    Thanks Richard.. I'll look into these sites.. Cheers.. Chuck..

    Linux, Apache, MySQL, PHP database help php mysql sysadmin

  • Managing a database insert failure..
    M MacIntyre

    Thanks Walt..I'll probably save my money for now...

    Linux, Apache, MySQL, PHP database help php mysql sysadmin

  • returning to same place on long page
    M MacIntyre

    Ok, so we have been through that exercise and discovered that for implementing asp.net that it is not practical to do this. What is a more practical solution, remembering that this is webforms? We are talking the use of both buttons and dropdownlists and exiting from fields that have changed.. Thanks again..

    ASP.NET csharp help question announcement

  • Managing a database insert failure..
    M MacIntyre

    Walt this is great.. I really appreciate your assistance. I will look to implement this later today.. Could you answer a resource question..? I noticed a site called PHPLabs, they claim to have lots of goodies and great support for PH issues. Do you know anything about them? Thanks.. Chuck..

    Linux, Apache, MySQL, PHP database help php mysql sysadmin

  • returning to same place on long page
    M MacIntyre

    Yusuf, this looks like something that will really work for me. First I have never used anchors before so there a little be of confusion here on my part. This is an asp.net with vb.net as the code behind. So when something is changed that causes a postback then the code behind is invoked. How do I activate the anchor location so when the page is redisplayed it envokes the target anchor because there will be at least 20 anchors on each page? So just to be clear I don't have a problem with creating a hundred anchors if necessary, it is just how to activate the appropiate anchor. If for example an entry from the travel dropdownlist is selected I will need to process the selection then redisplay the page. Upon selecting the dropdownlist theI will need to know its anchor. After exceuting the AutoPostBack routine I will want to return to the anchor for that dropdownlist location. I hope I am not making this too complicated. Thanks again.. Chuck..

    ASP.NET csharp help question announcement

  • Managing a database insert failure..
    M MacIntyre

    Don't like the catch an error either. My first choice is to do as you suggested. I guess what I should be asking is does php work like the code behind asp.net where once the enter key is pressed it runs the code behind, in this case the php. If so how do I get a little message box on the screen indicating that the username has alreadu been taken and to try another one?

    Linux, Apache, MySQL, PHP database help php mysql sysadmin

  • returning to same place on long page
    M MacIntyre

    Thanks for the start.. I have 2 followup questions: 1) does that mean I have to put 'a name="[name of field]"' on every field that can be updated, including the dynamic fields? 2) how is the reference invoked upon refresh, please show code snippet? Thanks again.. Chuck..

    ASP.NET csharp help question announcement

  • Managing a database insert failure..
    M MacIntyre

    I am building a web membership site. when a new member signs up he is able the choose a username that will be used for tracking purposes, such as mike or chuck. The user name is the primary key in a MySql database. If there is already a 'chuck' in the system and a new user requests 'chuck' as a username the insert will fail, and that is OK. The php script catches the failure, the problem is that it puts an ugly message on the screen and break the process. I could change the message but that does not solve the problem. What I want is a nice little dialog box that says that another name or name not available and redisplay the original signup screen? This is my first php program (I've been writing code for more than 30 years). So I need to know how to return to the base application so the user and enter a different username. Here is a code snippet of the error location where I would like to make the appropiate change: if(!mysql_query('INSERT INTO `' . CC_FB_DB_TABLE . '` SET ' . $query . "`created_at` = NOW()", $link)) { printMessage('Unable to Insert Into Database Table.', "We're sorry but we were unable to insert the form results " . 'into your database table. Please be sure that you have ' . 'the proper permissions to insert data into the ' . CC_FB_DB_TABLE . ' table. If you are still experiencing ' . 'trouble, please contact your server administrator.'); } ***************** Thanks for your assistance in advance... Chuck

    Linux, Apache, MySQL, PHP database help php mysql 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