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 derfloh 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: BlueBlade
  • Order by date
  1. BlueBlade

    Please help me with loading my usercontrol into a PlaceHolder

    Hi, using VB.NET, I am trying to load a UserControl into a PlaceHolder dynamically. In the WebForm I added the following directive: <%@ Reference Control="../UserControls/SquareRoot.ascx"%> In PageLoad I have this piece of code: Dim uc As SquareRoot...
  2. BlueBlade

    How can I use a button control to show a JavaScript window?

    It's a web app. and I solved the problem. Here's how I did it. This goes in the Head tag of HTML: <script language="javascript" type="text/javascript"> function newWindow(bookgif) { window.open(bookgif,"name","width=600,height=600");}</script> Then for the button it looks like...
  3. BlueBlade

    How do I close a form in vb.net?

    Hi everyone, I opened a form using a java script. There is a button on the form that I want to use to close the form. I tried putting this in the Button_Click event: Me.close() when I do this, I get an error that says that close is not a member of my application. Then I tried me.unload()...
  4. BlueBlade

    How can I use a button control to show a JavaScript window?

    Is it possible to call a javascript new window using a Button control like you would use a Hyperlink control? I have a list of buttons on my form and I would like for the control that opens the window to be a button as well rather than a HyperLink control. Please let me know how this can be done...
  5. BlueBlade

    How can I increment a number in a Public Shared sub?

    Ok I got it. I put a variable in the page like c8amsm suggested rather than the sub routain... it works fine now. Thanks for the help. It now increments the page each time the user click on the button. Thanks again for all your help.
  6. BlueBlade

    How can I increment a number in a Public Shared sub?

    Ok I tried to use the httpContect.Current but I don't know how to use it. Here's what I tried. httpContent.current.session("sessionVariable") = value I'm sure it's totally wrong as this is a level that I've never programmed at. How can I use it? Thanks again!
  7. BlueBlade

    How can I increment a number in a Public Shared sub?

    I don't know if I've been trying to increment the couner from the page. Do you mean just inside a sub routain? I will try the httpContent.Current tip. Thanks I'll let you know if I was successful.
  8. BlueBlade

    How can I increment a number in a Public Shared sub?

    I tried a session, application, and cache variable but that too is illegal in this sub. Here’s the error message: You cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class.
  9. BlueBlade

    How can I increment a number in a Public Shared sub?

    Hi, I’m trying to increment a number each time the user click on a button. My code happens to be in a button that is a Public Shared sub. Because it is a public shared, I can’t access the query string in the usual manner like this: Response.Redirect("default.aspx?question=1") Dim num As...
  10. BlueBlade

    How do I force a page or control to be refreshed?

    It's a server control
  11. BlueBlade

    How do I force a page or control to be refreshed?

    Hi I am trying to get my program to respond to changes in the parameters in the URL, specifically a label on the form. The form is my default.aspx form and I have a label on it that I would like to be updated after I change the URL. This is what I have in the Form Load routine: Dim...
  12. BlueBlade

    How Can I Put Text in a Label Control Using a Hyperlink?

    Thanks the public property does allow me to get to the control.
  13. BlueBlade

    How Can I Put Text in a Label Control Using a Hyperlink?

    Hi, I am trying to change the contents of a label control using a hyperlink. The hyperlink and the label controls are on different UserControls. Please help, Thanks.
  14. BlueBlade

    How do I access a single row in an SqlReader object?

    Yes I do mean a SqlDataReader and yes I want to get the data from a single row like row 5 and put it in my textbox. Then when my user is ready to see the next record, he/she can click a button to advance to the next row in the dataSet or SqlDataReader. I haven't done so yet but I'll take a...
  15. BlueBlade

    How do I access a single row in an SqlReader object?

    Hi, I'm calling a stored procedure which return a sqlReader object. I would like to know how to retrieve a specific row or record from the reader and store it in a textbox. Can anyone help me with this or show me a link that may be able to help? Thank you so much, BlueBlade

Part and Inventory Search

Back
Top