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

    inserting utf8 encoded xml into into oracle clob or blob

    I need to insert an xml file into oracle. when I tried this with a clob, the OracleLob.write method's byte parameter needs even number of bytes. This works with you use Encoding.Unicode as the byte[] encoding, but I need to use utf8, because when I reencode to utf8 on the other receiving side...
  2. tekkerguy

    Regular expression

    Ok I fixed that, the [ ] were messing it up. So now that's returning a 0. So I changed it a bit to this: var re = /^onclick.*ils$/; stringtomatch = "onclick=\" + "\"tooltip.show(r Details');\\";//\\" + ""; matched = stringtomatch.search(re)...
  3. tekkerguy

    Regular expression

    so this should work then: var re = /^on[.]*ick$/; stringtomatch = "onclick"; matched = stringtomatch.search(re); But it's returning -1, is something off in it?
  4. tekkerguy

    Regular expression

    Here's a simpler one, let's say the string is "Hello this world" And I want to match hel at the beginning and orld at the end. What's the regex for that? But it has to contain both.
  5. tekkerguy

    Regular expression

    slight change onclick=\"tooltip.show( for the beginning and ');\" for the end, (the dom modifies it a bit when it copies, just realized it was doing that)
  6. tekkerguy

    Regular expression

    same thing
  7. tekkerguy

    Regular expression

    This is the code I'm using: for ( i = 0; i < noOfRows; i++) { var re = new RegExp(tableBody.rows[i].innerHTML, /^onclick="tooltip\.show.*'\);\"$/ ) tableBody.rows[i].innerHTML = tableBody.rows[i].innerHTML.replace(re, ""); } And...
  8. tekkerguy

    Regular expression

    First off, thanks for the quick reply. I hate regular expressions (I just started looking at them). Second, is there a good tutorial site for them, I see tons on google., but which are good?
  9. tekkerguy

    Regular expression

    what regular expression would match: onclick="tooltip.show at the beginning of a string, and ');" at the end.
  10. tekkerguy

    pagemethod onsuccess event not firing

    I've had this post in the c# section for a week and a half now, realized it should be here, and I don't know how to move a message, so please forgive the double post, and if there's a way to move messages, let me know and I'll do so. My Pagemethod fires c# code which submits a record to a...
  11. tekkerguy

    Pagemethod OnSuccess event not firing

    My Pagemethod fires c# code which submits a record to a database, this is working. But I have some js code stored in an onsuccess method, which should alert that the record was submitted, but it's not firing. Here's the js: (the data gathering part of the js code is omitted, it's not...
  12. tekkerguy

    outlook/exchange alternative on linux

    I have a few questions about using a linux server. I know that I can use samba to connect a windows desktop to the domain. But as for email, 1) On Linux server, is there an equivalent email server application to Microsoft Exchange? 2) If so, can I import emails from exchange to that server...
  13. tekkerguy

    script taking to long error when passing dropdown control to pagemetho

    I have some dropdowns, which are populated by ajax to prevent having to do a postback. the problem is, I have one dropdown that populates another based on the first's selection. This is working fine, and I can see the new entries in the second dropdown. The problem is, if I do a view source...
  14. tekkerguy

    how to do a c# postback submition in an AJAX page

    Ok, got that working, but it seems that I need to submit through ajax instead. I have some dropdowns, which are populated by ajax to prevent having to do a postback. the problem is, I have one dropdown that populates another based on the first's selection. This is working fine, and I can see...
  15. tekkerguy

    how to do a c# postback submition in an AJAX page

    I have an aspx page which uses pagemethods to update pulldowns without firing postbacks. The problem is it changed the submit button's onclick event to: onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;submitter&quot;, &quot;&quot;, true, &quot;&quot...
  16. tekkerguy

    gridview freeze header unfreezing on img class change

    here's the table <div id="containingDivid" class="contdivclass" style="height: 200px; overflow-x: hidden; overflow-y: auto"> <div id="Panelid" style="height:217px;"> <div> <table class="ContentTable" cellspacing="0" cellpadding="0" rules="all" border="0"...
  17. tekkerguy

    prevent gridview from being placed in div

    Is there anyway to prevent a gridview where the data is bound from the codebehind from being rendered inside div's? Or to remove the div tags after being rendered?
  18. tekkerguy

    gridview freeze header unfreezing on img class change

    I'll post what I can in a moment, but it also seems that if I scroll the main window scrollbar, not the div scroll, the headers move with that as well (or rather stay still while the whole screen scrolls)
  19. tekkerguy

    gridview freeze header unfreezing on img class change

    I have a gridview where I'm freezing the header row using this.offsetParent.scrollTop-1. which is working. However, in the gridview tablerows, I have an img tag, with a class, where the background image is an i. the img tag has a mouseover/mouseout events set to change the class, which in...
  20. tekkerguy

    ascx page ddl control causing postback in holder

    I had the pulldown set to autopostback from previous code. Removed that and it's all working! Thanks for everyone's help!.

Part and Inventory Search

Back
Top