Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: zma
  • Content: Threads
  • Order by date
  1. zma

    determining if a listbox item is picked

    On page_load I am filling a listbox by looping through a dataset, LISTBOX1.ITEMS.ADD(NEW ...) THe listbox fills up ok. On a button click I'm looping through it and checking which rows have been highlighted using IF LISTBOX1.ITEMS(I).SELECTED=TRUE ...END IF. It is always evaluating to false no...
  2. zma

    getting dropdownlist value changed in client side seen in code behind

    Hello, DropDownList2's item values are assigned on the client side with javascript. THis is so they can depend on the item values of DropDownList1 without involving the server. WHen a button is clicked to submit the form, a query is run in the code behind using values from DropDownList2 and I...
  3. zma

    dropdownlist not showing value stored

    THIS IS HOW DROPDOWNLIST1 IS SET UP. THERE ARE 2 LISTITEMS THAT ARE PUT IN THAT ARE NOT FROM SQLDATASOURCE1, "" AT THE TOP AND "aa" JUST BELOW THAT. <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="ds1" DataTextField="code" DataValueField="code"...
  4. zma

    passing a value

    I am passing a value from an aspx to an ascx like this. It is inside a gridview. ---------------------------------------------- <prefix1:name1 TestData='<%#eval("demid")%>' ID="ctrlTester1" runat="server" /> ---------------------------------------------- At the top of the ascx is this...
  5. zma

    can a button call a vb function onclick

    I have form tags in a master page. In some place holders I have aspx files which have textboxes, dropdowns, and buttons and everything works-like they inherit the form tags from the master page. In ascx files, buttons do not seem to inherit the master page form tags-I get an error saying the...
  6. zma

    programatically putting a user control into a content place holder

    I am trying to put user controls in a placeholder when a buttonfield column in a gridview is clicked and runs a command. Right now, I am doing this. <asp:content id="Content3" contentplaceholderid="place3" runat="server"> <% if dropdownlist1.selecteditem.value="tbldem" then %>...
  7. zma

    Input string was not in a correct format. error

    Trying to fill Detailsview1 based on the column idmain in Gridview1. The tables involved both have a field called demid (same as alias idmain) which is an integer value uniquely identifying each record in a demographic table. Other records in different tables associated with a particular...
  8. zma

    master pages-controls disappearing

    I HAVE A MASTER PAGE CALLED TRY1.MASTER THAT CALLS THE PAGE PAT.ASPX THAT GOES IN THE PLACEHOLDER "FLOWERTEXT". PAT.ASPX CALLS MIDDLE.ASPX THAT GOES IN THE PLACEHOLDER "NEXTPLACE". WHEN IT DOES THIS, THE CONTROLS IN PAT.ASPX DISAPPEAR. HOW CAN I KEEP THEM FROM DISAPPEARING...
  9. zma

    dropdownlist databind

    I am a beginner at asp.net. Here I have put data from a table into a dropdown list. I have only been able to get the leftmost column in the query to show. How can other columns be shown without combined them into 1 column like in the column r? For example, how can I include dxid? Thanks. <%...
  10. zma

    stored procedure

    Having problems with my 1st stored procedure. We have ColdFusion MX6.1 and SQL server 2005. The server administrator says my login has all permissions. ---------getting this error [Macromedia][SQLServer JDBC Driver][SQLServer]EXECUTE permission denied on object 'try1', database 'MED_ESTEPS'...
  11. zma

    cftry,cfcatch

    I'm trying to learn error handling in ColdFusion and am having a problem not being able to catch a what the default error handler calls an "invalid CFML construct" with cfcatch. This example has a ] missing in the loop. I was hoping cfcatch with type="any" would get it. What am I doing wrong...
  12. zma

    checking insert query worked

    Is there a ColdFusion feature that shows whether or not an INSERT query worked? Right now I'm using SELECT queries after the INSERTs to make sure records got appended-I look up what just got added to make sure it's there. Is there a better way? Thank you very much.
  13. zma

    application variables disappearing

    Once or twice a month, ColdFusion says our application variables (arrays) are undefined. Sometimes they are defined but will only have a null string or blank in the first array position and that is all. We are able to fix this when it happens but would like to prevent it. Does anyone have any...

Part and Inventory Search

Back
Top