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

    set focus to element in onchange ?

    Hi is it possible (browser compatible as well) to set focus to a form element in its onchange event? this doesn't work: this.focus() Thanks
  2. tester321

    simple test for numeric input

    thanks u very much, my eyes are still blurry...
  3. tester321

    simple test for numeric input

    Grrr. very late over here, can seem to get these 2 simple things going.... please help, thanks [1] onchange="var nhp=^\d+$; if (!nhp.test(this.value)){alert('.... [2] onchange="this.value=this.value.toUpperCase();var ReExp = /^[A-Z][0-9][A-Z]$/i;if (!ReExp.test(this.value)){alert('The first 3...
  4. tester321

    prevent the post back from instantiating

    Hi how does one intantiate a javascript function to do form field validation without a PostBack? But yet keep the postBack to process the form fields when there are now issues with the JS form field validation. This is what i have/am doing: <<PAGE BEHIND>> protected void Page_Load(object...
  5. tester321

    validate form fields not on post back

    Hi how does one intantiate a javascript function to do form field validation without a PostBack? But yet keep the postBack to process the form fields. This is what i have/am doing: <<PAGE BEHIND>> protected void Page_Load(object sender, EventArgs e) { ...
  6. tester321

    using 2 physical network adaptors

    Hello: We have a server that has Windows Server 2003 installed on it. We are using VMWare 1.03. What we're trying to do is use BOTH physical network adaptors, however, VMWare won't let us choose what physical network adaptors we want to use when setting up the virtual machine. So when our VM...
  7. tester321

    remove all ~ from string

    Hi i was wondering what the easiest way to remove "~" from a string, i have a string that has many of them and i would like to remove them all, but how? Thanks
  8. tester321

    getting page file name from URL

    found an easier way, but would it more resource intensive? string url = System.IO.Path.GetFileName(Request.Path);
  9. tester321

    getting page file name from URL

    Grr.. not working, need help. Many thanks. string url = Request.ServerVariables["URL"]; url = Mid(url, InStrRev(url, "/") + 1); Response.Write("this page is called:"+url);
  10. tester321

    simple, what the default column value for datetime

    oh boy, sometime the simplest things i can't remember... is it date() or now() or.... I need to specify a default value for data type datetime for sql2k Thanks
  11. tester321

    get radio button value without form tags

    <input type="radio" value="0" checked name="R1" /> <input type="radio" value="1" name="R1" /> Hi when R1 group value remains "0", i need to alert("hi") how can i reference this without form tags, thanks!@
  12. tester321

    format as a positive number regardless if pos or neg

    Hi i have a number that sometime might be negative, but that screws up the senerio, so for a plave where there might be a negative number i would like to covert it to a positive, this is what i have which isn't working :( Response.Write( (int)Math(Abs(Convert.ToInt32(listpc[index].val))) )...
  13. tester321

    Collection is read-only ?

    Ok i think i narrowed it down, any thoughts on this.... it seems to be when i call: NewCredentials(pass, question, answer); then: private void NewCredentials(string strPass, string strQuestion, string strAnswer) { using (SqlConnection connection = new...
  14. tester321

    Collection is read-only ?

    Hi i'm getting the following error below and my dumb question is, how do i know what line caused the error? Collection is read-only. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the...
  15. tester321

    setting sessions dynamically

    what about setting sessions like this, i can't seem to get this going: for (int index = 0; index < listpc.Count; index++) { foreach (string key in Session.Contents){ if (Session[listpc[index].PieLabel.ToString()] == listpc[index].PieLabel.ToString())...
  16. tester321

    only the decimals are important

    Hello, lets say i have a number like 5.12345536 i'm only interested in the .12 (hundreth placing) how would one get that placing??? (rounded or not, me not care) Thanks
  17. tester321

    setting sessions dynamically

    Hi i'm in a situation where i need to set the session based off what i'm pulling out of an array. The session value needs to always be "a", its the session key name that i need to set dynamically, is this possible? For example something like (ignore my synatax): foreach item in...
  18. tester321

    these: &quot;(&quot; or &quot;[&quot;

    I get it, it seems that square brackets are used when you reference an object explicitly, and round brackets are used with you reference the object implicitly

Part and Inventory Search

Back
Top