Cannot have multiple items selected in a DropDownList when edit the forum in sharepoint

hi ,
i  have custom forum for new and edit, in new forum we have controls drop down values, when select drop down1   values that related values are displayed in dropdown2 , when edit  item  that  time we getting error
Cannot have multiple items selected in a DropDownList.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Cannot have multiple items selected in a DropDownList.
Source Error:
HttpException (0x80004005): Cannot have multiple items selected in a DropDownList.]
System.Web.UI.WebControls.DropDownList.VerifyMultiSelect() +124
System.Web.UI.WebControls.ListControl.RenderContents(HtmlTextWriter writer) +10956501
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +42
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +13
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +42
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
ASP._controltemplates_amat_appayrequest_webparts_appayrequest_appayrequestusercontrol_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\CONTROLTEMPLATES\AMAT.APPayRequest.Webparts\APPayRequest\APPayRequestUserControl.ascx:350
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +253
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +42
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
System.Web.UI.Page.Render(HtmlTextWriter writer) +38
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240

Hello,
Could you please share your code with us? Also explain how you are binding DDL.
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help

Similar Messages

  • Get Node Key Multiple Items Selected  from ALV tree

    Hello Experts,
    I'm having a problem in getting Node keys for the items displayed as ALV tree.
    I'm able to get Node key, when only ONE record (Item) is selected.
    But, when I select multiple items under a Single node am not able to read(get) the node keys for all the selected items.
    I'm using the classCL_GUI_ALV_TREE.
    I have tried using the method GET_CHECKED_ITEMS, but not getting the keys.
    method GET_SELECTED_ITEM is giving node for a single item. I need it for multiple items selected.
    Thank you for your time.
    -SANGAR

    Hi,
    You need to use checkbox concept. and use method GET_CHECKED_ITEMS get selected items
    please check this tread.
    CL_GUI_ALV_TREE and Checkboxes
    aRs

  • HT5019 I connect my macbook pro to an Epson wireless projector. The macbook can see the projector wirelessly and the image on the macbook is displayed on the projector. However on system ref., the arrangement tab does not show and thus cannot have multipl

    I connect my macbook pro to an Epson wireless projector. The macbook can see the projector wirelessly and the image on the macbook is displayed on the projector. However on system ref., the arrangement tab does not show and thus cannot have multiple view.
    I am trying to project Pro Presenter on the Epson projector such that I have the detail screen on the macbook and only the screen I want people to see on the projector display. This has not been possible because the arrangement tab on the Display section of the System Preference is not showing. If i tried to search for the arangement, it comes back with the message that there is not other source detected, hence the arrangement tab is not showing.
    I have also tried to connect the Epson directly to the Macbook but it still the same result, so its not because it is a wireless connection. Can someone advise me jhow to go around this problem. I have used windows before and it is very easy to extend ptojection on windows, but this system seems to be frustrating to me.
    Thanks,
    Toks

    Hi Toksyb!
    You may want to try clearing out the PRAM on your computer. This process is explained through this article:
    About NVRAM and PRAM
    http://support.apple.com/kb/ht1379
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Cannot have multiple domain controllers with Essentials role in 2012 R2 Standard/Datacenter

    Microsoft's Technet post on deploying Essentials Role in an existing AD environment states the following:
    "The online service integration features only work when the server is a domain controller. Also, integration cannot be initiated if there are multiple domain controllers in the environment. The product team is investigating possible solutions."
    http://blogs.technet.com/b/sbs/archive/2013/10/28/enabling-multiple-instances-of-windows-server-essentials-experience-in-your-environment.aspx
    Microsoft Essentials Role product team, can you let us know when this will be fixed? I will not be installing Essentials as a Role if I cannot have multiple domain controllers.
    As soon as I add another domain controller the Essentials role no longer functions as designed.
    This is quite an oversight by your team. Can we have an ETA for a fix to this please?
    Here are more with the same issue:
    http://social.technet.microsoft.com/Forums/en-US/ed34abe9-6412-415d-950a-50c9675deb2e/unable-to-register-essentials-experience-role-with-microsoft-online-services?forum=2012R2EssentialsPreview

    Hi. We can't give ETA. Most user there that help does not work for Microsoft. (and if a Microsoft's employee help, then it's on it's free time at home or during break)
    Thus, for that reason, please call the support to get a good answer on the ETA is it's planned or not. Be advised that the essential's version replaced the SBS, thus it target small office, such limitation can stay for a long time IMO.
    Regards, Philippe

  • Events cannot have multiple exceptions for the same date

    I just starting getting this message and could not sync to one of my Google calendars. I'm posting this for others who might get the same problem.
    I didn't find the answer on these forums but did find it on this thread on Google:
    http://www.google.com/support/forum/p/Calendar/thread?tid=241155f758d9e2a4&hl=en
    Here's the important excerpt:
    "I had a client, who just had this same issue, nothing to do with Google cals.
    It was apparently, in my best guess, a corruption of the subscribed cal.
    *I did a get info on the cal, copied the URL, deleted the cal, then re-subscribed to it by pasting in the URL, and now it's working fine*."

    I've been having the same problem with my iCal calendars and the "Events cannot have multiple exceptions for the same date" error. Once it gets going, it uses up a lot of the CPU and resources. After reinstalling iCal, all my calendars were missing and I could not even resubscribe to them.
    I took my MacBook Pro to the Apple Store, and they were able to solve the problem by moving some of the iCal files from their existing folders out to the desktop, and reopening the program. That got it working, however, now I'm having the same problem again. So back to square one. Anyone else having this issue and know the cause?
    My setup is my MacBook Pro uses Entourage, use that calendar in my iCal. And I subscribe to two calendars my wife publishes on her Macbook. We're both using Snow Leopard.

  • Cannot have multiple DOCTYPE declarations

    I discoverd that my application gives an error when i'm using Internet Explorer 6.
    It says: Cannot have multiple DOCTYPE declarations.
    With the view source option I see twice a doctype declaration. Although in my JDeveloper project there is only one jsp:output tag with the doctype declaration.
    When i'm using IE7 or Firefox i don't get the error. Can anyone tell me why JDeveloper generate the DOCTYPE declaration twice and how i can fix this?!

    I found out a solution...
    There is a jsp:output tag in the source who prints the Doctype ones and the other is being generated by the <afh:html> tag.
    If you delete the jsp:output tag the problem is solved...

  • I get an error message when I try to open Firefox, telling me I cannot have multiple copies open.

    I'm using a G5 Power Mac. I have several internal hard drives. I also have two copies of Firefox. I have started up using a different drive and now when I try to open Firefox, I get the message that I cannot have multiple copies of the program open at the same time, but there not...

    See: http://support.mozilla.com/en-US/questions/796303
    The user-agent detection was incorrectly identifying FF4 as a mobile browser, in turn redirecting to a mobile version. Install the following addon to workaround this problem until it's fixed: https://addons.mozilla.org/en-us/firefox/addon/xhtml-mobile-profile/
    Barb

  • I have been using the Firefox feature in which I could have multiple sets of tabs open but see only the set I was working with. I updated and now feature is gon

    I have been using the Firefox feature in which I could have multiple sets of tabs open but see only the set I was working with. I updated and now feature is gone. I had a small icon on the upper right side of my toolbar. I used it all the time to keep separate windows for news, financial items, travel plans, etc. Has this been removed from Firefox?

    Hi,
    The [https://support.mozilla.org/en-US/kb/tab-groups-organize-tabs Tab Groups] feature is still present. You can try to right-click the + after the last tab and [https://support.mozilla.org/en-US/kb/how-do-i-customize-toolbars Customize]. If the icon is hidden behind another, or if it's available inside the Customize mini window, you can place it back. If the problem persists, you can also try to '''Reset toolbars and controls:''' and '''Make Changes and Restart''' [https://support.mozilla.org/en-US/kb/Safe%20Mode Safe Mode] start screen.

  • The calendar icon on my iphone 6 shows that I have 2 items in my inbox but when I click on it it does not open the inbox but goes black for a second and then returns to iphone

    The calendar icon on my iphone 6 shows that I have 2 items in my inbox but when I click on it it takes me to the full year calendar, at bottom of screen it says Inbox (2) - when i click on that the screen goes black for a second and then defaults back to the home screen. Have tried everything, rebooting, reinstalling, refreshing - very frustrating - can someone help?
    Thanks

    Try This...
    Close All Open Apps... Sign Out of your Account...  Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • I have 3 i phones.  Can I have multiple accounts on one computer where it keeps the contacta and calendar for each?

    I have 3 i phones.  Can I have multiple accounts on one computer where it keeps the contacta and calendar for each?

    My daughter and I both have iphones. I created an account (not separate itunes) for her on my computer so she could sync her phone/itunes but not have it interfere with mine since we have WAY different taste in music. Creating a different computer profile should work if you have separate itunes accounts, too.
    If you all use the same itunes account, you can turn on Home Sharing. That way you can all download the same content without having to pay for it again. Not sure how or if that works with separate itunes accounts.
    Hope that helps!

  • HT4847 Can I have multiple users's family devices backed up to the cloud e.g. 2 iPhones and 2 iPads under the same iTunes account

    Just got a second iPad for the home.
    Can I have multiple users's family devices backed up to the cloud e.g. 2 iPhones and 2 iPads under the same iTunes account?

    Yes, but it's not usually recommended to share an iCloud account within a family.  If you do, any data you sync with iCloud will be merged and you, for example, will end up with each other's contacts and calendars on your devices.  Also, any action taken on one device (such as adding or deleting a contact) will be replicated on the other devices.  You will also all be sharing the same 5GB of free storage for all your data and device backups.
    Normally it's best to use separate iCloud accounts for each person's devices.  This will keep your data separated, and allow each person to have their own free 5GB of storage.  You can continue to share the same iTunes ID within the family; the ID you use for iCloud does not need to be the same as the one your use for iTunes purchasing.  (Each person should also use a separate ID on their devices for iMessage and FaceTime to avoid getting each other's text messages and FaceTime calls.)

  • Multiple Item selection

    Hi,
    I wanted to know if this scenario is possible to code in forms:
    You have a forms with 2 side by side window. In the left window there are records.
    The right window is empty. I want to select (multiple) items in the left window and bring them to the right window by using these buttons:
    , >>,Is there some base code that already exists from this?
    Thanks in advance,
    Marc.

    Ok,
    I've downloaded the forms demos for 10g.
    I'm following the instructions at:
    3 Modify the OC4J Configuration3a Modify orion-web.xml
    This step will create the virtual directories and servlet mappings for the HTTP listener, which are used by the demos.
    Using a text editor, open the following file:
    %ORACLE_HOME%\j2ee\DevSuite\application-deployments\forms\formsweb\orion-web.xml
    Add the following lines within the <orion-web-app> tags, making sure to replace %ORACLE_HOME% with the correct value:
    <classpath path="%ORACLE_HOME%/forms/java/frmjdapi.jar" />
    <classpath path="%ORACLE_HOME%\forms\demos/metadatabrowser/classes" />
    <virtual-directory virtual-path="/formsdemo" real-path="%ORACLE_HOME%\forms\demos" />
    To be sure you have the placement correct, your file should look something like the following:
    <?xml version="1.0"?>
    <!DOCTYPE orion-web-app PUBLIC "-//ORACLE//DTD OC4J Web Application 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-web-9_04.dtd">
    <orion-web-app
    deployment-version="10.1.2.0.2"
    jsp-cache-directory="./persistence"
    temporary-directory="./temp"
    servlet-webdir="/servlet/"
    >
      <context-param-mapping name="configFileName">c:\oracle\ids1012/forms/server/formsweb.cfg</context-param-mapping>
      <virtual-directory virtual-path="/html" real-path="c:\oracle\ids1012/tools/web/html" />
      <virtual-directory virtual-path="/java" real-path="c:\oracle\ids1012/forms/java" />
      <virtual-directory virtual-path="/jinitiator" real-path="c:\oracle\ids1012/jinit" />
      <session-tracking cookies="disabled" />
      <!-- Uncomment this element to control web application class loader behavior.
      <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
      -->
      <classpath path="c:\oracle\ids1012/forms/java/frmjdapi.jar" />
      <classpath path="c:\oracle\ids1012\forms\demos/metadatabrowser/classes" />
      <virtual-directory virtual-path="/formsdemo" real-path="c:\oracle\ids1012\forms\demos" />
    </orion-web-app>
    3b Modify web.xml
    Using a text editor, open the following file:
    %ORACLE_HOME%\forms\j2ee\formsapp\formsweb\WEB-INF\web.xml
    Find where this text is located:
    <servlet>
      <servlet-name>lservlet</servlet-name>
      <servlet-class>oracle.forms.servlet.ListenerServlet</servlet-class>
    </servlet>
    and put the following text after it:
    <!-- Forms JDAPI Metadata Browser Servlet -->
    <servlet>
      <servlet-name>FormsBrowser</servlet-name>
      <servlet-class>oracle.forms.jdapi.util.FormsBrowser</servlet-class>
    </servlet>
    You should end up with the following:
    <servlet>
      <servlet-name>lservlet</servlet-name>
      <servlet-class>oracle.forms.servlet.ListenerServlet</servlet-class>
    </servlet>
    <!-- Forms JDAPI Metadata Browser Servlet -->
    <servlet>
      <servlet-name>FormsBrowser</servlet-name>
      <servlet-class>oracle.forms.jdapi.util.FormsBrowser</servlet-class>
    </servlet>
    In the same file, now find the following text:
    <servlet-mapping>
      <servlet-name>lservlet</servlet-name>
      <url-pattern>/lservlet*</url-pattern>
    </servlet-mapping>
    and put the following text after it:
    <servlet-mapping>
      <servlet-name>FormsBrowser</servlet-name>
      <url-pattern>/FormsBrowser*</url-pattern>
    </servlet-mapping>
    You should end up with the following:
    <servlet-mapping>
      <servlet-name>lservlet</servlet-name>
      <url-pattern>/lservlet*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
      <servlet-name>FormsBrowser</servlet-name>
      <url-pattern>/FormsBrowser*</url-pattern>
    </servlet-mapping>
    3c Verify the changes
    Start OC4J.  If you're not sure how to do that, refer to Appendix 1 for instructions.  If OC4J was already running when you made these changes then you need to restart it first.
    Once OC4J is running (or re-started), enter the following URL, replacing <host> and <port> with the correct values:
    http://<host>:<port>/forms/formsdemo/images/tick.gif
    If you are using Oracle Developer Suite, the URL might look like this:
    http://127.0.0.1:8889/forms/formsdemo/images/tick.gif
    You should see this image:Well the thing is I don't see anything and I get the Error page in my browser:
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    Please try the following:
    If you typed the page address in the Address bar, make sure that it is spelled correctly.
    Open the nca7445782e.hrdc-drhc.net:8889 home page, and then look for links to the information you want.
    Click the  Back button to try another link.
    Click  Search to look for information on the Internet.
    HTTP 404 - File not found
    Internet Explorer
    Can someone help me???
    Thanks,
    Marc.
    IGNORE THIS MESSAGE.
    Everything is OK.
    Message was edited by:
    MARC LAF

  • List Box - Object  How do you get "allow multiple item selection" option to work?

    developing a fillable PDF form using livecycle. I have several list boxes that contain multiple text items. I have entered all items directly into the item list and I have selected "allow multiple selection". The object is committed on exit, All the binding options have been left on default settings. BUT when the form is tested it will not allow multiple selections. I cannot find anything in help to resolve this. CAN Someone help me. This is urgent!!!!!

    Dear Deb
    Thank you for your suggestion, but it does not appear to work. I used the alt key then my mouse to select, but it still only allows for 1 selection.  I do not see the sample you said you included, so I cannot check to see if I have a setting incorrect. If you have any other suggestions I would really appreciate it or if there is a way for you to look at the form, at this point I am open to any suggestions.

  • I have multiple email accounts in my iPhone. Before the 6.0 update... I could select what account to send from. Now it's a default. Do I have to go change the email default everytime I want to send an email from a different account?

    I have multiple email accounts in my iPhone 4. Before the 6.0 update... I could select what account to send from each time. Now it's a default. Do I have to go change the email default setting everytime I want to send an email from a different account?

    In Mail Preferences/Accounts/each GMail account, set up the SMTP Outgoing Server for each account separately, going into SMTP name/edit/Advanced and specify the Username of each account.  The Outgoing servers must be two different servers, authenticated by the Username and Password of each.
    Otherwise, the GMail SMTP server will change the from address to that of the account where the SMTP server was setup.
    Ernie

  • For multiple item selection in Table

    Plz use this code and paste it in perticular event of button. when u excute the application ,To select multiple items plz catch shift in keyboard otherwise u can select only single item.
    int n = wdContext.nodeProducts().size();
        int leadSelected = wdContext.nodeProducts().getLeadSelection();
        // loop backwards to avoid index troubles
        for (int i = n - 1; i >= 0; --i) {
          if (wdContext.nodeProducts().isMultiSelected(i) || leadSelected == i) {
            wdContext.nodeProducts().removeElement(wdContext.nodeProducts().getElementAt(i));

    Hi Vishal
    Thats the way the webdynpro table has been designed to work for multiple selection...on click of the Ctrl key or Shift key. There is no other alternative for this.
    What would your question be?
    Thanks
    oj

Maybe you are looking for