Awt.List Flicker when adding many items.

I need to add a lot of items to an awt.List (around 100),
is there a way to do this off-screen so that it wont flicker
like crazy while I'm adding the items in a loop?
Thanks,
Rob.

you can make your list invisible setVisible(false) when it performed the adding make it visible.You can use Thread.sleep() to stay for a while till adding has not been done!
hope it will match with ur requirements

Similar Messages

  • C#: when adding listview items the screen flashes and only single listview column loads?

    When adding listview items, the listview1 items flash and only the first listview column loads (there are 5 columns in all)?
    Background...
    I was having cross-threading issues on 3 form components which I was able to resolve (see
    code here). Now I think the soluiton which involves creating a delegate and performing an "InvokeRequired" check (see
    what I used), I'm having an issue passing 5 values for each column. Below is the code involved calling this invoking check for each and their methods.
    Before having the cross-thread issue the "listview1.Items.Add(values.text) add the comma separated string values to the appropriate columns, but that doesn't happen through the cross-thread fix required.
    The "Loading()" method is handled through and async/await method causing the initial cross-thread issue.
    private void Loading()
    int t = 1;
    foreach (string line in scripts)
    string[] listValues = line.Split(',');
    ListViewItem values = new ListViewItem(listValues);
    if (t == 1)
    AddColumn("Script Name", 200); // Creates column headings
    AddColumn("Date and Time", 150);
    AddColumn("SID", 75);
    AddColumn("Environment", 75);
    AddColumn("Client", 75);
    t++;
    else
    if ((values.Text != "") && (values.Text != "Script Name"))
    //listView1.Items.Add(values);
    AddItem(values.Text);
    if (!dictScript.Contains(values.Text))
    dictScript.Add(values.Text);
    //cbxScriptList.Items.Add(values.Text);
    AddScript(values.Text);
    private void AddItem(object o)
    if (this.listView1.InvokeRequired)
    AddItemCallback d = new AddItemCallback(AddItem);
    this.Invoke(d, new object[] { o });
    else
    { // code that adds item to listView (in this case $o)
    listView1.Items.Add(o.ToString());
    private void AddScript(object o)
    if (this.listView1.InvokeRequired)
    AddCBXCallback d = new AddCBXCallback(AddScript);
    this.Invoke(d, new object[] { o });
    else
    { // code that adds item to listView (in this case $o)
    cbxScriptList.Items.Add(o.ToString());
    private void AddColumn(object o1, object o2)
    if (this.listView1.InvokeRequired)
    AddColCallback d = new AddColCallback(AddColumn);
    this.Invoke(d, new object[] { o1, o2 });
    else
    { // code that adds item to listView (in this case $o)
    listView1.Columns.Add(o1.ToString(), (int)o2); // Creates column headings
    SV

    Ok, I still have the flickering issue, I could use some guidance on that. And I should note that before I had the code-threading issue, I never had any flickering, it all appeared simultaneously.
    However, I was able to populate all columns (5 in all).  I had two corrections to make.
    1) My method should not have been passing the parameter as text but as the object ListViewItem:
    // Not This...
    AddItem(values.text)
    // This is Correct...
    AddItem(values)
    2) Then I needed to cast my object as a ListViewItem in my method call:
    private void AddItem(object o)
    if (this.listView.InvokeRequired)
    AddItemCallback d = new AddItemCallback(AddItem);
    this.Invoke(d, new object[] { (ListViewItem)o });
    else { // code that adds item to listView (in this case $o)
    listView1.Items.Add((ListViewItem)o);
    SV

  • Raport is extremely small when too many items in multivalue filter selected.

    Hello,
    I have a problem with report built in SSRS and deployed with Dashboard Designer to Sharepoint. There are few filters connected to report, 2 of them are multivalue. Regardless of data returned, when I select too many items in filter, the report is getting
    super small. It doesn't matter what you select, size changes when you select exact number of items or more. I replaced report with single line (filters where still conected) - result was the same.
    Small amount of items selected:
    More items selected:
    Size of the raport in Dashboard Designer is set to "Percentage of dashboard page", when I selected autosize, result was the same. I don't understand the behaviour of this report, do you know what is going on?
    Thanks in advance,
    MichalGo

    Yes, I deleted table and all other items from it, put line from toolbox and uploaded (filters were still connected to the dataset). The result was the same. 

  • Added many items to my iTunes wish list last night but today it is empty?

    Hi,
    I added lots of items to my iTunes wish list using my AppleTV last night but today when I went to check my wish list using iTunes on my desktop it is empty - does anyone know any reason why this might happen?

    The older version of iTunes does not read the wish list from AppleTV, 11.1.4 finally supports wish list.  I'm trying now to find out if here if I have to upgrade my firmware for iTunes to see it.
    https://discussions.apple.com/message/24607948#24607948
    I've noted before when I updated the firmware the wish list was vanquished from the AppleTV.

  • Adding Many Items To A "Stage"

    I have a list of images in a scrolling area and I'd like the
    user to be able to click the image and it would appear in a "stage"
    area that I have (they should be able to select as many as they
    like).
    I know how to do it with one image, but is there a more
    dynamic way so that I can modify a function to just get an image id
    to show it (so I don't have to write specific code for each
    image)?

    "Holomew" <[email protected]> wrote in
    message
    news:gcg9f7$7l7$[email protected]..
    >I have a list of images in a scrolling area and I'd like
    the user to be
    >able to
    > click the image and it would appear in a "stage" area
    that I have (they
    > should
    > be able to select as many as they like).
    >
    > I know how to do it with one image, but is there a more
    dynamic way so
    > that I
    > can modify a function to just get an image id to show it
    (so I don't have
    > to
    > write specific code for each image)?
    There's an example in one of the links from Q1 here
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

  • Error when adding an item to HU  using FM ADD_TO_EXISTING_HU

    Please I need help, could some tell me what I am doing wrong I keep an error when I try to add an item to a HU, here is the code:
    FUNCTION zrf_hu_add_pack.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(HU_HEADER) LIKE  BAPIHUHDRPROPOSAL STRUCTURE
    *"        BAPIHUHDRPROPOSAL
    *"     VALUE(USERNAME) LIKE  SY-UNAME OPTIONAL
    *"     VALUE(PRINTER) TYPE  RSPOLNAME OPTIONAL
    *"  EXPORTING
    *"     VALUE(RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2
    *"  TABLES
    *"      HU_ITEMS STRUCTURE  BAPIHUITMPROPOSAL
      DATA: ret TYPE STANDARD TABLE OF bapiret2,
            header TYPE bapihuhdrproposal,
            hukey TYPE bapihukey-hu_exid,
            huheader TYPE bapihuheader,
            itemsproposal TYPE STANDARD TABLE OF bapihuitmproposal,
            itm TYPE STANDARD TABLE OF bapihuitem,
            item_prop TYPE  huitm_prop,
            obj TYPE hum_object,
            del_type TYPE vbtyp,
            hu_ext TYPE  hum_exidv_t,
            hu_int TYPE hum_venum_t,
            out_msg TYPE huitem_messages_t,
            tmp_vbeln TYPE vbeln,
            hu_hdr TYPE huhdr_proposal,
            hu_mm TYPE hum_plant_stloc,
            itm_wa LIKE LINE OF itm,
            item_prop_wa LIKE LINE OF item_prop,
            hui_wa LIKE LINE OF hu_items.
      DATA: ls_handling_units TYPE hum_rehang_hu,
            ls_high TYPE vekp-venum.
      DATA: it_items LIKE huitm_proposal,
             hm_obj TYPE hum_object,
             hu_prop TYPE huhdr_proposal,
             hu_add TYPE huhdr_add,
             hu_add_wa LIKE LINE OF hu_add,
             hu_items1 TYPE huitm_prop,
             hu_items_wa LIKE LINE OF hu_items1.
      DATA: hu_msg TYPE huitem_messages_t,
              hu_msg_wa LIKE LINE OF hu_msg,
              hu_hdr1 TYPE     hum_hu_header_t,
              hu_hdr1_wa LIKE LINE OF hu_hdr1.
      DATA: i_mm_data  LIKE  hum_plant_stloc,
            hu_internal TYPE  hum_venum_t,
            hu_external TYPE  hum_exidv_t,
            handling_unit TYPE  huitem_from,
            h_unit_l TYPE huitem_from,
            is_item_proposal TYPE  huitm_proposal,
            i_delivery_type  TYPE  likp-vbtyp ,
            et_messages      TYPE  huitem_messages_t.
      DATA: venum TYPE venum.
      DATA: lt_hu LIKE bapihunumber OCCURS 0 WITH HEADER LINE,
            lt_huhdr LIKE bapihuheader OCCURS 0 WITH HEADER LINE.
      DATA: t_return TYPE TABLE OF bapiret2.
    get header
      lt_hu-hu_exid = hu_header-hu_exid.
      APPEND lt_hu.
    get HU header
      CALL FUNCTION 'BAPI_HU_GETLIST'
        EXPORTING
          onlykeys      = ' '
        TABLES
          hunumbers     = lt_hu
          huheader      = lt_huhdr
          return        = t_return
        EXCEPTIONS
          error_message = 2
          OTHERS        = 4.
      IF sy-subrc NE 0.
        CALL FUNCTION 'BALW_BAPIRETURN_GET2'
          EXPORTING
            type   = sy-msgty
            cl     = sy-msgid
            number = sy-msgno
            par1   = sy-msgv1
            par2   = sy-msgv2
            par3   = sy-msgv3
            par4   = sy-msgv4
          IMPORTING
            return = return.
        ROLLBACK WORK.
      ELSE.
    get defaults
        PERFORM get_user USING username.
    handling unit
        READ TABLE lt_huhdr INDEX 1.
        APPEND hu_header-hu_exid TO hu_external.
        APPEND lt_huhdr-hu_id TO hu_internal.
        h_unit_l-exidv = lt_huhdr-hu_exid.
        h_unit_l-venum = lt_huhdr-hu_id.
    APPEND h_unit_l to handling_unit.
    hold delivery number
        tmp_vbeln = hu_header-pack_mat_customer.
    convert or pad
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = tmp_vbeln
          IMPORTING
            output = tmp_vbeln.
    set up object key
        obj-object = '01'.
        obj-objkey = tmp_vbeln.
        CONDENSE obj-objkey.
    get delivery type from delivery header
        SELECT SINGLE vbtyp INTO del_type
        FROM likp
        WHERE vbeln = obj-objkey.
    set status
        hu_header-hu_status_init = '1'.
        MOVE-CORRESPONDING hu_header TO hu_mm.
        hu_mm-plant = hu_header-plant.
        hu_mm-stge_loc = hu_header-stge_loc.
        hu_mm-whse_no = '101'.
        hu_mm-stge_type = '916'.
        hu_mm-stge_bin = tmp_vbeln.
    set up items
        LOOP AT hu_items INTO hui_wa.
          hu_items_wa-velin = '1'.
          hu_items_wa-belnr = tmp_vbeln.
          hu_items_wa-posnr = hui_wa-lower_level_exid.
          MOVE hui_wa-pack_qty      TO hu_items_wa-quantity.
          MOVE hui_wa-base_unit_qty TO hu_items_wa-meins.
          CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
            EXPORTING
              input        = hui_wa-material
            IMPORTING
              output       = hu_items_wa-matnr
            EXCEPTIONS
              length_error = 1
              OTHERS       = 2.
          hu_items_wa-charg = hui_wa-batch.
          hu_items_wa-werks = hui_wa-plant.
          hu_items_wa-lgort = hui_wa-stge_loc.
         APPEND hu_items_wa TO hu_items1.
    sort items
       SORT hu_items1 BY belnr posnr.
    copy and change function ADD_TO_EXISTING_HU if neccessary
          CALL FUNCTION 'ADD_TO_EXISTING_HU'
            EXPORTING
              i_hu_id               = ''
              i_hu_ref_doc          = obj
              i_mm_data             = hu_mm
              i_hu_internal         = hu_internal
              i_hu_external         = hu_external
              is_handling_unit      = h_unit_l
              is_item_proposal      = hu_items_wa
              i_delivery_type       = del_type
            IMPORTING
              et_messages           = hu_msg
            EXCEPTIONS
              not_possible          = 1
              delivery_update_error = 2
              OTHERS                = 3.
          IF sy-subrc <> 0.
            CALL FUNCTION 'BALW_BAPIRETURN_GET2'
              EXPORTING
                type   = sy-msgty
                cl     = sy-msgid
                number = sy-msgno
                par1   = sy-msgv1
                par2   = sy-msgv2
                par3   = sy-msgv3
                par4   = sy-msgv4
              IMPORTING
                return = return.
            ROLLBACK WORK.
          ELSE.
            COMMIT WORK AND WAIT.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFUNCTION.

    It probably has something to do wit the kind of HU that you are using.
    If you call a " where used " of the error message HUFUNCTIONS 261 you will see that there are several checks concerning the kind of HU.
    The types of HU's can be found in domain VPOBJ.
    Hope this helps,
    Regards,
    Dirk.

  • Error encountered when Adding an Item style Flex in Search criteria

    Hi All,
    I am trying to add an Item style Flex in the Searchable region(search criteria region) ,then I have encountered an error saying
    Program error. Please inform your support representative that the descriptive flexfield in the application could not be found.
    Thanks
    AK

    Can I use the DFF which exists in different Responsibility,caz i am using the DFF which exists in Oreder Management and i am adding the DFF in Sales Contracts Workbench User Responsibility.
    Thnaks
    AK

  • Error when adding line items in a Contract

    Hi All,
    Need your help regarding the following issue.
    The business user is trying to edit (to add more line items/materials) a contract with customized T.Code ZGME31K.
    Getting error "Enter rate USD / rate type M for 11/24/2009 in the system settings" MSG No. SG105.
    However, the Vendor, Material all are maintained in the same currency i.e. USD.
    So, not finding a scope of rectification in OB28.
    Please advice.
    Regards,
    Milan.

    Hi,
    I closed
    Re: SBWP attachment link not diverting to Contract/P.O
    as my problem got resolved.
    And I put it "unanswered" as no one gave me the correct answer.
    It came out as a result of several testing in Quality by our team. Anyway, thanks to everyone who contributed.
    Regards,
    Milan.

  • Application Error when adding configurator item to shopping cart

    Hi All,
    We are getting application error while selecting the configurator model item in iStore pages in oracle apps R12.
    The view source shows following message:
    java.lang.NullPointerException
         at oracle.apps.ibe.shoppingcart.quote.ShoppingCart.addModelsToCart(ShoppingCart.java:7079)
         at oracle.apps.ibe.configurator.Configurator.addItemToCart(Configurator.java:272)
         at ibeCFgpLaunch.jspService(_ibeCFgpLaunch.java:1241)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:280)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at ibeCCtpBuyRoute.jspService(_ibeCCtpBuyRoute.java:2490)
    While selecting the normal standard item i got below error:
    Error:
    There is an error in order submission.
    ERROR_RETURNED (API=ASO_QUOTE_CUHK.Create_Quote_PRE)
    Also i checked all invalid objects , but i couldn't find any ASO or IBE related invalid objects.
    Please help, it was urgent..

    L S P.. wrote:
    Hi,
    Actually that notes says about invalid objects in ASO and IBE objects.
    But i couldn't found any invalid objects. Also i was cleared cache using functional administrator also.
    But still am getting this error.
    Please help on this.. It is on critical.Please log a SR if the doc did not help.
    Thanks,
    Hussein

  • Should Parent objects be updated when adding a child?

    Hi,
    I have 2 objects in a one to many relationship, a parent with a collection
    of child objects.
    My parent object is being updated when I add child objects to it -
    although nothing on the parent object has changed (except maybe the
    JDOLOCKX column).
    Is this meant to happen - as part of the optimistic locking? Does it try
    and lock the owner of the collection when a new member is added?
    Thanks in advance,
    Chris

    We are planning a metadata extension to permit writing to a collection
    without changing optimistic lock values for the owning class.
    I don't have a good feel for the time frame of the feature yet.
    -Patrick
    On 5/21/02 1:06 PM, in article acduqj$e4j$[email protected], "Chris
    Kimpton" <[email protected]> wrote:
    Hi,
    This is occuring across JVMs for me - so I have put a crude re-try
    facility in place - it has a few goes at doing the work and then gives up
    if that is not sufficient. Not nice, but it seems to work.
    Chris
    David A. King wrote:
    I too have seen this behavior, which becomes frustrating when adding many
    children concurrently--I receive ConcurrentModificationExceptions on the
    parent, even though the parent itself did not change (except of course the
    collection of children) with optimisitic locking. I have had to serialize
    transactions manually to avoid the exceptions.
    Thanks,
    David A. King
    Chris Kimpton wrote:
    Hi,
    I have 2 objects in a one to many relationship, a parent with a collection
    of child objects.
    My parent object is being updated when I add child objects to it -
    although nothing on the parent object has changed (except maybe the
    JDOLOCKX column).
    Is this meant to happen - as part of the optimistic locking? Does it try
    and lock the owner of the collection when a new member is added?
    Thanks in advance,
    Chris

  • Adding an item to a List when clicking a WebPart Properties 'OK' button

    Hi all,
    I wonder if someone can help me. Im new to SharePoint Programming but learning slowly. 
    I have a superb Web Part downloaded from Codeplex which essentially is a Countdown Timer in jQuery. (spCountdown) The code itself works perfectly however I want to tweak it, in what I thought would be a relatively easy thing to do.
    In the Web Part properties of the solution, there is a textbox where you enter the Date/Time which you wish to set the countdown timer. When I click 'OK' to submit the WebPart, I would like the date value in the textbox to be added to a List as a new List
    item. I've got the code to add the List item (or what im think is the correct code) but what I cant do is get the function to execute when the WebPart 'OK' button is clicked. 
    Now, I have downloaded the source code which is available but I cant fathom how to hook the 'Update List Item' code onto the onclick event of the button (as I cant find an onclick event!). Any help to advise me what to do would be appreciated.
    My code to add the date to the new List:
    // create item in Deadline Configuration List
    using (SPSite oSiteCollection = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb oWeb = oSiteCollection.OpenWeb())
    SPList oList = oWeb.Lists["DLConfig"];
    SPListItem oListItem = oList.Items.Add();
    oListItem["Title"] = "Deadline Date";
    oListItem["TaskDueDate"] = new DateTime(WebPart.TargetDate.Year, WebPart.TargetDate.Month, WebPart.TargetDate.Day);
    oWeb.AllowUnsafeUpdates = true;
    oListItem.Update();
    Original WebPart Code:
    SPCountdownWebpart.cs
    using System;
    using System.ComponentModel;
    using System.Web.UI.WebControls.WebParts;
    namespace SPCountdown.SPCountdownWebPart
    [ToolboxItemAttribute(false)]
    public class SPCountdownWebPart : WebPart
    // Visual Studio might automatically update this path when you change the Visual Web Part project item.
    private const string _ascxPath = @"~/_CONTROLTEMPLATES/SPCountdown/SPCountdownWebPart/SPCountdownWebPartUserControl.ascx";
    protected override void CreateChildControls()
    var control = Page.LoadControl(_ascxPath);
    if (control != null)
    ((SPCountdownWebPartUserControl)control).WebPart = this;
    Controls.Add(control);
    [Category("Countdown Settings"),
    Personalizable(PersonalizationScope.Shared),
    WebBrowsable(true),
    WebDisplayName("Target Date/Time"),
    WebDescription("Please enter the target date/time for countdown.")]
    public DateTime TargetDate { get; set; }
    SPCountdownWebpartUserControl.cs
    using System;
    using System.Web.UI;
    using Microsoft.SharePoint;
    namespace SPCountdown.SPCountdownWebPart
    public partial class SPCountdownWebPartUserControl : UserControl
    public SPCountdownWebPart WebPart { get; set; }
    public SPCountdownWebPartUserControl()
    PreRender += SPCountdownWebPartUserControl_PreRender;
    void SPCountdownWebPartUserControl_PreRender(object sender, EventArgs e)
    // parse date from properties
    var targetDateString = string.Format("{0},{1},{2},{3},{4},{5}",
    WebPart.TargetDate.Year,
    WebPart.TargetDate.Month - 1, //uses 0-based index
    WebPart.TargetDate.Day,
    WebPart.TargetDate.Hour,
    WebPart.TargetDate.Minute,
    WebPart.TargetDate.Second);
    // js sources
    const string jqueryScript = "<script type='text/javascript' src='/_layouts/SPCountdown/js/jquery-1.10.2.min.js'></script>";
    const string countdownScript = "<script type='text/javascript' src='/_layouts/SPCountdown/js/jquery.countdown.min.js'></script>";
    // create javascript implementing countdown
    const string jsCountdownFormat = "<script type='text/javascript'>$(function () {{var targetDate = new Date({0});$('#defaultCountdown').countdown({{until: targetDate}});}});</script>";
    var jsCountdown = string.Format(jsCountdownFormat, targetDateString);
    // register client scripts
    var cs = Page.ClientScript;
    if (!cs.IsClientScriptBlockRegistered("jQuery"))
    cs.RegisterClientScriptBlock(
    GetType(),
    "jQuery",
    jqueryScript);
    if (!cs.IsClientScriptBlockRegistered("jsCountdownScript"))
    cs.RegisterClientScriptBlock(
    GetType(),
    "jsCountdownScript",
    countdownScript);
    if (!cs.IsClientScriptBlockRegistered("jsCountdown"))
    cs.RegisterClientScriptBlock(
    GetType(),
    "jsCountdown",
    jsCountdown);
    protected void Page_Load(object sender, EventArgs e)
    Can anyone help me with where I need to implement my code to get the List Item to be created when the Web Part properties are set?
    Thanks in advance.
    Rick Lister
    -=Stylus=-

    Hi,
    Please refer below link regarding web part custom properties,
    I think you need to write code under ApplyChanges() Method.I am not sure. Just try it once.
    http://sharepointkitchen.blogspot.in/2014/10/custom-web-part-properties-approach-2.html
    Don't forget to mark it as an Answer if it resolves your problem or Vote Me if it useful.
    Mahesh

  • Why do comments in comments list disappear when file is saved after a signature is added?

    When working with a workpaper file we are using sticky notes, highlight, adding text to annotate a file. Then later we go back and add "place initials" by things that we verify either have been done or the workpapers support that statement. Upon saving the file before adding the initials the file name is XXXX.pdf and the 110 comments I've made in the file are listed in the comments list. Then when I add my initals the file name changes to XXXX-signed.pdf and the 110 comments I've made are still present, but not viewable in the comments list nor when I click on the sticky note is the information in the note viewable. Why would this information disappear?  How do I get it back?
    If there is no fix for this Adobe...this is a great reason for my bosses to decide not to spend the thousands of dollars it's going to cost us to buy and implement your software throughout our firm.  We need to retain the comments on a workpaper file as well as be able to inital and sign our workpapers. Many people work in a single workflle and putting our intials next to an item tells the reviewer that not only did we see the comment from the client, but we also double checked to make sure the inforamtion was input into the system and included in the workpapers farther back in the file.
    Any help from the user community would be apreciated.
    Tanya

    I replied to this with a hacky solution over at Stack Overflow: http://tinyurl.com/ybwjfeg
    I would prefer that this is resolved via a bug fix, because it certainly appears to be a bug.

  • How to create new subsite while adding new item to the list by using javascript?

    hi,
    I hav a task ie, when I add item to the list then subsite will create with that list item title and description . So By using javascript, I have to create subsite while adding new item to the list.
    Help me to solve this.
    Thank you, 

    Is your item getting added through Javascript client object model ? If yes, you can write in the success delegate of your list creation method the logic to create the subsite.
    function CreateListItem()
    var clientContext = new SP.ClientContext.get_current();
    var oList = clientContext.get_web().get_lists().getByTitle('List Name');
    var itemCreateInfo = new SP.ListItemCreationInformation();
    this.oListItem = oList.addItem(itemCreateInfo);
    oListItem.set_item('Title', 'My New Item!');
    oListItem.set_item('Body', 'Hello World!');
    oListItem.update();
    clientContext.load(oListItem);
    clientContext.executeQueryAsync(Function.createDelegate(this, this.CreateListItemOnSuccess), Function.createDelegate(this, this.onQueryFailed));
    function CreateListItemOnSuccess() {
    var subsiteTitle = oListItem.get_item('Title');
    //Logic to create a subsite
    function onQueryFailed(sender, args) {
    I have added a sample flow for the above scenario. Have a look at the following lnk for how you can craete a subsite using ecmascript.
    http://ravisoftltd.wordpress.com/2013/03/06/sharepoint-2010-create-site-with-ecma-script-with/
    Geetanjali Arora | My blogs |

  • BUG: Sorting drop-down lists from the field tab when using "specify item values"

    Hi all,
    I've finished creating my form now, but I came across this whilst writing up my documentation for maintenance tasks.
    This occurs when adding new values to a drop-down list that has the "Specify item values" checkbox in the binding tab checked.
    When I then try to sort my list using the built in sort buttons, it will sort the items, but the list of specified values in the binding tab does not sort reorder to stay with the original items in the list.  This is hapenning when I sort from the Object > Field tab.  If I sort in the Object > Binding tab then the sort will include the specified values.
    For example:
    A    5
    C    2
    D    9
    Add a new value to get:
    A    5
    C    2
    D    9
    B    10
    Sort the list using the button:
    A    5
    B    2
    C    9
    D    10
    But it should be:
    A     5
    B     10
    C     2
    D     9

    I was able to duplicate this problem and it looks like a possible bug.  I've submitted it to support.

  • Wheel scroll in List scrolls too many items

    Hi,
    I have a List with an item renderer. When I scroll down with
    my wheel, it scrolls too many items (it scrolls down 6 items while
    I can see only 3). What I want is too scroll down just one item at
    the time. How can I do this?
    Thank you!
    Andrej

    You should be able to fix that by rebuilding the LaunchServices database.
    I use OnyX (Maintenance tab, Reset section).
    http://www.macupdate.com/info.php/id/11582

Maybe you are looking for

  • AirPlay YouTube from iPhone to AppleTV over LTE w/ No Hotspot

    The goal: My goal is to AirPlay Youtube videos from the iPhone 6+ on iOS8.1 to the AppleTV v3 on 7.0.1 over LTE without using the iPhone as a Hotspot. The problem: The problem is that streaming video from internet sources does not function. However,

  • JWSDP1.2 JAXB Out of memory exception

    Hai, I am using JAXB in JWSDP1.2,while compiling with xjc it is giving out of memory error.I increased the size JVM memory to 1024m. It is giving when weinclude some imporrted schemas in the schema.is anyone have idea of this kind of problem. Is ther

  • Will Captivate 4 run on a Mac using Parallels?

    I'm on a Mac system and I really need a tool like Captivate to generate presentations for the web, not so much quizzes and full blown e-learning just yet.... Microsoft has eaten enough time and money of mine, so I've got Parallels already that came w

  • My iMac 2006 had a crashed Lion and now does not accept any Lion installation.

    Hi I have tried to install my Lion from an external drive. This drive has basic Lion on it and runs great with my iMac. However installing the Lion on my iMac fails constantly. I have reviewed the installation protocol and can not find a clue. It see

  • Connect Oracle Developer / Designer to Oracle 10g XE database

    I have installed the Oracle 10g XE database on my PC. Also on the same computer I have installed Oracle 10g Developer Suite (Designer, Forms etc). The database runs ok without problem. However I cannot connect Designer to the database. I know a listn