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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Quickfix99

  1. Quickfix99

    Pass a variable into a HyperlinkField along with a value from a table.

    Tried this, but didn't work either: NavigateUrl='<%# Server.HtmlEncode("~/PropInfo.aspx?PID=" + Eval("PID") + "&Image=" + Request.QueryString["MAPIMAGE"]) %>' Results in: http://localhost:2080/PropInfo.aspx?PID=018-793-428%20%20%20%20%20%20%20%20%20&amp;Image= I can't believe such a...
  2. Quickfix99

    Pass a variable into a HyperlinkField along with a value from a table.

    Yikes...it appears that the HtmlEncode propety is not available for a template field! It looks like I am going to have to get creative with this and write some code-behind or something...Any ideas?
  3. Quickfix99

    Pass a variable into a HyperlinkField along with a value from a table.

    I think we're getting closer, however, for some reason ASP doesn't like my string: Results of NavigateURL: http://localhost:2080/start.aspx?MSLINK=3529&MAPIMAGE=http://www.tek-tips.com/images/logo.gif Error Returned: '~/PropInfo.aspx?PID=018-793-428...
  4. Quickfix99

    Pass a variable into a HyperlinkField along with a value from a table.

    Still get this error: DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'MAPIMAGE'. MAPIMAGE is a variable set from a querystring. I need to pass this variable into the NavigateURLString.
  5. Quickfix99

    Pass a variable into a HyperlinkField along with a value from a table.

    I converted to a template field but am still getting an error. Any ideas? <asp:TemplateField> <ItemTemplate> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("PID", "~/PropInfo.aspx?PID={0}") + "&Image=" + Eval("MAPIMAGE") %>' Text='<%# Eval("MSLINK") %>'></asp:HyperLink>...
  6. Quickfix99

    Pass a variable into a HyperlinkField along with a value from a table.

    The URL turns out like this: http://localhost:2080/PropInfo.aspx?IMAGE=<%=MAPIMAGE%>&PID=000-786-748 I did try something similiar but I got some sort of error regarding code blocks not allowed in that context...
  7. Quickfix99

    Pass a variable into a HyperlinkField along with a value from a table.

    I am having trouble getting the syntax correct for passing a variable into a URL from a Hyperlink field. I have a string variable named MAPIMAGE. I would like to pass it to the URL after the "IMAGE=" section, then, get the next paramater from a table value. How can I do this...
  8. Quickfix99

    XPATH Query failing...

    I have some simple xml: <users> <title>Floor1</title> <user> <fullname>John Doe</fullname> <ID>Binary Avenue 1234 FL</ID> <email>john@john-domain.com</email> <lat>2</lat> <lon>4</lon> </user> </users> I am trying to retrieve the value of "lat" where "fullname=John Doe" using this...
  9. Quickfix99

    Query XML using Javascript....

    Hmmm...is it easier, or better to use PHP and/or Xquery? Are ther javascipt libraries available for parsing XML? if so, are there any you can suggest? Thanks, Mark
  10. Quickfix99

    Use PHP to load and query xml data?

    Is it possible to populate a list box with data from an xml file, then, get the selected item from the list box and query an xml file and return a few nodes of data into an array or variables? Any reply would be greatly appreciated! QF
  11. Quickfix99

    Query XML using Javascript....

    Is it possible to populate a list box with data from an xml file, then, get the selected item from the list box and query an xml file and return a few nodes of data into an array or variables? Any reply would be greatly appreciated! QF
  12. Quickfix99

    How do I get the selected content of my listbox?

    Ahhh...of course... Now that it works, I have perhaps a tricker question. The data in my list is in the format: "Penner, Fred" "Pitt, Brad" The data getting sent to the variable is only the text up to the comma. Does this make sense? QF
  13. Quickfix99

    How do I get the selected content of my listbox?

    I have some code that populates a list box from a database. I am trying to assign the value of the list box to a variable when the user clicks on a button. For some reason, my code does not set the variable. Any ideas? Here is the code I am using: <?php require("phpsqlajax_dbinfo.php")...
  14. Quickfix99

    Search an xml file...

    The XML file will be on the web server...
  15. Quickfix99

    Search an xml file...

    I would like to search an xml file and assign the results from multiple tags to a variable. Is this easy to do using javascript?

Part and Inventory Search

Back
Top