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 strongm 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: *

  1. jrenae

    xpath count using editor - NOT XSL

    If anyone is interested in the BizTalk Editor solution I figured out that I needed to pass my message into the xpath expression as well so it new what it was evaluating... so below gave me the record count I was looking for. Where intRecordCount is just an int and PracApptsGetMessage is my...
  2. jrenae

    xpath count using editor - NOT XSL

    Thank you k5tm! Yes, I was able to put that into an xslt file and it worked. I must have had a syntax error when I tried it before. I was also able to put it into the xpath evaluator in xmlspy and run it against my xml and it does work. So at least now I know the xpath is correct. It's...
  3. jrenae

    xpath count using editor - NOT XSL

    Hello, I'm trying to get a count of nodes using xpath inside a biztalk expression editor. Please let me know if there's a better forum in which to post this. I've tried many different approaches and I still keep getting 0. Also, I tried putting this expression in xslt to test as I've used...
  4. jrenae

    linkbutton in gridview does not submit form (IsPostBack = fase)

    Never mind...I didn't complete my code....the linkbutton is submitting for me.
  5. jrenae

    linkbutton in gridview does not submit form (IsPostBack = fase)

    Hello, I have a gridvew with a linkbutton in a template field, but when I click on it, I can't access any of my server side controls in the code behind. The IsPostBack == false. I need to access a lblCampaignId.text that sits outside of the gridview. The CampaignId is a parent id of all the...
  6. jrenae

    error validating phone number with pattern

    never mind...I didn't have my xml nodes defined according to the schema. I was missing the node 'PhoneNumberValue'.
  7. jrenae

    error validating phone number with pattern

    I don't understand why I'm getting the error when validating against a a schema file in Visual Studio. My phone number value is 10 digits with no alpha, yet the intellisense tells me the phone number cannot contain text. Any ideas? Thanks in advance. phone number value = 9999999999 xml...
  8. jrenae

    WebClient.UploadString(uri,string) hangs

    the exe is part of the url to which I'm trying to post. So it's something like 'https://somedomain.com/cgi-bin/filename.exe?id=xxxx&pr=i'. The content I actually post is XML in a string. The risk of changing our code from using WebClient to HTTPWebRequest is that I'd be changing it for one...
  9. jrenae

    WebClient.UploadString(uri,string) hangs

    Hello, We've been using the same WebClient.UploadString(uri,string) code for a few years now and it's worked fine. I'm implementing a new client and need to upload to a url that has an exe extension with a querystring and parameters. Also, it's https rather than http. I know I can reach the...
  10. jrenae

    can I format a date in xslt using a defined pattern?

    Thank you, tsuji. I did end up using string functions but we had some examples already built so I was able to re-use.
  11. jrenae

    can I format a date in xslt using a defined pattern?

    Hello, I'm writing an xsl file in order to write out xml. I have a couple of date fields that I need to format in a specific pattern. Can I do this by creating a named template which defines the pattern? I must format it in the xsl rather than changing .net code. this is what I'm trying but...
  12. jrenae

    security trimming not working with virtual path

    Hello, I'm trying to implement security trimming in my site via the web.sitemap file and it's working fine for siteMapNodes that have the physical url hardcoded. But it's not working for siteMapNodes that have a ~virtual url. In the below web.sitemap example, it works for my node titled...
  13. jrenae

    Hiding web.sitemap links using security trimming

    I've setup a simple asp:Menu control which uses a web.sitemap for the links. I've setup a GenericPrincipal object for my logged in user which contains their roles (marketing, finance, IT, etc) which is populated by looking in the database for that userid. One user can be in many roles. I now...
  14. jrenae

    timeout from web page but not from query analyzer?

    Thank you, George. I remember an article we came across a while back about the parameter sniffing. So today I implemented the change to the stored procs involved and did see a huge improvement. Time will tell if this will be a permanent solution. Thanks again.
  15. jrenae

    timeout from web page but not from query analyzer?

    Thanks. But the issue is that the query will go fast in query analyzer but slow from the web page. Like the web server is hanging onto an old cached execution plan or something. Why would the same query finish in a few seconds from query analyzer, but hang from the web page?
  16. jrenae

    timeout from web page but not from query analyzer?

    Hello, Periodically we have a web page timeout when running a query, but when we run the same query from query analyzer the query comes back in a few seconds. (I might add that query analyzer will take a very long time to finish sometimes, which just means that our database is crunching too...
  17. jrenae

    pull a node and all xml within

    Thank you, tsuji! That's exactly what I needed except the element includes the namespaces...is there a way to suppress that so it's just the element <my_matches>? <my_matches xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  18. jrenae

    pull a node and all xml within

    I have a node within a xml file as below and I just want to find the node and pull in the node and all the xml, attributes and values just as is. I tried <xsl:value-of select="//my_matches"/> But all I get are the values within the elements...how do I just get the node and all of it's...
  19. jrenae

    classes to serialization

    I did use the xsd.exe utility to get my class and it worked great. Please see the other thread: http://www.tek-tips.com/threadminder.cfm?pid=678 Thanks
  20. jrenae

    ood with serialization

    Thank you Dian. The reason I had to design it around serialization is that we were already storing the xml for this new class in a sql server xml datatype column (we were just building the xml manually thru code), and we didn't want to change any of our existing code that accesses it via other...

Part and Inventory Search

Back
Top