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 Mike Lewis 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
  • Order by date
  1. zma

    determining if a listbox item is picked

    It came up blank.
  2. zma

    determining if a listbox item is picked

    I tried listbox1.datasource=dataset1 listbox1.databind() but listbox1 appeared with "System.Data.DataRowView"s for each member of the dataset.
  3. zma

    determining if a listbox item is picked

    No. Thanks.
  4. 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...
  5. 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...
  6. 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"...
  7. 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...
  8. zma

    programatically putting a user control into a content place holder

    Just saw your post today. Gridview does not take templatecolumn so I hope templatefield is ok. Queried for 1 record displayed in grid2, found it, bound it to grid3 with the ascx in it. Am seeing ascx file! It has 1 textbox and 1 button. Hoping that ascx files can eventually act like input...
  9. zma

    programatically putting a user control into a content place holder

    On page_init, the panel populates fine, but too soon. I need to populate it when a buttonfield on a gridview is clicked. Which ascx goes in the panel depends on a dropdownlist value. That seems to work except when a button is clicked in an ascx populating a panel, the whole panel goes away. I...
  10. zma

    programatically putting a user control into a content place holder

    It works. Thank you very very much. How did you know a panel would work? The contents of the ascx disappear from panel2 when the button in it is clicked. I am hoping to eventually have form elements in it corresponding to data table fields to error check and then insert or update that table...
  11. zma

    programatically putting a user control into a content place holder

    Thanks for writing-no luck though. Keep seeing the control3 is not declared error This is what I have in the aspx file now: :::::: Towards the top are these :::::: <%@ Register TagPrefix="prefix1" TagName="name1" Src="test1.ascx" %> <%@ Register TagPrefix="prefix2" TagName="name2"...
  12. zma

    can a button call a vb function onclick

    Thank you for writing back Tperri. The problem seems gone now-the ascx is loading with no error and the asp:button is running simple vb functions when clicked.
  13. 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...
  14. zma

    programatically putting a user control into a content place holder

    Thank you jbenson001 and jmeckly. My previous reply was sent before I saw what jmeckly said. I am still getting an error saying 'content3'is not declared. This is the code. ------------------------------------------------------ sub page_load dim name1 = Page.LoadControl("~/name1 .ascx")...
  15. zma

    programatically putting a user control into a content place holder

    Tried this in a sub page_load: dim testplace3 = LoadControl("test1.ascx") content3.controls.add(testplace3) but got the error that content3 was not declared. This is what I am trying to put the user controls in. <asp:content id="Content3" contentplaceholderid="place3"...
  16. 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 %>...
  17. 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...
  18. 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...
  19. 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. <%...
  20. 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'...

Part and Inventory Search

Back
Top