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 Wanet Telecoms Ltd 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: belle9
  • Content: Threads
  • Order by date
  1. belle9

    Joining on a possible empty table

    I have 2 tables: a claim table and a corresponding date table. There can be multiple dates for each claim, with a qualifier type to distinguish them, and I'd like to retrieve them all in one row. Here's a snippet of what I have: SELECT d.PointerField , a.ApplianceDate b.AccidentDate...
  2. belle9

    Gridview with checkbox and rowcommand

    I have gridview with a templatefield and a checkbox within that. What I'm trying to accomplish is allow the user to click on the row on any cell to select that row, and to do something OTHER than what would happen when they check. (checking the row will bind a child gridview and check/uncheck...
  3. belle9

    Constructing a string dynamically

    I have this in javascript with vb.net/asp.net: var tabContainer = $get('<%=tab1.ClientID%>'); tab1 is the name of a specific element on my form. i want to make that dynamic, so that it can be passed as a variable to my function. I've tried a bunch of ways with single and double quotes, but no...
  4. belle9

    Changing a datalist item color on click, then revert back to original

    As the title states, I'm changing the forecolor of a linkbutton when it is clicked on. However, I'd like for the color to go back to its original once I click on another item, ie only the item clicked should be red. Here's what I have: <asp:datalist id="dlCategories" runat="server">...
  5. belle9

    Accessing a nested Image from code behind

    I'm trying to set the visibility of imgArrow when an item in my datalist dlProd is clicked on. Here is my image: <asp:datalist id="dlCategories" runat="server"> <ItemTemplate> <P class="wht_14" style="MARGIN: 8px 18px 2px 0px" align="right"><b>...
  6. belle9

    Now, how to return that bound textbox to the code behind for updating?

    Now that I got the textbox to display the multiple rows from the DB, I need to return it back to the db for updating. How do I pass each item of the datalist to the stored proc? myCommand = New SqlCommand("admin_UpdateDiet", oConn) myCommand.CommandType = CommandType.StoredProcedure...
  7. belle9

    Bind data in a repeater to an editable textbox

    Here's my repeater: <asp:repeater id=rptDiet runat="server"> <ItemTemplate> <asp:Textbox ID="txtDiet" Runat="server" Visible="True"> <%#Container.Dataitem("Data")%> </asp:TextBox> </ItemTemplate> </asp:repeater> I'm getting an error with the textbox...
  8. belle9

    Accessing items in the datagrid from code behind

    Here is my item in the html: <asp:BoundColumn DataField="AthleteName" HeaderText="Athlete Name"> <HeaderStyle CssClass="dgHeader"></HeaderStyle> <ItemStyle Wrap="False"></ItemStyle> </asp:BoundColumn> I'd like to set AthleteName to be FirstName and...
  9. belle9

    How to allow html in textbox

    When I try to submit a form with html in my textbox, I get this error: A potentially dangerous Request.Form value was detected from the client (txtDescription="... energy!* <br><br> Just 15 ...").
  10. belle9

    Removing a parameter from the querystring

    When I try to remove a parameter from the querystring, I get an error that the collection is read-only. How can I set it to allow me to update the collection? I assume it's possible since there are functions built in to do just that.. request.QueryString.Remove("ProdID")
  11. belle9

    Session variables not set until second time page is hit

    I'm trying to access a session variable. It loses its value the first time I hit a page, but if I hit that page twice before doing anything(click the same link twice), it works. So, page default.aspx, has the below code: Session("ProdID") = ProdID Response.Redirect("/pages/Products.aspx")...
  12. belle9

    Redirect to a specific sub within a different page

    I am trying to redirect the user when they click on an image on the homepage to go to the specific product listing page. I'd like it to go directly to the sub that is defined in the product page that deals with displaying the product...How can I do that? I'm not using any parameters in the URL...
  13. belle9

    Executing show/hide javascript with a nested datalist

    I'm trying to do a simple show/hide: when you click on a category, it's corresponding products appear below it. Click the category again, and the menu folds back up. What's happening now is that when I click on an item in dlCategories, it's corresponding dlProduct appears for a second, but...
  14. belle9

    Calling a javascript function with .net

    I'm trying to call a javascript function that will display a subcategory when the user clicks on a main category. MY JS works fine outside of this project...The second datalist had an ID of "A", so that when I click on an item in the first datalist I'd like to display the data from the second...
  15. belle9

    Dynamically displaying a menu

    I'm pretty much a beginner with asp.net. What I would like to achieve is: I have a left navigation with categories, and I'd like for when the user clicks on a category title for its corresponding products to display beneath it. When they click on the title again, the products should disappear...
  16. belle9

    vb.net Substring function

    I'm trying to get a filename without the extension. Any suggestions?
  17. belle9

    Querying by date

    I'm trying to get a list of orders placed between a specific time period, and I want one result for each date. I am currently getting one result for each time on each date...How can I query the date field to ignore the time part?

Part and Inventory Search

Back
Top