Removing Items from Gridview and refreshing the gridview without redirecting to the same Page.(Windows Phone 8.1 Xaml)

I have a gridview with a Usercontrol as its itemtemplate. In the Usercontrol I have a flyout attached to it using which the user can choose to delete the entry. After deletion how do I remove the entry from the gridview without redirecting to the samePage
and removing the backstack entry?
Please note that I am deleting/modifying the itemssource in the usercontrol's codebehind.

Hi Rajiv,
Where you have attached flyout. Which UI control. Is it border?? What type of UI control inside the DataTemplate?
As normal, when user clicked on the delete item, you can retrieve the selected entry as single item of an observablecollection and pass into your ViewModel class and remove it. 
The item will be removed at Runtime without refreshing or redirecting and there will a animation (transition) in the GridView when it removing.
If this content doesn't match your answer. Please ask me again.
Thank you

Similar Messages

  • How to create xml file from Oracle and sending the same xml file to an url

    How to create xml file from Oracle and sending the same xml file to an url

    SQL/XML (XMLElement, XMLForest, XMLAgg, etc) and UTL_HTTP.
    Whether that works for you with the version of Oracle you have, your requirements, and needs is another story. A little detail goes a long way.

  • Unable to open the detail report in the same page/window

    When i use the "Navigate to Web Page" action link to navigate to the detail report, the detail report is opening in new window. Is there any way that the detail report can be opened in the same page/window.

    Hi,
    why don't you use the master/detail table option when dragging the master VO ?
    Frank

  • ADF 10.1.3 Programatically committing changes and refreshing the list page.

    Hello,
    I have a requirement where on list page i select a recrod and than modifies it on next page. I am using different database views for list and update purpose. So when i save the changes, control comes back to REFRESHED list page.
    Pls let me know how can i commit and refresh the changes programatically. I hav added a method on managed bean as part of action binding.
    Thanks
    Manish

    public String beanMethod() {
    //obtain a reference to your bindingcontainer. chances are you have the "bindings" member variable of the mangaged bean and you have the getBindings() function already built by the wizard for you.
    DCBindingContainer bc = (DCBindingContainer)getBindings();
    //Make sure you have the "Commit" action binding on your pageDef. If not ob will return a Null reference. If you have drag and dropped the Commit operation on your ApplicationModule found on the Data Control Pallete on your page, the "Commit" operation should be there on your pageDef
    OperationBinding ob = (OperationBinding)bc.get("Commit");
    ob.execute();
    return "navigationToListPage";
    I think when you go back the listPage, the ADF framework will execute the query automatically.
    When you go to the update page, are you just updating the current row or creating a new row and then filling out the attribute values?

  • How to read the configuration for SAP GUI elements in Plant Maintenance module from SPRO and leverage the same in NWBC for HTML.

    Dear Members,
    Greetings for the day!
    I am working on NWBC for HTML in Plant Maintenance module.
    We have configured some changes in SPRO for customizing the UI elements( like visibility, mandatory ) like tabs and fields in transactions like IW21( Create Notification).
    As of now separate parallel configuration needs to be carried out in NWBC for HTML in PM module to achieve the same UI features for creating notifications and this is time consuming.
    Is there any way to read the configuration done in SPRO for the SAP GUI's and leverage the same in NWBC for HTML.
    Appreciate your time in responding to this.
    Thanks & Regards,
    Ram.

    >
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7003,127.0.0.1:7103,127.0.0.1:7104
    MatchExpression /app1
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    MatchExpression /app2
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    >
    This configuration is weird little bit. There is MatchExpression /app1 and MatchExpression /app2 and at the same time two <Location /weblogic> sections. Are you sure you understand what that configuration stands for?
    Try something like this ...
    <Location /app1>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    </Location>
    <Location /app2>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    </Location>
    where /app1 and /app2 are contexts of your weblogic applications.
    http://download.oracle.com/docs/cd/E11035_01/wls100/plugins/apache.html
    http://httpd.apache.org/docs/2.0/mod/core.html#location

  • Opening another iview from an iview in the same page ....

    Hello ....
    I need to open another iview from an existing one in the same page without overwriting the other existing iviews on the page. I am using EPCM.doNavigate() as given below
    EPCM.doNavigate('ROLES://portal_content/com.hersheys.Hershey_Content/com.hersheys.Human_Resources/com.hersheys.hr.sap_mss_iviews/EmployeeExit?SCENARIO_PARAMS=PERNR='+person,0);
    The iview does open in the same page, however i lose the other iviews on the top and bottom of the page ....
    Any pointers??
    Thanks,
    Devina

    Hi Devina,
    Try using IUrlGeneratorService to generate the URL to the required iView, instead of EPCM.doNavigate().
    doNavigate sometimes refreshes the whole page while loading the required iView.
    cheers
    Kiran

  • Calling Report from a Form on the same page

    Hi,
    We have a SEARCH Form and when user inputs search criteria, then we want to call a report on the same page, just below the search button. We tried many things but the report does not show up on the same page, it navigates to next page.
    Please help..
    Thanks
    Kumar.

    I am trying to do a similar thing... I have created a form application component and a Report application component which is called from the search form. This works fine.
    I expose the search form as a component and put it on a portal page. I do the same with the report.
    When I call the page and enter the search params in the form and call the report, the report appears in a separate non-portal window. I would like the report in the same portal page to be run in-line with the new parameters.
    Has anyone done this before?

  • How to open a link from search engine in the same page

    I just noticed that my links are opening in new windows instead of on the same page on Safari. Is there anyway I can change it back to where if I click on a link in the Yahoo search engine that it would just open within the same page without opening a new tab or window, where I can go back and forth between pages? For example, say I type in "wikipedia" on Yahoo home page and click search. Then it takes me to the Yahoo! Search Results page with a link to the Wikipedia website. When I click on that link, the Wikipedia home page loads right within the same page instead of opening a new tab or window and loading into that new tab or window. If I wanted to go back to the search results, I can just click the back button. I remember Safari doing that before, is there anyway to get back to that? Thanks.

    You can set the Integer pref <b>browser.link.open_newwindow.override.external</b> to "<i>1</i>" on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config
    The browser.link.open_newwindow.override.external pref uses the same values as this pref for JavaScript window.open() calls.
    *http://kb.mozillazine.org/browser.link.open_newwindow.restriction

  • How do i get the selected index in jsp from a select "in the same page!!!"

    i dont if it si possible but i want to get the selected index form a select implmenting javascript jsp an html something like this:
    html:select property="slcLocation" onchange="updateList(this.form)">
    <% for (int i=0; i< user.getNumLocaliza();i++)
    out.println("<option selected>" + user.getLocation(i,1));
    %>
    </html:select> </div></td>
    ...

    i try it in the same page but it fails, the code is:
    <html:select property="slcLocation" onchange="document.location.href='cajaApertura.jsp?slcLocation='+this.options[this.selectedIndex].value">
    <%
    for (int i=0; i< user.getNumLocaliza();i++)
    out.println("<option>" + user.getLocation(i,1));
    %>
    </html:select>
    </div></td>
    </tr>
    <tr>
    <td><div align="left"><font size="1"><strong><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif">Caja:</font></strong></font></div></td>
    <td bgcolor="#C4B4F3"><div align="center">
    <html:select property="slcCaja" onchange="document.location.href='cajaApertura.jsp?asdf='+this.options[this.selectedIndex].value">
    <%
    int caja;
    if (request.getParameter("slcLocation")!=null)
    //for (int i=0; i< cajaLocation.getNumCajas (request.getParameter("slcLocation"));i++)
    for (int i=0; i< 3;i++)
    caja = i+1;
    out.println("<option> Caja p " + caja + request.getParameter("slcLocation"));
    }else
    for (int i=0; i< cajaLocation.getNumCajas (user.getLocation(0,1));i++)
    caja = i+1;
    out.println("<option> Caja " + caja);
    %>
    </html:select>
    is this correct? what is my mistake?
    tnks for your help

  • Removing keyword from multiple images at the same time

    None of the documented methods seem to work for me.
    1     Select all the images. Go to Metadata > Remove Keyword [my keyword] - the keyword is only removed from the image that is selected in the batch - i.e the one that has the yellow border round it to show it's the active image.
    2     Select all the images, enter [my keyword] in the Add Keyword field when Keyword Controls is visible and press Shift + Enter - does the same thing as 1 above (removes it from the active image only).
    3     Select all the images, Shift Click on the keyword that I have in my Keyword Controls in the Control Bar - does the same things as 1 above.
    So all these methods, which are supposed to work, do not work for me. The removal of the keyword is only applied to the image that has the yellow border showing it to be the currently active image in the selected batch - the remaining selected imaged still retain the keyword. I can remove it "one at a a time" but it would be great if I could find a solution as to why this isn't working.
    Any ideas?
    If it helps, I'm running Aperture 3.1.3 in OS X 10.6.8.
    thanks
    Alan

    Based on the frequency with which this trips up users, the Aperture team is going to have to add a much stronger visual indication that "Primary Only" is active.  Marching ants, anyone?  Or a pink selection marquee?
    At least in the Viewer when multiple Images are selected the thin white selection marquee is dropped when Primary Only is active.  There is no such change in the Browser.

  • How to remove Bean from session upon leaving the web page?

    Hi...
    I got the following problem
    I promote a user with a Datatable filled with data, each time the user enters the webpage with the table I go the DB and retrieve all relevant data again (so each time the user gets an OnLine representation of the DB)
    to archive that I defined the bean that pulls data from DB in Request scope. and it worked well... but now i added an option to export the table into Pdf made by a servlet.... now to be able to get the bean from the servlet i had to change the scope of the Bean to Session Scope... and all works fine.. BUT... now the page not showing OnLine representation of the DB.. cause its only created once , cause its inside Session Scope...
    My question is how can I remove the Bean from Session scope upon the user leaving the page (I don't want to remove the bean from session scope on the next called bean of the other page) i want to remove the Bean upon leaving the current web page... Or maybe force the constructor to be executed each time the Page is loaded (as if it was a Request scope bean)....
    Any ideas?
    Thanks ahead!
    Daniel.

    Hi,
    When you are moving to another page, you are performing an action right ?
    (i mean the request moving to Server side), if you do so, then clear the bean object values list.
    for example :
        private List<Integer> intList = new ArrayList<Integer>();
      public void clear()
       intList.clear();
    or
    store a new object in session, when ever u moved to the second page, so that the old object will be no longer
    in use, so it will be garbage collected.Regards,
    Sathya.

  • I bought my iPhone from apple, had ATT, then changed to Verizon.  Shouldn't I be able to unlock it from Verizon and use the same phone on an ATT account?

    i bought my iphone 4S from apple while i had an att account, then changed to verizon with the same phone.
    verizon said they unlocked the phone from their network so i could return to att, but the iphone 4S won't recognize the att sim card.
    is there anything i can do to use this apple store phone purchase and return to an att network?

    Thank you.
    I'm a little muddy tho...it's not a verizon phone,
    not bought from or through Verizon, but at the Apple store.
    Does that make any differerence?
    On the original box, it says that it supports CDMS & GSM
    I spoke with Verizon this morning. 
    They re-activated the phone to the verizon account,
    unlocked it, and released it.
    Should this make any difference at all?
    My thinking to purchase the iphone through Apple
    was not to dedicate it to either ATT or Verizon network.

  • Inserting sequence value from JDBC and getting the same value back

    Hi: Gurus I have a table whose primary key is a sequence. I wonder how to make sure I get the same sequence value back for current transaction so I update the other table whose foreign key is the sequence value from first table.
    E.g lets say I do this
    String query_insert = INSERT INTO table1 (column1, ....) VALUES (HIGHLIGHT_ID_SEQ.nextval, ...);
    pstmt = con.prepareStatement(query_insert);
    pstmt.executeUpdate();
    How I make sure no other transaction update the sequence value so I can read the last inserted sequence value and update the second table with this value
    String query_select = "SELECT HIGHLIGHT_ID_SEQ.currval FROM DUAL";
    pstmt = con.prepareStatement(query_select);
    Regards,
    Rashid.

    <rant>No version again. I wonder why people requiring help want to stay anonymous and never want to type their version, only 4 digits. In this case, jdbc, not only the version of the driver is important, but also it's type. Waving a magic wand again? </rant>
    Look up the returning into clause of the insert statement in the sql reference manual for your version.
    Sybrand Bakker
    Senior Oracle DBA

  • Is the raw output from JSP and XSQLServlet the same?

    Hi
    Is there is difference between the raw output from XSQLServlet and JSP? For example, assuming the same content is being generated, is there some additional header information emitted by XSQLServlet that is not done by JSP?
    I am using software that successfully consumes generated content from a JSP OK, but the same content (using the same XML/XSL) generated from XSQLServlet is being rejected. I am puzzled by this. Maybe this is due to some differences in servlet output or an encoding issue? The content is not HTML but XML-like with an "application" contentType, like Steve's SVG example.
    It seems that XSQLServlet is showing some data prior to emitting the actual content, i.e. HTTP version, responding server version, content type and date, e.g.
    HTTP/1.0 200 OK^M
    Server: Resin/2.0.5^M
    Content-type: application/x-sky; charset=UTF-8^M
    Date: Thu, 28 Mar 2002 06:45:34 GMT^M
    ^M
    (then the generated content)
    Is this preamble usually generated by a JSP also?
    If not, can this information be turned off, or put another way, can XSQLServlet's raw output be set to be exactly like JSP? If not, is there a workaround?
    I have tried setting the following XSQLConfig.xml
    <suppress-mime-charset> for the mime-type &
    <character-set-conversion>
    <none/>
    </character-set-conversion>
    also, but to no avail.
    Please help! I really want to use XSQLServlet!
    Thanks.
    Michael.

    Yes, just less fine control over the process but the same engine.
    Regards
    TD

  • Item with many values in the same page

    Hi!
    This is how ma page will look :
    item 1 : textfield
    item 2 : textfidl
    item3 : list1
    list2
    ... list3
    button add item3
    item3 can take mutiple values (1 or more) for the same
    values of item1 ans item2.
    the user has to click on a button in order to add a value to item3
    I am looking for how can I do that ?
    thank you for help

    Sorry Kglad, I didn't mean to be rude. With "No coding
    errors" I meant the animation itself runs with no errors. I'm sure
    you could run the 20 instances with no freezing (that's why I put
    the post :) ) But I'm affraid it is an animation for a client, so I
    cannot distribute the code.
    Perhaps I didnt explain the situation clearly enough (in part
    because of my poor english...).-
    - By 20 instances I mean 20 separated embedded objects in the
    html
    - The animation is relatively simple. A turned on candle, in
    each cycle I calculate the next position of the flame (that
    oscilates from left to right). The flame is composed by 4
    concentric gradients. There is NO loops, only an 'onEnterFrame'
    function refreshing the flame each time.
    - It's true that I got plenty variables at the _root level.
    If that could be the problem, how can I workaround it?
    - It is my first time trying to embed so many objects at the
    same time too. No idea if the problem could be the way I embed the
    object from the html :(
    - The only thing I can guess is that when a cycle of one of
    the object is running, the other 19 objects must wait their turn.
    That would explain why the more instances I run, the worst results
    I get. In that case, I wonder if there's a way to run them in a
    kind of asynchronous mode, just guessing...
    Any other comment would be appreciated. Anyway, thanks a lot
    everybody for your colaboration.

Maybe you are looking for

  • Why did the RSS indicator in 'top sites' stop showing?

    Since upgrading to Safari 4, top sites has been amazing.  I particularly like how each top site has it's own RSS indicator to display when new content is on that particular website.  However, in the past few weeks these have completely dissapeared. D

  • "Cannot replace because you don't have permission"

    I am paraphrasing the quote. Basically my wife and I share a Macbookpro using Snow Leopard. She installed apps on her user account but to use on all users. Also my own user account is also admin. I tried to update, or try to replace an app by droppin

  • Can't access folder on a TC drive via web server

    Here's the setup: I got a MBA (10.6) as a simple web server sharing files to a remote computer via VPN. For this, I created a symbolic link to the folders I want to share and dropped it into the root user's library/webserver/documents. The remote cli

  • Help: Can't get calendar invitations to appear on my icloud calendar

    Hi, I have the specific setup: 1. icloud account (includes my itunes, calendar, reminders, contacts,...) configured with a username [email protected] 2. email using [email protected] through gmail account Everytime someone sends me an invitation to m

  • How Build an Iteration Control

    Hello DBA's, I've my barin in pieces with this issue. I ve to create one procedure that needs : DROP temp_table CREATE temp_table So I've done : create or replace Procedure refesh_temp is var1 varchar2(2000); sql varchar2(2000); Begin /***** STEP 1 *