Combo box browser issue

Hi I currently have a simple combo box compenent with three options to choose fonts. It works fine when i test it, but it doesnt drop down in the browser.
This is the code
[AS]
LBtextMenu.LBfontList.textField.setStyle("textFormat", tf);
LBtextMenu.LBfontList.dropdown.setRendererStyle("textFormat", tf);
LBtextMenu.LBfontList.addItem( {label: "Arial" } );
LBtextMenu.LBfontList.addItem( {label: "Calibri" } );
LBtextMenu.LBfontList.addItem( {label: "Bauhaus 93" } );
var LBnewFormat:TextFormat = new TextFormat();
    LBnewFormat.font = "Arial";
    LBnewFormat.size = 12;
var LBnewFormat01:TextFormat = new TextFormat();
    LBnewFormat01.font = "Bauhaus 93";
    LBnewFormat01.size = 12;
var LBnewFormat02:TextFormat = new TextFormat();
    LBnewFormat02.font = "Calibri";
    LBnewFormat02.size = 12;
LBtextMenu.LBfontList.addEventListener(Event.CHANGE, LBfontSelect);
function LBfontSelect(event:Event){
          if (event.target.selectedIndex == 0){
                    trace("Arial was chosen")
                    LBTxt.LBOutput.setTextFormat(LBnewFormat)
          }  if (event.target.selectedIndex == 1) {
                    trace("Calibri1 was chosen")
                    LBTxt.LBOutput.setTextFormat(LBnewFormat02);
          if (event.target.selectedIndex == 2) {
                    trace("Bauhaus was chosen")
                    LBTxt.LBOutput.setTextFormat(LBnewFormat01);
[/AS]
If anyone can help it is greatly appreciated, Thanks.

use the swf embedding code published by flash.
if you already are using that html, what's your url and what needs to be done to see the problem, if it's not obvious.

Similar Messages

  • Combo Box Selection Issue in SBO 2007

    Hello.
    Here is one issue which I am facing now.
    I have just installed the 2007 Version of SBO in my machine. And using VB.Net.
    When I tried to retrieve the <i>Selected.Value</i> from a ComboBox, it is returning a wrong value.
    The real problem is this.
    Suppose there is two ValidValues in the Combo box
    1. <b>aaa</b>
    2. <b>bbb</b>
    and suppose we manually selected the value '<b>aaa</b>' in it.
    Then the combobox will show '<b>aaa</b>' as selected value.
    When we try to return it using the <i>Selected.Value</i> property, it returns <b>aaa</b>.
    then I tried to select '<b>bbb</b>' using a code which is here
    <i>oCombo.Select("bbb",SAPBouicom.BoSearchKey.psk_ByValue)</i>
    Now the combobox will show '<b>bbb</b>' as selected value. But,
    When we try to return it using <i>Selected.Value</i> property, It still returns <b>aaa</b>.
    If we select <b>bbb</b> manually, it will return <b>bbb</b>.
    IT ALWAYS RETURNS THE LAST MANUALLY SELECTED VALUE.
    here is the original Code which I tried in my application.
    <i>cboCategory.Select(CWRptMaint.ReportCategory, SAPbouiCOM.BoSearchKey.psk_ByValue)
    Dim s As String = cboCategory.Selected.Value
    Dim t As String = cboCategory.Selected.Description
    </i>
    Please Help me to solve this issue.
    Thank you
    Anoop

    HI
    I never had a problem about combobox not using datasource
    But here's the example code about combobox using datasource and not using datasource that i'm taken from one of my friend's project (VB6)
    '================================================================
    Public Type objectReportBA
        oComboBox As SAPbouiCOM.ComboBox
        oComboBox2 As SAPbouiCOM.ComboBox
        oUserDataSource As SAPbouiCOM.UserDataSource
    End Type
    Public oRBA As objectReportBA
    '==================================================================
        '// example Adding a Combo Box item not using user data source
        Set oItem = oFormReportBA.Items.Add("RCB1", it_COMBO_BOX)
        oItem.Left = 70
        oItem.Width = 85
        oItem.Top = 4
        oItem.Height = 18
        oItem.DisplayDesc = True
        Set oRBA.oComboBox = oItem.Specific
        oRBA.oComboBox.ValidValues.Add "1", "aaa"
        oRBA.oComboBox.ValidValues.Add "2", "bbb"
        oRBA.oComboBox.Select "bbb", psk_ByValue
        SBO_Application.MessageBox "Combo1->" & oRBA.oComboBox.Selected.Value       '<<<< will get a value = 2
        SBO_Application.MessageBox "Combo1->" & oRBA.oComboBox.Selected.Description '<<<< will get a description = bbb
    '==================================================================
        '// example Adding another Combo Box item and using datasource
        Set oItem = oFormReportBA.Items.Add("RCB2", it_COMBO_BOX)
        oItem.Left = 157
        oItem.Width = 163
        oItem.Top = 24
        oItem.Height = 14
        oItem.DisplayDesc = True
        Set oRBA.oComboBox2 = oItem.Specific
        oRBA.oComboBox2.ValidValues.Add "1", "aaa"
        oRBA.oComboBox2.ValidValues.Add "2", "bbb"
        oFormReportBA.DataSources.UserDataSources.Add "CombSource", dt_LONG_TEXT, 30
        oRBA.oComboBox2.DataBind.SetBound True, "", "CombSource"
        Set oRBA.oUserDataSource = oFormReportBA.DataSources.UserDataSources.Item("CombSource")
        oRBA.oUserDataSource.Value = "bbb"
        SBO_Application.MessageBox "Combo2->" & oRBA.oUserDataSource.Value  '<<< will get a value = bbb (but u will get diferent value if u click the combobox manually)
    '======================================================================
    'if you click the combobox manually using itemEvent
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, pVal As SAPbouiCOM.IItemEvent, BubbleEvent As Boolean)
         Select Case pVal.ItemUID      
              Case "RCB1": '//combobox object not using datasource
                        If pVal.EventType = et_COMBO_SELECT Then
                            If pVal.BeforeAction = False Then
                                SBO_Application.MessageBox "combo1->" & oRBA.oComboBox.Selected.Description  '<<<< will get a description = aaa or bbb
                            End If
                        End If
              Case "RCB2": '//Combobox object that using datasource
                        If pVal.EventType = et_COMBO_SELECT Then
                            If pVal.BeforeAction = False Then
                                SBO_Application.MessageBox "combo2->" & oRBA.oUserDataSource.Value            '<<<< will get a descriptian = 1 or 2
                                SBO_Application.MessageBox "combo2->" & oRBA.oComboBox2.Selected.Description '<<<< will get a description = aaa or bbb
                            End If
                        End If
         end select
    end sub
    '===============================================================
    Hopefully this will Help You Anoop
    Regards
    Ancumen

  • Combo Box Rebinding issue

    For rebinding a combobox in a listview header, am making itemsource of combobox to null then i got this error-"Cannot call StartAt when content
    generation is in progress".can anyone help me to fix this issue.

    Hello inforich,
    From your description, it is hard to tell which forum this issus belongs to, if it is windows form, you could post it to:
    https://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    If it is WPF, you could post it to:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
    The current forum you posted to is used to Discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Combo box issue

    Hi Experts,
    I'm developing a VC application which has a combo box.
    I'm dynamically filling entries in the combo box.
    Issue is:
    All enteries are visible while executing the application.
    When i select a entry, the selected entry alone is available, other entries are removed.
    Any idea of how to get back my dynamic list in my combo box???
    Thanks

    Suba,
    The forum that you have posted your question in is for questions related to the SAP Business One Integration for SAP NetWeaver.  Your question is related to the Business One SDK.  Please post SDK questions in the SAP Business One SDK Discussion Forum here ....
    SAP Business One SDK
    Eddy

  • Performance issue with Combo Box in xcelsius 2008 SP3

    Hi Experts ,
    I started working on xcelsius 2008 , Later we migrated to Xcelsius 2008 SP3 . After migrting , performace of combobox went down and combox is taking time to scroll down the values . Did any one face this issue . Please help me out . My customer he is worried about Combo box performance .
    Many thanks in advance .
    Regards,
    Dirasa

    Hi,
    Even I am facing the same issue...kindly let me know if you were able to make it work...or fix it.
    Thanks in advance
    Seema

  • Display issue with Combo Boxes and Logo

    Hi All,
    I am facing a couple of issues with my dashboard:
    1. Combo boxes display - I have placed a series of combo boxes one below the other. During the preview, when I click on the first combo box, the values spread below. That is, the labels, and options of the next combo box are also visible. The options in the combo box are not seen clearly. I have tried many permutations and combinations with "Bring Forward +" and "Send Back -" but none of them seem to work. For example, keeping the first combo as bring forward and next one as send back etc. Can you please help me in this regard?
    2. Logo - I have used image component and embedded a logo from my local system. Later I saved the xlf in the repository. When I import the xlf from the platform, it displays the logo fine. But however, this behavior is not constant. It sometimes doesn't show the image. Do I have to save the image also in the repository? or in a common shared folder? If I embed the logo does it not mean that the xlf hold the copy?
    Any help in this regards is highly appreciated.
    Thanks and regards,
    Sandeep.

    Hi:
       For your question
    1) Do you need your combox overlapped? I tried to overlap my comb box and preview it, seems works fine for me. it only chooses the first comb box. But I am suggesting that if you want to show/hide the different combox in the same position at run time, you can try to control the visibility by some other component.
    2) The answer is NO, the image embedded in the image component will be saved to xlf file, there is no need to save it individually. Try to clean your cache files in your machine and do it again.
    Hope it helps.

  • Issues with Data Grid Combo Boxes

    Hi,
    I am trying to implement, 3 combo boxes for each row in extended data grid but unable to find the solution. Can someone please help?
    Problem in detail:
    The issue is after populating the data grid i want to give users 3 options  using 3 combo boxes(i.e each row in data grid will now have 3 options , which is basically converting 1 row into 3 rows with 3 options),so that they are able to do their computations.
    This is reallly urgent, any help would be highly appreciated.
    Thanks & Regards
    Pankaj

    "In this new release of SQL Dev, when I execute a SQL in the SQL Worksheet and click in the Data Grid in the Results tab and try to navigate within a record using arrow keys, the grid cell enters into edit mode by default and so I cannot use the Left or Right arrow keys to navigate the grid. I am forced to use tab key to navigate. This is counter intuitive in my opinion."
    In the "Results" tab, Click Ctrl & Tab keys (at the same time) or with mouse click on any cell other than the first column (a sequence or rownum), you will be able to navigate using the arrow keys.
    "Another issue that I have come across is with SQL syntax checking. In some cases, when I press F9 to execute a SQL, it shows the SQL as executed i.e. shows something like 0.0134 seconds in the toolbar and no results displayed. In reality, the SQL had some syntax error which were NOT reported. This can be frustrating since now I have to fall back to SQL*Plus or TOAD just for syntax check."
    The 0.0134 seconds could be the result of the most recently executed successful statement. Check the Script Output tab for errors. Use F5 (Run Script option) instead of F9.
    "I like the fact that SQLDev highlights the current SQL but it would be more useful if it just indicated the first line of the current sql instead of highlighting the whole sql."
    On the SQL statement (or code), Right Click -> Format SQL (or press Ctrl & B), proper formatting would help.
    I use version 1.0.0.15.57 and seems to be working allright.
    - Babu Rangasamy

  • A data-binding issue with a combo box.

    Hi,
    Iu2019m having a data-binding issue with a combo box.  The field it is bound to is an integer.  The valid values in the combo box are 1, 2, and 3.  If I add a record when it is set to 1 or 2, the value gets stored correctly.  If I add a record when it is set to 3, it is stored as 1.  However, I can bring up the record just added on the form, change it to 3, and click u201CUpdateu201D and it is saved correctly as 3.  If I change it so that the valid values are 4, 5, and 6, it saves a 1 regardless of what is selected in the combo box.  It looks like the combo box is correctly bound for updates but not for adds.  The table is a master type UDO.  Any ideas?  Iu2019m somewhat committed to the field being an integer.  I'm using 2007A PL47.
    Thanks,
    Mike
    Edited by: Mike Angelastro on Jul 1, 2009 2:43 PM

    I tried a few things on my own.  The result is that I decided that it was not a good idea to use a combo box bound to an integer (numeric) field.  I donu2019t think the SDK can handle it.  The reason it was an integer field in the first place is that before I changed it to a combo box it was a group of two option buttons.  Option buttons use an integer (numeric) field.  This worked just fine until I added a third option; the SDK didnu2019t handle the third option correctly when adding records.  I thought that using a combo box instead would fix that.  I was wrong; the problem remained.  So I decided to use a character (alphanumeric) field instead.  This works just fine.
    So here is my advice:  Never use option buttons if they need to be bound to the database; a combo box will actually work better when bound to the database.  But use a character (alphanumeric) field.
    Edited by: Mike Angelastro on Jul 5, 2009 9:15 PM

  • List item (combo box) issues...

    Hi,
    I have a form I'm creating that returns several records based on a query that the user may edit. I do not base these items on database values, but rather control the data within the form. I have created dynamic combo boxes for the return values (ie, they're only visible when valid values are returned to them). Basically, when I click on a combo box after the items have been populated, I want to populate the combo box, but exclude the values in the remaining combo boxes restraining the user from trying to specify the definition for a value type twice. I'm running into two problems. First, I use the when-mouse-click trigger on the combo box to populate the values, however, it seems it's automatically generating a scrollbar within the combo box, showing two arrows (which I don't want but can't seem to disable). Also if a user clicks on it twice, it's continuing to add values. I have used the clear_list function, but that seems to be causing other problems such as removing one value, but leaving another and after 2 clicks stops working. Has anyone done something similar or have an idea as to how I might get the functionality I want?
    Thank you.

    Can u try to attach a record group to the list item
    and you only populate record group with commands
    1. Create record group with 2 columns
    2. Populate the group
    FUNCTION POPULATE_GROUP
    (recordgroup_id RecordGroup);
    3.Populate list
    PROCEDURE POPULATE_LIST
    (list_id ITEM,
    recgrp_id RecordGroup);
    this way you will have better control.Hi,
    This actually worked great. Thank you!
    The only issue I'm still having is the initial when-mouse-click action is bringing up a scrollbar and minimizing what you can view to one value inside the existing list item, but allowing you to scroll through the list displaying one item at a time (within the list item). If I click twice, the scrollbar disappears, but you still can't see the full list. If I click three times, it starts functioning the way I want it to on the initial click by displaying all values as a combo box list with no scrollbar (all values visible). Is there a behavior I'm overlooking that will force it to behave this way from the initial mouse click?
    Thank you again!

  • Search Engine issues and how to get multiple answers in combo box

    I'm doing a project in vb6 i have a data where when i search it should give multiple answers in combo box.
    example i have a debtor code each debtor code as more than one addresses when i search in one debtor code how can i get multiple addresses in the combo box. my search engine command
    as follows 
    Private Sub Command2_Click()
    Adodc1.Recordset.MoveFirst
    Adodc1.Recordset.Find "DEBTOR_CODE = '" & Text11.Text & "'"
    If Adodc1.Recordset.EOF = True Or Adodc1.Recordset.BOF = True Then
    MsgBox "Record Not Found!", vbApplicationModal
    Adodc1.Recordset.MoveFirst
    Me.Combo1.SetFocus
    Me.Combo1.ListIndex = Me.Text11.Text
    End If
    End Sub
    when i search in my text filed i should answer to the debtor code i'm finding and multiple answer in the combo box for the same debtor code.
    Please help ;( 

    Hello,
    This forum is for VB.NET for VB6 please review the links at
    the following page.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • Combo Box Use Global Data issue

    I am using a drop down combo box to select a name, and have checked specifiy item values, am using the item numbers in a switch statement to populate other text boxes depending on selection of drop down.  These same items appear several times in the form, so am setting them to use global data.  All work great except for the textboxes bound using global data to the drop down.  In those results, it's putting the item number, not the text value.  How do I get the text value to show instead of the item value?  Thank you!

    Resolved it by changing the switch statement to use the text value instead of item number, and unchecked the specify item values in the combo box.  I would be interested for future use to learn how to do this, but no worries if not.  At least the form is operating the way it needs to.  Thanks.

  • ABAP Webdynpro cannot display value help, combo box properly in IE ?

    Hi WDA expert,
    I have problem developing webdynpro in NW 7.0 EHP1 SPS02. All the combo box, value help, drop down input did not properly display using IE 7.0 / 8.0. It is something like create another  blank input beside the original object.
    but everything ok if i am using mozilla firefox.
    I am not sure what is the problem with this.
    Please help.
    Thank You and Best Regards
    Fernand.

    Hi Thomas,
    Thank you for your response, But i am still not able to solve the problem. Let me give you more detail information regarding this issue.
    are you using the Portal? The other poster in this thread seems to think so, but I don't see anything in your postings to indicate that. IE7 is supported on your release/SP level. IE8 is not supported until SPS5.
    => I am not using portal it is just normal test from SAP GUI. I am using IE 8.0.6001.18702. So far i have tested the sample webdynpro "WDR_TEST_SELECT_OPTIONS" to 4 different server (PID, PIQ, ECD, ECQ) all using the same version NW 7.0 EHP 1 SPS02. (i have check for ABAP and BASIS package). The problem only occur in PID (Initially the icm service is not start so i use transaction SICF to start the webdynpro service) not sure if there is missing java script library ?
    Please refer in this link for the different result screen capture below:
    http://i802.photobucket.com/albums/yy310/pisuper/WDA_DEV.jpg   --> error in PID
    http://i802.photobucket.com/albums/yy310/pisuper/WDA_QA.jpg    -
    > success in PIQ, ECD, ECQ
    I would recommend clearing your browser cache and the server side cache. For the server side cache go to transaction SMICM and choose Administration->ICM->Exit Hard->Global.
    I have restarted the whole server and i did again from SMICM. But still having the same problem like in the screen capture.
    Are you using a standard or customized theme?
    I am using standard theme base on demo "WDR_TEST_SELECT_OPTIONS"
    Base on my latest investigation seems like those 3 success server PIQ, ECD and ECQ always download this file ls_ie6.nosprite.css in the internet temporary directory, but then no for PID. 
    is that any idea or suggestion that i can try to solve this problem. it seems like some configuration was missing for the standard theme in PID
    Thank You and Best Regards
    Fernand Lesmana
    Edited by: Fernand Lesmana on Jun 16, 2010 3:52 PM

  • I need help. When i open combo box and click window redrawing (flickering)

    hi,
    I am developing HTML desktop app using adobe AIR.
    Thought i can use it like browser page. Its not able to handle all jquery ,bootstrap etc.
    So removed all . just created a simple form with static combo box with many values.
    When i opened combo box and selected value whole screen redrawing( you can see it flicker). Annoying as hell.
    When i click button or type in input field its not happening.
    Anyone have clue?. I tried this same page in TideSDK ( its not flickering there).
    But i am gona go with AIR because of update feature but i need to get rid of flickering issue before i go any further.
    Anyone here done HTML form in adobe air?
    Please help. I am having headache all day on this issue.
    Advanced Thanks .

    I meant flickering means...when i open combobox and click focus is going out of air window as though combobox is in some another window. once click press mouse down...focus is in combo box but window loses focus and once releases mouse ..window back to focus.  Kinda annoying effect when u try to click on combo box and select.
    Tested with html scout sample app and load any webpage with combobox , window loses focus.
    But any combobox made using EXT it do not flicker because ext handles focus event correctly.
    My windows has set of combo box and user always select different value from combo box if keep losing focus and coming back its annoying as hell.

  • How to Bind a Combo Box so that it retrieves and display content corresponding to the Id in a link table and populates itself with the data in the main table?

    I am developing a desktop application in Wpf using MVVM and Entity Frameworks. I have the following tables:
    1. Party (PartyId, Name)
    2. Case (CaseId, CaseNo)
    3. Petitioner (CaseId, PartyId) ............. Link Table
    I am completely new to .Net and to begin with I download Microsoft's sample application and
    following the pattern I have been successful in creating several tabs. The problem started only when I wanted to implement many-to-many relationship. The sample application has not covered the scenario where there can be a any-to-many relationship. However
    with the help of MSDN forum I came to know about a link table and managed to solve entity framework issues pertaining to many-to-many relationship. Here is the screenshot of my application to show you what I have achieved so far.
    And now the problem I want the forum to address is how to bind a combo box so that it retrieves Party.Name for the corresponding PartyId in the Link Table and also I want to populate it with Party.Name so that
    users can choose one from the dropdown list to add or edit the petitioner.

    Hello Barry,
    Thanks a lot for responding to my query. As I am completely new to .Net and following the pattern of Microsoft's Employee Tracker sample it seems difficult to clearly understand the concept and implement it in a scenario which is different than what is in
    the sample available at the link you supplied.
    To get the idea of the thing here is my code behind of a view vBoxPetitioner:
    <UserControl x:Class="CCIS.View.Case.vBoxPetitioner"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:v="clr-namespace:CCIS.View.Case"
    xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
    mc:Ignorable="d"
    d:DesignWidth="300"
    d:DesignHeight="200">
    <UserControl.Resources>
    <DataTemplate DataType="{x:Type vm:vmPetitioner}">
    <v:vPetitioner Margin="0,2,0,0" />
    </DataTemplate>
    </UserControl.Resources>
    <Grid>
    <HeaderedContentControl>
    <HeaderedContentControl.Header>
    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
    <TextBlock Margin="2">
    <Hyperlink Command="{Binding Path=AddPetitionerCommand}">Add Petitioner</Hyperlink>
    | <Hyperlink Command="{Binding Path=DeletePetitionerCommand}">Delete</Hyperlink>
    </TextBlock>
    </StackPanel>
    </HeaderedContentControl.Header>
    <ListBox BorderThickness="0" SelectedItem="{Binding Path=CurrentPetitioner, Mode=TwoWay}" ItemsSource="{Binding Path=tblParties}" />
    </HeaderedContentControl>
    </Grid>
    </UserControl>
    This part is working fine as it loads another view that is vPetioner perfectly in the manner I want it to be.
    Here is the code of vmPetitioner, a ViewModel:
    Imports Microsoft.VisualBasic
    Imports System.Collections.ObjectModel
    Imports System
    Imports CCIS.Model.Party
    Namespace CCIS.ViewModel.Case
    ''' <summary>
    ''' ViewModel of an individual Email
    ''' </summary>
    Public Class vmPetitioner
    Inherits vmParty
    ''' <summary>
    ''' The Email object backing this ViewModel
    ''' </summary>
    Private petitioner As tblParty
    ''' <summary>
    ''' Initializes a new instance of the EmailViewModel class.
    ''' </summary>
    ''' <param name="detail">The underlying Email this ViewModel is to be based on</param>
    Public Sub New(ByVal detail As tblParty)
    If detail Is Nothing Then
    Throw New ArgumentNullException("detail")
    End If
    Me.petitioner = detail
    End Sub
    ''' <summary>
    ''' Gets the underlying Email this ViewModel is based on
    ''' </summary>
    Public Overrides ReadOnly Property Model() As tblParty
    Get
    Return Me.petitioner
    End Get
    End Property
    ''' <summary>
    ''' Gets or sets the actual email address
    ''' </summary>
    Public Property fldPartyId() As String
    Get
    Return Me.petitioner.fldPartyId
    End Get
    Set(ByVal value As String)
    Me.petitioner.fldPartyId = value
    Me.OnPropertyChanged("fldPartyId")
    End Set
    End Property
    End Class
    End Namespace
    And below is the ViewMode vmParty which vmPetitioner Inherits:
    Imports Microsoft.VisualBasic
    Imports System
    Imports System.Collections.Generic
    Imports CCIS.Model.Case
    Imports CCIS.Model.Party
    Imports CCIS.ViewModel.Helpers
    Namespace CCIS.ViewModel.Case
    ''' <summary>
    ''' Common functionality for ViewModels of an individual ContactDetail
    ''' </summary>
    Public MustInherit Class vmParty
    Inherits ViewModelBase
    ''' <summary>
    ''' Gets the underlying ContactDetail this ViewModel is based on
    ''' </summary>
    Public MustOverride ReadOnly Property Model() As tblParty
    '''' <summary>
    '''' Gets the underlying ContactDetail this ViewModel is based on
    '''' </summary>
    'Public MustOverride ReadOnly Property Model() As tblAdvocate
    ''' <summary>
    ''' Gets or sets the name of this department
    ''' </summary>
    Public Property fldName() As String
    Get
    Return Me.Model.fldName
    End Get
    Set(ByVal value As String)
    Me.Model.fldName = value
    Me.OnPropertyChanged("fldName")
    End Set
    End Property
    ''' <summary>
    ''' Constructs a view model to represent the supplied ContactDetail
    ''' </summary>
    ''' <param name="detail">The detail to build a ViewModel for</param>
    ''' <returns>The constructed ViewModel, null if one can't be built</returns>
    Public Shared Function BuildViewModel(ByVal detail As tblParty) As vmParty
    If detail Is Nothing Then
    Throw New ArgumentNullException("detail")
    End If
    Dim e As tblParty = TryCast(detail, tblParty)
    If e IsNot Nothing Then
    Return New vmPetitioner(e)
    End If
    Return Nothing
    End Function
    End Class
    End Namespace
    And final the code behind of the view vPetitioner:
    <UserControl x:Class="CCIS.View.Case.vPetitioner"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
    mc:Ignorable="d"
    Width="300">
    <UserControl.Resources>
    <ResourceDictionary Source=".\CompactFormStyles.xaml" />
    </UserControl.Resources>
    <Grid>
    <Border Style="{StaticResource DetailBorder}">
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <TextBlock Grid.Column="0" Text="Petitioner:" />
    <ComboBox Grid.Column="1" Width="240" SelectedValuePath="." SelectedItem="{Binding Path=tblParty}" ItemsSource="{Binding Path=PetitionerLookup}" DisplayMemberPath="fldName" />
    </Grid>
    </Border>
    </Grid>
    </UserControl>
    The problem, presumably, seems to be is that the binding path "PetitionerLookup" of the ItemSource of the Combo box in the view vPetitioner exists in a different ViewModel vmCase which serves as an ObservableCollection for MainViewModel. Therefore,
    what I need to Know is how to route the binding path if it exists in a different ViewModel?
    Sir, I look forward to your early reply bringing a workable solution to the problem I face. 
    Warm Regards,
    Arun

  • Difference between Combo Box and Dropdown List

    Hi All,
    I would like to know the difference between the elements 'Combo box' and 'Dropdown List' in VC. I am facing an issue where i am invoking an entry list and the output of the first element the entry list returns is getting reflected as the output for all the elements...
    So even if 2nd and 3rd row of the o/p from the entry list is giving only 2 items, if the 1st row returns only 1 then we are able to see only 1 item. Its as if the 1st row decides the items to be returned for all the rows.
    Please help.

    Hi Hezi,
    I have 2 columns in my table. First column is 'material number' and the 2nd one is 'production version'. There can 1,2 or 3 production version for each material. [This information is stored in the backend] This is retrieved through a method which invokes a bapi which in turn retrieves from the backend.
    I have provided a dropdown list for the 'production version' column. Lets say there are 2 rows. Material 1 and material 2. Lets say material 1 has 1 production version and material 2 has 2 production version. So rightfully speaking i should have 1 option in the dropdown for material 1 and 2 for material 2.
    But what i seeing is only 1 option for both the materials. This is wrong.
    Is there something that can be done to ensure that each row reflects the correct no. of options in the dropdown?

Maybe you are looking for

  • Printing with a networked Canon iR 3220 and my Intel iMac

    I am at my wits end and I hope someone can help. I am the sole Mac user in my company. I have a brand new, shiny 24" dual processor (intel) iMac running OS 10.4.9, that is connecting wirelessly to our network. We have a mixture of IIS and Linux serve

  • Itunes wont even come up!!!!

    i just downloaded the new itunes 7 but i wont work every time i click on it it says, 'Quicktime Version 7.0d0 is installed, Itunes requires Quicktime version 7.1.3 or later plaease reinstall intunes' but i already did several times and i restarted my

  • Build problems with mxmlc on Linux

    I am using mxmlc on linux and cannot get some things to compile. I took the following code directly from the adobe documentation and tried to compile it using "mxmlc Application.xml" (the file is called Application.xml): <?xml version="1.0"?> <!-- ch

  • Converting from a double to scientific notation

    does anyone know how I can convert a double value to scientific notation?

  • Validation problem in Internet Explorer (Was: Internet Explorer problem)

    Ive found a problem on my website ive got customer details as seen below, but the validation doesn't work in Internet Explorer. So for example the date is a validation, if i dont enter anything in there then it stills go to the next page. Any ideas o