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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by beaniebear

  1. beaniebear

    Deleting rows from a gridview

    I'm adding and deleting rows from a gridview in an update panel. It all works fine unless I delete all the rows from the gridview and then when I try and add another by clicking the add button the code is not executed? Any advice greatly appreciated.
  2. beaniebear

    AJAX and required field validators

    I started the page again from scratch and it all worked the second time. I will remember this tip for future though. Thanks.
  3. beaniebear

    AJAX and required field validators

    Hi, I have an update panel with a text box and a button. I have put a required field validator on the text box. When the button is clicked it is not doing the validation and posting the form even when there is nothing in the text box. Any help would be much appreciated, thanks.
  4. beaniebear

    Could not load file or assembly

    It should be other sites are using it. Forgive me for asking what is probably a very simple question but how do I check if it is installed?
  5. beaniebear

    Could not load file or assembly

    Could not load file or assembly 'System.Data.Services.Client, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. Can anyone tell me why I get this error in my live environment and not in development? The...
  6. beaniebear

    getElementById problem

    I can't pass the object because the onclick is on a button and the object I need in the function is the dropdownlist." I am using purely js for this. The only issue I had with it being in a asp.net web form is that I am using a masterpage and it changes the names. I was explaining why I...
  7. beaniebear

    getElementById problem

    I just thought I'd explain what it is I'm trying to do a little more clearly in case it helps with a solution. I have a drop down on a form, when certain selections are made from the drop down it forces a layer to be displayed informing the user that they are going to be redirected away from...
  8. beaniebear

    getElementById problem

    jmeckley could you please expand on option 2. I'm struggling with this. Thanks
  9. beaniebear

    getElementById problem

    Thanks for your help. I did wonder if this was causing the issue. I still have a lot to learn. I can't pass the object because the onclick is on a button and the object I need in the function is the dropdownlist. I will have a look at using unique class names. Thanks again.
  10. beaniebear

    getElementById problem

    I have edited my code slightly to make is simpler. It's actually a button that calls the javascript function so I can't use 'this' and the extra '{' is in my code but I accidentally deleted it.
  11. beaniebear

    getElementById problem

    Master page - a file in asp.net that you incorporate into your pages usually has menus and page layout in <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>...
  12. beaniebear

    getElementById problem

    <asp:DropDownList ID="ddlName runat="server" > <asp:Button ID="btnConfirm" runat="server" Text="Go" onclientclick="ChangePage()"/> I have a ddl and a button on a page. When the user clicks the button the javascript needs to check what has been selected in the ddl and redirect to the...
  13. beaniebear

    Use same code for multiple drop dpwn lists

    Seems awfully complicated to do something quite simple. Thanks for your help guys.
  14. beaniebear

    Use same code for multiple drop dpwn lists

    Thanks. I was kind of hoping I could just call one sub that would loop through and perform a task on each ddl. I think I need to use Me.Controls.Item("ddl" & x) using a for loop from x=1 to 4 But I'm getting the error "Conversion from string "ddl1" to type 'Integer' is not valid" ???
  15. beaniebear

    Use same code for multiple drop dpwn lists

    I'm sorry this is probably a very simple question. I haev four drop dpwn lists called ddl1, ddl2, ddl3 and ddl4. On page submit I want to run the same code on each ddl and wanted to do a for loop and dynamically put in the name of the ddl I want to reference. Any help much appreciated, thanks.

Part and Inventory Search

Back
Top