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

    Converting INT to a dollar amount

    James, Excellent, excellent, excellent - thanks!!! Thanks, Mr. Denny, too! Rick
  2. KingRichard3

    Converting INT to a dollar amount

    ...I'm the king of quick follow-ups today. :-) Any easy way to add the commas? Rick
  3. KingRichard3

    Converting INT to a dollar amount

    Cat, Thanks - but that doesn't do the comma formatting with the dollar sign... Thanks, Rick
  4. KingRichard3

    Converting INT to a dollar amount

    Is there an easy way to convert a double: 1234.56 to this: $1,234.56 ? Thanks, Rick
  5. KingRichard3

    What's the difference between saving a null and a zero

    And what was the conclusion with the DBA GUY??? :-) Rick
  6. KingRichard3

    Easy question: centering text within a label

    Thank you very much, guys! Rick
  7. KingRichard3

    Easy question: centering text within a label

    I have a ASP.NET label on a web page: <P align="center"><asp:label id="lblFeedbackToUser" runat="server" ForeColor="Red" Font-Bold="True"></asp:label></p> I need to center the (dynamically generated) text within the label. How do I do that, please? Thanks, Rick
  8. KingRichard3

    Retrieving the client's computer name

    I got it - this is the right code to use:System.Net.Dns.GetHostByAddress(Request.UserHostAddress).HostName()
  9. KingRichard3

    Retrieving the client's computer name

    In development (running off my PC) I was able to use this: Dim strComputerName as String = System.Net.Dns.GetHostByAddress(Request.ServerVariables("Remote_Host")).HostName in order to retrieve the client's computer name. It worked just fine when I was using my PC as the server and a co-worker's...
  10. KingRichard3

    Visibility=Hidden (but annoying!!!)

    XP, if I make that change - the button never pops up any menu: clicking it does nothing at all - again... :-( Rick
  11. KingRichard3

    Visibility=Hidden (but annoying!!!)

    Thanks again for replying. That doesn't exactly work. What I want this to do is when the button is clicked it will pop up this cancel menu - prompting the user with YES/NO buttons. NO will just "re-hide" the cancel menu, whereas YES will fire another event. If I replace the code as you...
  12. KingRichard3

    Visibility=Hidden (but annoying!!!)

    XPBlue, That works great - but I have one more question... That works when the user clicks the "Cancel" button. But until then, it (invisibly) hogs that space... I'm sorry for asking this, but I'm quite unfamiliar with JS. Below is my HTML page. How can I have the function HideCancelMenu...
  13. KingRichard3

    Displaying a label in the middle of the user's screen

    I do not want to be guilty of "cross-posting", but I think I posted a thread in the wrong forum - I should have posted it over here. So I'm just going to post a reference over here and would very much appreciate if you could take a peek at thread855-1018482. Thanks so much! Rick
  14. KingRichard3

    Visibility=Hidden (but annoying!!!)

    I have these two little routines: function ShowCancelMenu() { var CancelMenu CancelMenu = document.getElementById('CancelMenu') CancelMenu.style.visibility = '' } function HideCancelMenu() { var CancelMenu CancelMenu = document.getElementById('CancelMenu')...
  15. KingRichard3

    Displaying a label in the middle of the user's screen

    ca8msm, Thanks for replying. It doesn't need to be exactly in the middle of the page - but I don't want to do a redirect, either. I just want it to appear visible to the user - somewhere on their screen regardless of where they've scrolled to... Isn't there some less-than-near-impossible way...
  16. KingRichard3

    Displaying a label in the middle of the user's screen

    I am writing an ASP.NET page using flow-layout. I need to display a confirmation label using VB.NET or JavaScript which needs to pop up in the middle of the screen (or at least visible to the user - even if they've scrolled very far down the page). It will need to say something like, "Product...
  17. KingRichard3

    Validating a Date using IsDate doesn't seem to do the trick...

    Great idea! It worked! (Until I input 3/305 - .NET's Date decided it was = 3/0305 and SQL Server decided to blow up when it saw that date...) :-) Rick
  18. KingRichard3

    Simulating a button-click after user types in textbox & hits &quot;enter&quot;

    P.S. I know the following exists for a page (and can be inserted into Page_Load: Page.RegisterHiddenField("__EVENTTARGET", "cmdSubmit") 'where "cmdSubmit" is a string with the name of the default button But does anything like that exist for an individual control? Thanks again, Rick

Part and Inventory Search

Back
Top