How to show the User Name on the Cart.aspx page when a user is connected.

Hi,
I am trying to find how I can get the User Name and display it in the top of the Cart.aspx.
For the diplay point of view, this is fine (I have created a <Literal> with a property ID, and specified it in the prerender.)
However, i can not find anywhere how to take the UserID from.
Do you know if there is a way to get this Data?
Thanks.

I use something like this within the login control::
<%@ Import Namespace="netpoint.classes" %>
<%@ Import Namespace="netpoint.api.account" %>
private NPBasePage _bp;
    protected void Page_Load(object sender, System.EventArgs e){
        bp = (NPBasePage)Page;
        NPUser u = new NPUser(bp.UserID);  
        Literal1.Text = u.FirstName + " " + u.Surname;

Similar Messages

  • Why does safari show the last used page when the Ipad is turned on again

    Why does Safari show the last used page when the IPad is next used?

    Read this article:  Open iOS Safari to a blank page, http://www.macworld.com/article/159303/2011/04/ios_safari_blank_page.html

  • How to show the number of page in my document without inserting page number?

    I have no idea how to make Pages show the number of the page in my document I'm editing.

    In the Pages > View > Show Thumbnails. Each numbered thumbnail is a page in your document. The thumbnail has a blue background when you are on that page.

  • C# - How to show SPListItems in edit mode on Application (ASPX) page? Is it so difficult?

    Hi there,
    In my code-behind page - I have a collection of SPListItems. I need to display them in the application page (aspx page) in edit mode. How can I do that please?
    Thank you so much.

    Hello,
    Usually grid is the good option to update list item in bulk. You can use simple asp.net gridview as telerik is commercial product. Here is some good ref for you:
    http://sharepointparthiban.blogspot.sg/2013/04/sharepoint-list-item-update-using.html
    http://sharepoint.kerenapura.com/2013/10/update-sharepoint-list-data-gridview-part-1/
    You also need to clarify whether you want to update SPField or SPListItems because in thread title you have mentioned SPField.
    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

  • How to get the number of pages when assemble pdf with DDX

    Hi,
         I have tried to add two bookmarks to one pdf with DDX(in java code),
         the first bookmark I shall add to the first page,and the second I shall add to the second page....
        the question is:
         If the pdf has only one page, I will not add bookmarks to the pdf. so I need to get the pages of pdf before my processing.
        but I did not found any APIs in the SDK about it .
         Can anyone help me.
         thanks.

    I have solve the problem myself
    I use the tag "DocumentInformation" in DDX and get the xml after invoking DDX,
    the xml contain the information of document
    the sample DDX as:
         <?xml version="1.0" encoding="UTF-8"?>
       <DDX xmlns="http://ns.adobe.com/DDX/1.0/">
               <DocumentInformation source="mergedPDF" result="doc_info.xml" />
       </DDX>

  • When "Upload File" , show the IE error page

    question: when "Upload File" , show the IE error page. How to soluve the problem?

    Duplicate post.
    when "Upload File" , show the IE error page
    when "Upload File" , show the IE error page

  • "Open In Excel" button inside the Xlviewer.aspx page return Error and I can not open excel using local office

    Inside the xlviewer.aspx page when I click on "Open In Excel" at first I receive this Error: 
    Some files contain viruses that can be harmful to your computer. it is important to be certain that this file is from a trustworthy sourceDo you want to open this file?
    Then, When I click on Yes, the second error message(below) shows and I can not open Excel using my local Excel Application.
    This action couldn't be performed because office doesn't recognize the command it was given.
    I should notice that the application is published under the HTTPS protocol.
    It is just working with IE 9.0. Neither Chrome nor IE after 9.0.

    Sure. I posted here since I suspect that the lastest upgrade may have a bearing on it.
    What do I need to move it over to Number and Lion?

  • How to show the login user Id in the upper right corner of each page?

    Hi,
    I was wondering how to show the login user Id in the upper right corner of each page?
    thanks so much!
    cchu

    Cchu,
    The easy question first: applying a style to the welcome message. If you look at the page source, you'll see that #WELCOME_USER# is expanded to <div class="app-user">Welcome: DEMO</div> So to change the style of the message, you need to tweak the style of the app-user div in your CSS, or override it in a style block in your HTML header.
    Now, the tougher question: why the text is wrapping for you. And, really, without seeing your entire page, I can't give a full answer. But I'd suggest that what's most likely happening is that the table column you're putting it in is too narrow, so it's wrapping; try replacing the td tag with <td nowrap="nowrap"> This will force the column to be wide enough to display the full message, but might result in weird formatting elsewhere on the page (depending on what all is in your table).
    -David

  • How to show the message text for constraint violations

    Hi all,
    In a batch procedure a primary key is violated (ORA-00001). For the primary key, a message is recorded in the TAPI and the message table.
    How to show the enduser a proper message text instead of the ORA-00001.
    We are using Designer 6 with Headstart 2.1.2.
    Thanks in advance,
    Joep

    Joep,
    If you try to insert the record by calling the ins procedure of the Table API, you will see that it will result in an ORA-20998 message, which means that the error message details reside in the CG$ERRORS plsql message table. These messages can be extracted e.g. with the messages.sql script, shipped with headstart.
    If you do not want to rewrite your direct DML (insert into [table name] ...) in the complexer calls to the TAPI services, you might want to user VAPI's for it. In fact, this is one of the major advantages of using VAPI's.
    The CDM guidelines volume, chapter 6 states that:
    <I>The front end no longer needs to trap declarative constraint
    errors (Primary Key, Unique Key, Not Null and Check
    Constraint violations) and replace them with a user-friendly
    error. The View API issues DML statements through the TAPI
    and the TAPI traps all declarative constraint errors, and puts
    user-friendly message on the stack, in the preferred language of
    the user! Fore more information, see the section, Completeness
    of Rule Violations Reported in Front End, in this chapter.</I>
    So the only thing you need to do is generate VAPI's, and trap the ORA-20998 message (qms$errors.qms$exception) in an exception handler, where you retrieve the user friendly messages from the message stack!!
    Regards, Marc

  • How to show the drill path in the analysis

    Dear Experts:
    I encountered this problem when designing OBIEE dashboard:
    I'm using OBIEE 11g.
    I ceated a new analysis and made it to show in pie chart view.
    It works fine regarts to the drill function, when I click a part of it, it automatically change to the drilled down level figure.
    Whant I want to know is how to show the current level after serveral times of drilling down and drilling up.
    I know that I can judge the level base on the legend or move the curs over the chart.
    But to a new user, is it possible to create a variable or something above/below the chart to actively show the name of current level?
    Thank you very much.
    Edited by: 906129 on Jan 5, 2012 5:40 PM

    How could it not be 5A?. If you have A for each member and then you select 5 members you are going to get 5A. If you don't want 5A then what do you want the Avg of A across the 5 members?
    The tools are working the way they are designed to, your requirement is a little out of the ordinary. Unfortunately, Web Analysis does not have conditional logic.
    Try taking my previous suggestion and adding another member in Essbase called "Count", make it dynamic calc and the formula should be ' 1; '
    The purpose here is to get a value of one in the count member for each member you are going to select in your filter. So, if you select five members in the filter, Web Analysis will now return 5A and it will return the result of "Count" which will be 5. Create a calculated member that divides the 5A value by the count value 5. That will give you the average A for the 5 members, then you can divide by 12.

  • How to show the checked-out symbol in list of files in a folder

    Hi,
    When the folder is selected it is showing all the files in that folder. But, the user would not know which file had been checked out. In general it should show the lock symbol (As similar to Documentum, webtop) when a file had been checked out by some other user.
    How to show the lock/key column in list of files. Any other way to find a file had been checked out or not instead of going into the content information.
    Also, how do we add additional columns like author etc... to the list of files screen in UCM?
    Please help

    You should double check, but I don't believe that the check-out info is in the resultset. Because that information isn't available, the state of each row in the search results table cannot be defined. So, the first hurdle would be to add that info to the dataset.
    The second hurdle would be to alter the UI to leverage that info (e.g., the key icon when checked out).
    If you're looking to alter the folder views, then look to the COLLECTION_DISPLAY service & related template. Other views (e.g., search results) have different templates and backing services.
    -ryan

  • HT5621 How do I change the Apple ID stored on my MacBook Air?  I have changed my Apple ID on the Apple ID website, but both my MacBook Air and my iMac show the old Apple ID when accessing iCloud.

    How do I change the Apple ID that is stored on my MacBook Air.  I have changed my Apple ID on the Apple ID website but both my MacBook Air and my iMac show the old Apple ID when accessing iCloud.

    I had this problem on my iMac and fixed it after a  half hour of frustrated trying.  I had changed my Apple ID on my iPad mini while traveling.  When I finally got back home after a few months, I couldn't  log in to iTunes on my iMac.  The old Apple ID was still being used on my iMac.  I tried just highlighting it and deleting it and typing in my new Apple ID.  No dice. The login just defaulted to my old Apple ID.  I tried clicking on the drop down menu that appears when you right right click your Apple ID  that appears at the top of the page after highlighting the 'iTunes Store" in the left side list.  I saw "account" so I clicked on that.  The "account" settings on my iMac showed my new Apple ID but my iMac wouldn't use it. It just kept defaulting to my old ID. I shut down.  I logged back in.  Same result.  Finally I right clicked the same drop down menu and saw "sign out" at the bottom of the list.  Even though I was not signed in to iTunes, I clicked "sign out".  My next log in to iTunes showed my Apple ID as blank and I was able to type in my new ID.  Hope this helps.
    I am a long time 20 year Microsoft user. I am somewhat ( 1 year) new to Apple. With Microsoft, I found that fixing problems was clunky and complex, but there was always a post somewhere that explained the fix. Microsoft's explanations stated even the most obvious fact. Even if everyone knew that the sky was blue, Microsoft's instructions would still tell you that the sky was blue.  With Apple, I find that the obvious is sometimes not so obvious.  But the fix is almost always easy once you find it, without many of the elaborate maneuvers needed in Windows.

  • How to show the quantity in decimal in MIGO

    Dear expert,
    How to show the quantity in decimal in MIGO?? for example in material BOM the quantity is 12.480 but the quantity in MIGO is 13. it's automatically rounded.
    what should I do to show the decimal point in MIGO?
    Thanks
    Pauline

    Hi,
        Please check in su3 -
    defaults (Tab) -
    Decimal Notation.
        Change the decimal notation and logoff and login to apply the changes.
        I think it may help you.
    Regards
    Sreedhar Reddy

  • How do I get a new tab to automatically open showing the google search page?

    When I open firefox, I see my google home page but when I open a new tab it shows the searchnu home page. It used to be blank and I don't know how or why it changed, but can you tell me how to get my tabs to open automatically showing www.google.co.uk please?

    Type about:config into your address bar, press enter. Accept the warning. Search for browser.newtab.url, double click it. Put in www.google.co.uk. You should be good to go :)

  • How can show the result of a measuring that is done in a sub-program in my main panel?

    How can show the result of a measuring that is done in a sub-program in my main panel?

    In your subvi, wire the result(s) you want to ouput to the main program to an output terminal on the connector pane.
    For a tutorial on subvi's, search the help for "connector panes" anc click on tutorial.
    ~Tim

Maybe you are looking for