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

  • Users: AT76
  • Order by date
  1. AT76

    passing DropDownListValue

    I understand my issue now. I had a JS funtion that was overriding my call. Thanks to all!!!! You guys are awesome!
  2. AT76

    passing DropDownListValue

    Hi Jim, I actually have it set up for: DropDownList3_SelectedIndexChanged But it doesn't fire. Just when I click submit.
  3. AT76

    passing DropDownListValue

    Hi ca8msm, I did that. The problem is that I'm able to hit code in the DropDownList1_SelectedIndexChanged event but only when I hit the submit button. If I just switch items the event wont fire.
  4. AT76

    passing DropDownListValue

    Thank you ca8msm. Your example help me understand how it works. I'm now able to open the desired htm based on the selection chosen in the DropDownList. However, I'm unable to launch the code on DropDownList1_SelectedIndexChanged event. This fires but only when I click a submit button...
  5. AT76

    passing DropDownListValue

    I'm after opening a specific popup window (.htm) depending on the item selected in the DropDownList.
  6. AT76

    passing DropDownListValue

    Thank you both. Jmeckley, I'm currently only supplying text to the DropDownList. I will try the 'onchange' event. Question: Is this OK? <asp:DropDownList ID="DropDownList" runat="server" BackColor="White" AutoPostBack="true" /> Or do I need to add an "OnTextChanged" or...
  7. AT76

    passing DropDownListValue

    Hi, I have an asp DropDownList and I'm trying to pass its selected value to javascript. Like this: this.DropDownList.Attributes.Add("onclick", "showDiv(this)"); I then have a js file that tries to get that value selected: var i = null; function showDiv(obj) { i =...
  8. AT76

    passing string from aspx to javascript function

    Hi all, I'm trying to pass the text string of a selected listBox to a javascript code function in the client side. Can someone help me with an example! Thanks in advance!
  9. AT76

    grouping with XSLT

    Hi all, I've been trying all day to do some groupings from an xml doc. The XML I have looks like this: <?xml version="1.0" encoding="UTF-8"?> <dataroot> <List> <ID>66</ID> <Title>Title1</Title> <Mapping>Yes</Mapping> <Link>L1</Link> </List> <List> <ID>67</ID>...
  10. AT76

    Edit Item in DropDownList

    thank you all... Earthandfire, I'm trying to apply your approach but in c#, my dropdownlist does not have builtin functions FindString or FindStringExact. Is a ComboBox the same as a DropDownList? Thanks!
  11. AT76

    Edit Item in DropDownList

    OK, I got it using a for loop! Thanks for your help!
  12. AT76

    Edit Item in DropDownList

    Thanks gplusplus! If you can do it by way of index, my next question is how would find the index of a particular field if you know the text?
  13. AT76

    Edit Item in DropDownList

    Hi, I have a DropDownList with 3 string items. Is there a way to edit the text of of one of the items in my list? Thanks!
  14. AT76

    loading xslt into .aspx page

    Hi all, I'm trying to output an xslt into an .aspx page. Here's my code: StringWriter sw = new StringWriter(); try { XslCompiledTransform xslt = new XslCompiledTransform(); xslt.Load(xslPath); XmlDocument xdoc = new XmlDocument()...
  15. AT76

    getting back XML file after it's been processed by XSLT

    Jason, Your example worked great. The only addition I had to make was: sortedDocument.LoadXml(ConvertToString.(sortedNodes)); Thank you!
  16. AT76

    getting back XML file after it's been processed by XSLT

    Hi, In my VS project I have an XML doc. I created an XSLT that sorts a node in my XML doc. After I do the transformation of the XML file I would like to re-use it in my program. I'm not sure how to call it back... Here's what I have: xDoc.Load(xmlPath); XslCompiledTransform...
  17. AT76

    modify xml using xslt...

    It seems to me the error lies in the xslt. The result from the above gives the following: <html><dataroot>665178: Implementing Conferencing Solutions Using Microsoft Office Communications Server 2007 and Live MeetingLCS 2005/OCS 2007Instructor Led Training3002007-10-03T00:00:00MS LearningUC...
  18. AT76

    modify xml using xslt...

    Hi, I have a DropDownList which source is an XML Doc. However, the items displayed by the DropDownList are not sorted. My Goal is to be able to sort the items in the DropDownList. I understand that I can achieve the sorting issue via an XSL doc. Is this correct? If so, my attempts have not...
  19. AT76

    DropDownList initial value

    Thanks ca8msm. Your example worked!
  20. AT76

    DropDownList initial value

    Hi, I'm working on a web app that displays a couple of dropdownlists (ddl feed from an xml doc). When the app starts the 2 dropdown lists contain the 1st item of their respective lists. What I would like to do is have these values empty until the user makes a selection. Depending on what the...

Part and Inventory Search

Back
Top