<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Getting both Value and Display text from combobox</title><link>https://www.infopathdev.com:443/forums/thread/19333.aspx</link><pubDate>Tue, 24 Apr 2007 19:27:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19333</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19333.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19333</wfw:commentRss><description>Great! Glad to have helped.</description></item><item><title>Re: Getting both Value and Display text from combobox</title><link>https://www.infopathdev.com:443/forums/thread/19305.aspx</link><pubDate>Mon, 23 Apr 2007 17:43:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19305</guid><dc:creator>erinselena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19305.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19305</wfw:commentRss><description>&lt;p&gt;OHHHH. i Never even thought of that. I&amp;#39;ll give that a try.&lt;br /&gt; &lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Erin&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Getting both Value and Display text from combobox</title><link>https://www.infopathdev.com:443/forums/thread/19304.aspx</link><pubDate>Mon, 23 Apr 2007 16:48:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19304</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19304.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19304</wfw:commentRss><description>&lt;p&gt;If you have manually populated your drop-down list, then you probably can&amp;#39;t do this (at least not in any useful and easy manner). If you are populating the drop-down list from a secondary data source, then you just grab the stored value (the ID), and you look up the display value in the secondary data source using the ID value you have.&lt;/p&gt;&lt;p&gt;Something like:&lt;/p&gt;&lt;p&gt;var disp = XDocument.GetDOM(&amp;quot;2DS&amp;quot;).selectSingleNode(&amp;quot;/Root/Table/Row[@id = &amp;quot; + ID + &amp;quot;]/@display&amp;quot;);&lt;/p&gt;</description></item><item><title>Getting both Value and Display text from combobox</title><link>https://www.infopathdev.com:443/forums/thread/19297.aspx</link><pubDate>Mon, 23 Apr 2007 12:54:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19297</guid><dc:creator>erinselena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19297.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=19297</wfw:commentRss><description>&lt;p&gt;Hello Everyone,&lt;/p&gt;&lt;p&gt;Just wondering if there is an easy way of doing the following. I have a combobox and it displays text but the underlying value is an ID value, now i also have a button beside the combox (the combox is in a master detail repeating table) and when i click on that button i want to get the value AND the display text that is showing from the combox. Right now all i can get is the value from the event args of the button click but nothing shows the value. Is there a simple way of getting to this? I am thinking if there isn&amp;#39;t i need to do a lookup from the database based on the value of the combobox.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Erin&lt;/p&gt;</description></item></channel></rss>