First steps to create an .aspx page

In Dreamweaver 8.0
What are the first steps to create an .aspx page in DW. I see
.asp (JavaScript, VBScript, .NET C#, .NET VB) when I try to create
a dynamic new page, but where is the aspx?
Thanks.

Stella1251 wrote:
> Do you know why they removed it?
The decision to remove ASP.NET support was announced in
August 2007:
http://www.adobe.com/go/kb402489
The announcement doesn't give a specific reason, but it's
fairly widely
known that Microsoft and Adobe are rivals. Microsoft controls
the
development and release cycle of ASP.NET, so Dreamweaver
could never
hope to keep up with the latest version. Rather than expend a
lot of
resources on supporting features that would always lag behind
anything
produced by Microsoft, it seems fairly obvious that Adobe
decided to
abandon the battle with ASP.NET and concentrate on other
features instead.
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com

Similar Messages

  • How to create a aspx page that expires after first use

    I want to create an ".aspx" page in VB that will expire after the first use or 30 minutes
    This is to add a password reset page onto our one of our apps.
    Thanks

    I want to create an ".aspx" page in VB that will expire after the first use or 30 minutes
    This is to add a password reset page onto our one of our apps.
    Thanks
    Hi,
    Based on your replay in another thread about sharepoint, maybe you are asking the way used in sharepoint, then I would suggest you consider posting this issue in
    sharepoint forum to get supports.
    If not, then you could post this issue in the forums Mr. Monkeyboy suggested.
    Thanks for your understanding.
    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.

  • To create a dialog page

    HI,
    I have a requirement that when user clicks on Search button on Search page without entering any search criteria, a new dialog page(like an alert box) should appear displaying the msg "This Search will take long time.Do you wish to continue". If user selects on Yes button on this dialog page the details screen should open with search results. If user clicks on No button on this dialog page, the search page should be displayed.
    Can anyone please provide me the steps to create a dialog page and setting the page forward URLs for Yes & No buttons of Dialog Page.
    Thanks.

    Hi
    You can use the below code for that:-
    (i) Write the below code in the search button event in PFR.
              OAException mainMessage=new OAException("This Search will take long time.Do you wish to continue");
              // Note that even though we're going to make our Yes/No buttons submit a
              // form, we still need some non-null value in the constructor's Yes/No
              // URL parameters for the buttons to render, so we just pass empty
              // Strings for this.
              OADialogPage dialogPage = new OADialogPage(OAException.WARNING,
              mainMessage, null, "", "");
              // Always use Message Dictionary for any Strings you want to display.
              dialogPage.setOkButtonItemName("SearchYesButton");
               dialogPage.setOkButtonToPost(true);
              dialogPage.setNoButtonToPost(true);
              dialogPage.setPostToCallingPage(true);
              // Now set our Yes/No labels instead of the default OK/Cancel.
              dialogPage.setOkButtonLabel("Yes");
              dialogPage.setNoButtonLabel("No");
              pageContext.redirectToDialogPage(dialogPage);(ii) Now handle the Yes Button in PFR like this
          if (pageContext.getParameter("SearchYesButton") != null)
             // Handle Search here
          }AJ

  • I'm trying to create my icloud account with my apple id but in the first step it tells me to check my e.mail and there is no message in my inbox. What is happening ?

    I'm trying to create a icloud account but I can't go on from the first step. The sistem ask me to check my e.mail and when I go to my inbox there is nothing. And it keep saying that I dind't verify my e,mail. What is happening please.

    No-one seems to know, or have any idea how to solve the problem!

  • IBooks Author. I am not allowed to sign in with my Apple ID on iTunes Connect when I am trying to publish my book in iBooks Author. I do not understand why because I have fulfilled the first steps creating an account and informed my IRS tax number...

    I am not allowed to sign in with my Apple ID on iTunes Connect when I am trying to publish my book in iBooks Author. I do not understand why because I have fulfilled the first steps creating an account and informed my IRS tax number...

    The recommendation is always to make another ID for use with a paid books account. And while I can't swear this is at the root of your issue, you should in any case reach out to Apple for assistance on this one, I think.
    Account Applications:
    [email protected]
    Global Phone Support
    We have expanded English-language publisher phone support. To make contacting the iBookstore support even easier, new local phone numbers are now available for Australia, France, Germany, Italy, Netherlands, Spain, and the U.K. Support is available Monday to Friday, from 7 a.m. to 5 p.m. (PT).
    Country
    Phone Number
    Australia
    1300 307 504
    Note that this is a low tariff number.
    France
    0805 540 117
    Germany
    0800 664 5307
    Italy
    800 915 902
    Netherlands
    0800 0201 578
    Spain
    900 812 687
    U.K.
    0800 975 0615
    U.S.
    +1 (877) 206-2092
    Toll-free from U.S. and Canada.
    Good luck

  • How to create a new aspx page in Pages library using Elements.xml without including any aspx page layout in my feature?

    Is it possible to have the elements.xml file create a page in the Pages (or SitePages) library without actually including any sort of page layout or aspx artifact in the feature?
    I see no reason to add a mywebpartlayout.aspx to my feature just so I can deploy a Home.aspx based on the BlankWebPart.aspx page layout. 
    I'm sure there is something obvious I am missing with regards to the Elements schema (which is why I've almost given up on using it completely and just gone to pure C#) but
    I would really like to do this kind of simple stuff with declarations if at all possible. Must less code to write, debug, test and maintain.

    I don't see how my question keeps getting misunderstood. This seems to be very clear and clearly not answered: "Is it possible to have the Elements.xml file
    create a page in the Pages (or SitePages) library without actually including any sort of page layout or aspx artifact in the feature?"
    I can't be more clear than "without including ANY sort of page layout or aspx artifact (meaning anything ending in aspx) IN THE FEATURE". I am not capitalizing to yell,
    only to emphasize. Your disagreement is based on a link that shows ADDING AN ARTIFACT (the dummy MyPage.aspx) to a feature. I am asking if it
    is possible (again, I cannot be more clear) to just use an Elements.xml file to instruct SharePoint to make a new item in a Pages or SitePages library. 
    Your definition of page includes Page Layouts and what you call Web Part Pages (again, a type of page layout + data in a site pages list that says what webparts
    to display). Page Layouts are clearly NOT items stored inside of a SitePages or Publishing Pages library. Those libraries are just lists whose records
    define the parts to show inside a specific layout.
    When I refer to a Page I mean an entry into a pages (site pages/publishing pages) list. If I wanted to deploy a page layout then, quite obviously, I would need
    to include it into my solution. I think maybe you are assuming that I do not know the difference. I do. The question is, can an Elements file alone be enough to instruct SharePoint to make a new entry into a Pages or SitePages library. 
    Now, your second link does show how to reference an existing Page Layout. Thank you for that. It is excellent. But this still leaves the problem of having to
    add some sort of aspx page into the solution. Let me try to explain why I feel this SHOULD BE unnecessary: The aspx file will not have anything on it if I am referring to the ~sitecollections/.../BlankWebPartPage.aspx layout.
    All web parts and content that should appear on the new page can be described IN the Elements.xml file. Any sort of aspx file is unnecessary, it seems to me.
    So, if I am referencing a ~sitecollections/.../BlankWebPartPage.aspx page layout and specifying the web parts to add to the page, why should there be a
    requirement to have some aspx file within the feature? That's what I am trying to figure out.
    I am not asking for source code as proof. I am asking for an Elements file that does NOT reference anything AT ALL inside the Visual Studio solution for reasons I just described.
    If you do not know how to do it then perhaps it cannot be done but I would like the question to stay unanswered for a little while until someone can demonstrate either a) it CAN
    be done or b) a link to some Microsoft document stating that it is MANDATORY to have a physical element within the feature that gets copied to the environment.
    I think it is important to understand what is being asked before insisting you have answered. It is clear from your posts that you have not fully understood the question yet but
    I am hoping this posts makes it clear. I really appreciate you taking the time to respond, though. You seem to be the only one up for the challenge! :)

  • Create aspx page without masterpage and add visual webpart into it

    Hi
    I have to create aspx page programatically and add it to the site pages library of team site.
    Requirements for this page are
    1) Page should not use masterpage
    2) Add a visual web part to this page
    3) on feature activation add this page with webpart should be added to site and set this page as welcom page
    We are using TeamSite template in our project
    Please provide me solutions with examples if possible
    Thanks
    Bhavin

    Hey,
    is the visual webpart a custom webpart which is created by yourself or is it a standard webpart such as content editor?
    Not to use the masterpage is quite difficult because the masterpage is necessary for several things. As far as I know there is no way to create a page without a masterpage. As a workaround I would recommend to try the "isDlg=1" parameter in the
    url. This flag hides most of the elements in the masterpage. As an example it is used by the modal dialog framework. Every page which pops up as a modal dialog (such as the forms of lists and libraries) is a ordinary page (including the masterpage) but it
    has the flag in its url. So only the actual content of the page is displayed while the elements of the masterpage are hidden.
    Try to set the welcome page like this: http://[webUrl]/SitePages/YourCustomPage.aspx?isDlg=1

  • I am trying to create mobile pages using the steps file new new document page from sample mobile starters jquery mobile (cdn).  When "page from sample" is selected, the subsequent options are not available.  This seems like a silly question, but how do I

    I am trying to create mobile pages using the steps file>new>new document>page from sample>mobile starters>jquery mobile (cdn).  When "page from sample" is selected, the subsequent options are not available.  This seems like a silly question, but how do I acquire these options?

    You can get the latest jQuery Mobile Themes directly from jQuery Mobile's web site.
    https://demos.jquerymobile.com/1.1.0/docs/api/themes.html
    Or roll your own with ThemeRoller
    http://themeroller.jquerymobile.com/
    Nancy O.

  • How to create DTR server, first steps...

    Hello,
    I would like to start using the DT feature.
    I see that when I create new Client at my NWDS I am being asked to enter the DRT Server URL. Does this comes with the portal installation (I am using NW 04 SP 11) or should I install it separately? Can anyone please give me "first steps" towards the DT?
    10X,
    Roy

    Ok, here is the info about the plug-in.
    +
    Using the DTR Administrator Plug-In
    Use
    The DTR administrator plug-in is an enhancement of the DTR Eclipse client. It allows you to comfortably execute administrative tasks in the DTR.
    ·        Maintaining the user authorizations for DTR resources
    ·        Integrating activities
    ·        Displaying technical properties
    ·        Creating workspace folders
    ·        Creating workspaces
    ·        Creating folders
    You can execute several of these tasks, such as creating workspaces and workspace folders or integrating activities, also in the command line client of the DTR.
    Prerequisites
    ·        The user has administrator rights for the respective DTR server.
    ·        The DTR administrator plug-in is installed and activated:
    Maintaining the User Authorizations for DTR Resources
           1.      Open the context menu for the DTR resource (for example, in one of these views: Repository Browser, Open Activities, Activation View, Closed Activities, etc.)
           2.      Choose View Permissions.
    The Permissions view appears.
    For more information, see User Authentication and Authorization.
    Integrating Activities
           1.      Open the DTR view Closed Activities.
           2.      Select one or more activities.
           3.      Open the context menu and choose Integrate to...
    A dialog window appears.
           4.      Select the target workspaces.
           5.      Confirm with OK.
    Displaying Technical Properties
           1.      Open the context menu for the DTR resource (for example, in one of these views: Repository Browser, Open Activities, Activation View, Closed Activities, etc.) and choose Technical Properties.
    Creating Workspace Folders
           1.      Open the context menu of the DTR root node or the workspace folder node (for example, in view Repository Browser) and choose Create Workspace.
    For this action, no activity is required.
    Creating Workspaces
           1.      Open the context menu of the DTR root node or the workspace folder node (for example, in view Repository Browser) and choose Create Workspace.
    For this action, no activity is required.
    Creating Folders
           1.      Open the context menu of the workspace node (for example, in view Repository Browser) and choose Create Folder.
    For this action, no activity is required.
    +
    Regards,
    Rich Heilman

  • First time Report aspx page load fine close Second time it asking parameter

    Hi
    Please go to
    http://viewer.zoho.com/docs/da5aaag (or)
    http://www.megaupload.com/?d=HQCSMQNA
    it has my Crystal report aspx page and aspx.cs page sourceu2026!
    Note: Save image in the above url and Zoom it see clear code
    My Problem:-
    Its working fine, but have small problem let me know why the problem occur
    When I first load the page it show data fine in crystal report viewer and if I select from dropdwonlist it showing data based on dropdownlist value working fine.. when I close the page and come back agaion it asking paramter why its asking parameter in second time when I come to same page in first time its working fine.. second time it asking parameter.. let me know where im wrongu2026
    Edited by: gopihere on Oct 30, 2010 10:51 AM
    Edited by: gopihere on Oct 30, 2010 1:03 PM

    You are setting the CrystalReportViewer1.ReportSource in multiple sections of code on this page. I'm not quite sure what you are attempting to accomplish here? In my opinion, your ConfigureCrystalReports() should accept a report filename, or something similar. Then use that info to load the report and throw it into Session. Then the last line of ConfigureCrystalReports can set the ReportSource.
    If you can tell us what you are trying to do we might be able to give you some advice. But at this point I'd just say start over on this page.

  • Error on modifying the SharePoint excel services viewer (xlviewer.aspx) page

    I am working on SharePoint 2013 and am following this
    article to modify the xlviewer.aspx page in order to pass into it URL parameters. After following the instruction when I reload the new webpage (MyXLViewer.aspx) I am getting the foll. error:-
    Sorry, something went wrong An error occurred during the compilation of the requested file, or one of its dependencies. 'Microsoft.Office.Excel.WebUI.ExcelWebRendererInternal' does not contain a definition for 'RowsToDisplay' and no extension method 'RowsToDisplay'
    accepting a first argument of type 'Microsoft.Office.Excel.WebUI.ExcelWebRendererInternal' could be found (are you missing a using directive or an assembly reference?) Technical Details
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: db9b709c-966c-80de-156d-15c4b2783b09
    Date and Time: 2/3/2014 5:15:03 PM
    Go back to site
    Can you please try this and replicate and let me know if you are facing the same issue..? Or whether I am doing something wrong here? Foll.
    is the procedure I have followed:-
    Create a copy of XLViewer.aspx which is located in C:\Program Files\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\LAYOUTS. I named my copy MyXLViewer.aspx. you can try /14/ incase of SharePoint2010..
    Open MyXLViewer.aspx in Notepad and do the following;
    <%@ Page language="C#" Codebehind="XlViewer.aspx.cs" AutoEventWireup="false"... --> Change This To --> <%@ Page language="C#" Codebehind="XlViewer.aspx.cs" AutoEventWireup="true"...
    Placed foll code before head tag closes </head> on
    the page:
    <script runat="server">
    private void Page_Load(object sender, System.EventArgs e)
    if (Request.QueryString["RowsToDisplay"] != null)
    m_excelWebRenderer.RowsToDisplay =
    Int32.Parse(Request.QueryString["RowsToDisplay"]);
    if (Request.QueryString["ColumnsToDisplay"] != null)
    m_excelWebRenderer.ColumnsToDisplay =
    Int32.Parse(Request.QueryString["ColumnsToDisplay"]);
    if (Request.QueryString["ToolbarVisibilityStyle"] != null)
    if (Request.QueryString["ToolbarVisibilityStyle"] == "1")
    m_excelWebRenderer.ToolbarStyle =
    ToolbarVisibilityStyle.FullToolbar;
    else
    m_excelWebRenderer.ToolbarStyle =
    ToolbarVisibilityStyle.None;
    </script>

    Hi,    
    The article you referenced might be applied to SharePoint 2007, however, in SharePoint 2013, the
    RowsToDisplay property and
    ColumnsToDisplay property are no longer supported, so these properties are not guaranteed
    to work as they were in SharePoint 2007.
    If you want to customize the Excel Web Access Web Part, it is recommended to take a look at the two documentations about Excel Web Access Web Part custom properties:
    http://office.microsoft.com/en-001/sharepoint-server-help/excel-web-access-web-part-custom-properties-HA010377893.aspx
    http://office.microsoft.com/en-001/sharepoint-server-help/excel-web-access-web-part-summary-HA010105454.aspx
    Best regards
    Patrick Liang
    TechNet Community Support
    Hello Patrick,
    As I have posted in my question I am interested in customizing the Excel viewer aspx page which opens up when you open an excel book via the document library in SharePoint 2013. The solution you are talking about is to modify the properties of the excel
    web part and this does not answer my question.
    Again, can you tell me if there is any possible way to customize the XLVIEWER.ASPX page sitting in LAYOUTS folder so that I can access certain properties like AllowInteractivity, etc? Or has this been completely discontinued by Microsoft in SharePoint 2013?
    If the RowsToDisplay
    property and ColumnsToDisplay
    property are no longer supported, are there
    any other property that this tag supports?
    We have opened the xlviewer.aspx page from layouts folder and can see the foll. control:
    <Ewa:ExcelWebRendererInternal id="m_excelWebRenderer" runat="server"
    AllowInteractivity="false" AllowPivotSpecificOperations="false"/>
    However, there is no documentation available from Microsoft or any other dev sites on this control/tag. This
    link mentions that the ExcelWebRendererInternal is a totally useless instance.
    I need clarification on this.
    We also tried to edit the "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\1033\ewa.strings.moss.js" file. But, any edits corrupts what is rendered on the right click of the pivot chart/table on xlviewer.aspx
    page.

  • Using powershell to deploy provider-hosted app and specify remote Url instead of using appinv.aspx page

    Hello all,
    Could you possibly help me with provider-hosted app development/deployment process.
    We developed SharePoint provider-hosted app that works just fine in development environment. Now we need to automate it's installation in test environment via powershell.
    In AppManifest.xml that we are deploying we have key instead of explicit URL:
    <App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest" Name="ShowAllRoomsApp" ProductID="{922a18aa-5592-b59a-4da9-4791baef02e7}" Version="1.0.0.0"
    SharePointMinVersion="15.0.0.0">
      <Properties>
        <Title>SomeTitle</Title>
        <StartPage>~remoteAppUrl/Pages/Default.aspx?{StandardTokens}</StartPage>
    If we use as
    https://technet.microsoft.com/en-us/library/jj655398.aspx recommends, we cannot specify Redirect Url as we can do this on
    /_layouts/appinv.aspx
    So now it seems like the only way to deploy this kind of solution is using appinv.aspx page.Or must we apply this URL in AppManifest on developing stage in Visual Studio?
    What did I miss?
    P. S. Even if I use /_layouts/appinv.aspx after powershell commandlets, I get error.

    hi,
    to deploy provider hosted app you need 2 things
    1. Client ID
    2. Redirect URL.
    What you can do you can generate app from visual studio using clientID and URL from developer enviornment.
    Now a app file is just a simple compressed zip file if you rename it as .zip and extract you will find AppManifest
    inside it. So to create an app for Testing enviornment what you have to to Get the CLient ID (from AppRegNew.aspx) in testing enviornment. Unzip .App file change the AppManifest with testing client ID and URL than again zip file and rename as .app.
    Now if you upload this file it will work.
    To automate this scenerio i have created a simple windows Application in which i Pass the Client ID and StartURl and an App File it unzips the app file make changes to app and again zip it.
    public static class AppPackageHelper
    public const string StartUrlExpression = "{0}?{1}";
    public const string StandardToken = "{StandardTokens}";
    public static string Publish(string appPath, string ClientId,string StartUrl)
    string tempDir = string.Empty;
    string outPutFile = string.Empty;
    try
    string parentDir = System.IO.Path.GetDirectoryName(appPath);
    outPutFile = System.IO.Path.Combine(parentDir, ClientId + "-Winshuttle.app");
    tempDir = System.IO.Path.Combine(parentDir, ClientId.ToString());
    Directory.CreateDirectory(tempDir);
    int lastInd = appPath.LastIndexOf('.');
    string tempPath = string.Empty;
    string targetFilePath = string.Empty;
    string cabPath = System.IO.Path.Combine(tempDir, System.IO.Path.GetFileNameWithoutExtension(appPath) + ".cab");
    FileInfo fInfo = new FileInfo(appPath) { IsReadOnly = false };
    File.Copy(appPath, cabPath);
    XDocument doc = null;
    string appManifest = string.Empty;
    using (ZipArchive zipArch = ZipFile.Open(cabPath, ZipArchiveMode.Update))
    appManifest = string.Format(@"{0}\AppManifest.xml", Directory.GetParent(cabPath).FullName);
    ZipArchiveEntry manifestEntry = zipArch.Entries.LastOrDefault(e => e.Name.ToLower() == "appmanifest.xml");
    manifestEntry.ExtractToFile(appManifest);
    doc = XDocument.Load(appManifest);
    XNamespace ns = doc.Root.GetDefaultNamespace();
    string defaultUrl = string.Format(StartUrlExpression, StartUrl.TrimEnd('/'), StandardToken);
    doc.Descendants(XName.Get("StartPage", ns.NamespaceName)).First().Value = defaultUrl;
    doc.Descendants(XName.Get("RemoteWebApplication", ns.NamespaceName)).First().Attribute(XName.Get("ClientId")).Value = setupInfo.ClientId.ToString();
    doc.Save(appManifest);
    if (manifestEntry != null)
    manifestEntry.Delete();
    zipArch.CreateEntryFromFile(appManifest, "AppManifest.xml");
    int totEnt = zipArch.Entries.Count;
    for (int e = 0; e < totEnt; e++)
    if (zipArch.Entries[e].Open().Length == 0)
    //if (zipArch.Entries.Count > totEnt && e >= totEnt) break;
    //zipArch.CreateEntry(zipArch.Entries[e].FullName);
    File.Delete(appManifest);
    if (File.Exists(outPutFile))
    File.Delete(outPutFile);
    File.Move(cabPath, outPutFile);
    return outPutFile;
    catch
    throw;
    finally
    if (System.IO.Directory.Exists(tempDir))
    System.IO.Directory.Delete(tempDir, true);
    return outPutFile;
    using System.IO.Compression.FileSystem.dll.
    Also if you want to do it using powershell You need to do the same thing unzip-> changes values-> zip
    So basic thing is You need to ahve only valid AppManifest file which contains 2 valid values Client Id and StartUrl
    if you changes it inside appmanifest manuall than it will also work. Using above code you can create a console Application to do it. You can use powershell it just that i dont know how to zip unzip in powershell but i am pretty sure you can easily find it
    on searching.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Steps to create tabstrip for subscreen in selection screen

    hi,
    can let me know the steps taken to create subscreen in selection screen and put in tabstrip?
    i need to have 3 screens. 1000 being the tabstrip, 2000 being first subscreen and 3000 being the second subscreen.
    i have the abap code but i do not know the steps to create especially 1000 screen.
    for 2000 and 3000, once i activated the program, these 2 screens added but i do not know where can i create the 1000 screen.
    also, should i use wizard to create tabstrip?
    please advise. thanks
    SELECTION-SCREEN BEGIN OF SCREEN 2000 AS SUBSCREEN.        SELECTION-SCREEN BEGIN OF BLOCK x WITH FRAME TITLE text-001.
    SELECT-OPTIONS: para1 FOR  field1 ,     
                                  para2 FOR field2.            
    SELECTION-SCREEN END OF BLOCK x.
    SELECTION-SCREEN END OF SCREEN 2000.
    SELECTION-SCREEN BEGIN OF SCREEN 3000 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK y WITH FRAME TITLE text-002.
    SELECT-OPTIONS: para3 FOR  field3 ,     
                                  para4 FOR field4.      
    SELECTION-SCREEN END OF BLOCK y.
    SELECTION-SCREEN:SKIP.
    SELECTION-SCREEN END OF SCREEN 3000.

    e_l,
      See the total doc.. with example.
    Assigning a Subscreen Area to a Tab Title
    You must assign a subscreen area to each tab title. There are two ways of doing this:
    Paging in the SAPgui
    You need to assign a separate subscreen area to each tab title, and define the function codes of the tab titles with type P (local GUI function). In the screen flow logic, you call all the subscreens in the PBO event. This means that all of the tab pages reside locally on the SAPgui.
    When the user chooses a tab title, paging takes place within the SAPgui. In this respect, the tabstrip control behaves like a single screen. In particular, the PAI event is not triggered when the user chooses a tab title, and no data is transported. While this improves the performance of your tabstrip control, it also has the negative effect that when the user does trigger the PAI event, all of the input checks for all of the subscreens are performed. This means that when the user is working on one tab page, the input checks may jump to an unfilled mandatory field on another page.
    Local paging at the SAPgui is therefore most appropriate for screens that display data rather than for input screens.
    Paging on the Application Server
    One subscreen area is shared by all tab titles and called in the PBO event. You define the function codes of the individual tab titles without a special function type. When the user chooses a tab page, the PAI event is triggered, and you must include a module in your flow logic that activates the appropriate tab page and assigns the correct subscreen to the subscreen area.
    Since the PAI event is triggered each time the user chooses a tab title, this method is less economical for the application server, but the input checks that are performed only affect the current tab page.
    Procedure in Either Case
    You create the subscreen areas within the tabstrip area. You assign the subscreen areas to one or more tab titles in the Screen Painter by selecting one or more titles. You can also assign a subscreen area to a tab title in the tab title attributes by entering the name of the subscreen area in the Reference field attribute.
    The procedure for the alphanumeric Screen Painter is described under Creating Tabstrip Controls.
    If you are paging at the SAPgui, create a subscreen area for each tab title. If you are paging at the application server, select all tab titles and create a single subscreen area. The subscreen areas may not cover the top line of the tab area. However, within a tab area, more than one subscreen area can overlap.
    Programming the Flow Logic
    In the flow logic, all you have to do by hand is include the correct subscreens. The screen flow and data transport to the ABAP program is the same as for normal subscreens. There are two ways of programming the screen flow logic, depending on how you have decided to page through the tabstrip control.
    Paging in the SAPgui
    When you page in the SAPgui, you must include a subscreen for each subscreen area:
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN: <area1> INCLUDING [<prog 1>] <dynp 1>,
                      <area2> INCLUDING [<prog 2>] <dynp 2>,
                      <area3> INCLUDING [<prog 3>] <dynp 3>,
    PROCESS AFTER INPUT.
      CALL SUBSCREEN: <area1>,
                      <area2>,
                      <area3>,
    Paging on the Application Server
    When you page on the application server, you only have to include a subscreen for the one subscreen area:
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN <area> INCLUDING [<prog>] <dynp>.
    PROCESS AFTER INPUT.
      CALL SUBSCREEN <area>.
    Handling in the ABAP Program
    Before you can use a tabstrip control in your ABAP program, you must create a control for each control in the declaration part of your program using the following statement:
    CONTROLS <ctrl> TYPE TABSTRIP.
    where <ctrl> is the name of the tabstrip area on a screen in the ABAP program. The control allows the ABAP program to work with the tabstrip control. The statement declares a structure with the name <ctrl> . The only component of this structure that you need in your program is called ACTIVETAB.
    Use in the PBO event
    Before the screen is displayed, you use the control to set the tab page that is currently active. To do this, assign the function code of the corresponding tab title to the component ACTIVETAB:
    <ctrl>-ACTIVETAB = <fcode>.
    When you page at the SAPgui, you only need to do this once before the screen is displayed. This initializes the tabstrip control. The default active tab page is the first page. After this, the page activated when the user chooses a tab title is set within SAPgui.
    When you page on the application server, you must assign the active page both before the screen is displayed for the first time, and each time the user pages. At the same time, you must set the required subscreen screen.
    You can suppress a tab page dynamically by setting the ACTIVE field of table SCREEN to 0 for the corresponding tab title.
    Use in the PAI event
    In the PAI event, ACTIVETAB contains the function code of the last active tab title on the screen.
    When you page in the SAPgui, this allows you to find out the page that the user can currently see. When you page at the application server, the active tab page is controlled by the ABAP program anyway.
    The OK_CODE field behaves differently according to the paging method:
    Paging in the SAPgui
    When you page in the SAPgui, the PAI event is not triggered when the user chooses a tab title, and the OK_CODE field is not filled. The OK_CODE field is only filled by user actions in the GUI status or when the user chooses a pushbutton either outside the tabstrip control or on one of the subscreens.
    Paging on the application server
    If you are paging at the application server, the PAI event is triggered when the user chooses a tab title, and the OK_CODE field is filled with the corresponding function code.
    To page through the tabstrip control, you must assign the function code to the ACTIVETAB component of the control:
    <ctrl>-ACTIVETAB = <ok_code>.
    This statement overwrites the function code of the last active tab page with that of the new tab title. At the same time, you must ensure that the correct subscreen is inserted in the subscreen area.
    Otherwise, tabstrip controls are handled like normal subscrens in ABAP programs, that is, the ABAP program of a subscreen screen must contain the dialog modules called from the flow logic of the subscreen.
    Examples
    Tabstrip control, paging at SAPgui
    REPORT DEMO_DYNPRO_TABSTRIP_LOCAL.
    CONTROLS MYTABSTRIP TYPE TABSTRIP.
    DATA: OK_CODE TYPE SY-UCOMM,
          SAVE_OK TYPE SY-UCOMM.
    MYTABSTRIP-ACTIVETAB = 'PUSH2'.
    CALL SCREEN 100.
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE CANCEL INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE USER_COMMAND INPUT.
      SAVE_OK = OK_CODE.
      CLEAR OK_CODE.
      IF SAVE_OK = 'OK'.
        MESSAGE I888(SABAPDOCU) WITH 'MYTABSTRIP-ACTIVETAB ='
                                      MYTABSTRIP-ACTIVETAB.
      ENDIF.
    ENDMODULE.
    The next screen (statically defined) for screen 100 is itself. It has the following layout:
    The screen contains a tabstrip area called MYTABSTRIP with three tab titles PUSH1, PUSH2 and PUSH3. The function codes have the same name, and all have the function type P. One of the subscreen areas SUB1 to SUB3 is assigned to each tab title. The pushbutton has the name BUTTON and the function code ‘OK’.
    In the same ABAP program, there are three subscreen screens 110 to 130. Each of these fits the subscreen area exactly. The layout is:
    The screen flow logic for screen 100 is as follows:
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      CALL SUBSCREEN: SUB1 INCLUDING SY-REPID '0110',
                      SUB2 INCLUDING SY-REPID '0120',
                      SUB3 INCLUDING SY-REPID '0130'.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
      CALL SUBSCREEN: SUB1,
                      SUB2,
                      SUB3.
      MODULE USER_COMMAND.
    The screen flow logic of subscreens 110 to 130 does not contain any module calls.
    When you run the program, a screen appears on which the second tab page is active, since the program sets the ACTIVETAB component of the structure MYTABSTRIP to PUSH2 before the screen is displayed. The user can page through the tabstrip control without the PAI event being triggered. One of the three subscreens is included on each tab page.
    When the user chooses Continue, the PAI event is triggered, and an information message displays the function code of the tab title of the page that is currently active.
    Tabstrip control with paging on the application server.
    REPORT DEMO_DYNPRO_TABSTRIP_LOCAL.
    CONTROLS MYTABSTRIP TYPE TABSTRIP.
    DATA: OK_CODE TYPE SY-UCOMM,
          SAVE_OK TYPE SY-UCOMM.
    DATA  NUMBER TYPE SY-DYNNR.
    MYTABSTRIP-ACTIVETAB = 'PUSH2'.
    NUMBER = '0120'.
    CALL SCREEN 100.
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE CANCEL INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE USER_COMMAND INPUT.
      SAVE_OK = OK_CODE.
      CLEAR OK_CODE.
      IF SAVE_OK = 'OK'.
        MESSAGE I888(SABAPDOCU) WITH 'MYTABSTRIP-ACTIVETAB ='
                                      MYTABSTRIP-ACTIVETAB.
      ELSE.
        MYTABSTRIP-ACTIVETAB = SAVE_OK.
        CASE SAVE_OK.
          WHEN 'PUSH1'.
            NUMBER = '0110'.
          WHEN 'PUSH2'.
            NUMBER = '0120'.
          WHEN 'PUSH3'.
            NUMBER = '0130'.
        ENDCASE.
      ENDIF.
    ENDMODULE.
    The statically-defined next screen for screen 100 is itself, and its layout is the same as in the above example. However, the function codes of the three tab titles have the function type <blank> and they all share a single subscreen area SUB.
    The same subscreen screens 110 to 130 are defined as in the last example.
    The screen flow logic for screen 100 is as follows:
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      CALL SUBSCREEN SUB INCLUDING SY-REPID NUMBER.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
      CALL SUBSCREEN SUB.
      MODULE USER_COMMAND.
    In this example, the program includes a subscreen screen in the subscreen area SUB dynamically during the PBO event.
    The screen flow logic of subscreens 110 to 130 does not contain any module calls.
    This example has the same function as the previous example, but the paging within the tabstrip control is implemented on the application server. Each time the user chooses a tab title, the function code from the OK_CODE field is assigned to the ACTIVETAB component of structure MYTABSTRIP. At the same time, the variable NUMBER is filled with the screen number of the subscreen that has to be displayed in the subscreen area SUB of the tabstrip control
    Pls. reward if useful

  • About creating an AJAX page with DML procedures  using dynamic actions

    About creating an AJAX page with DML procedures in APEX using dynamic actions. Help with limitations.
    I want to share my experience, creating AJAX procedures in APEX 4.0.
    LIMITATIONS
    •     How Can I Hide UPDATE button while I press NEW button. ??
    •     How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
    •     How can I avoid multiple Inserts or Updates. ??
    Here are the steps to create an AJAX Updatable Form using the sample table DEPTS. You can see the demo here: [http://apex.oracle.com/pls/apex/f?p=15488:1]
    1)     Create a blank page
    2)     Add a Report Region for departments (It shows the columns deptno, dname and loc).
    3)     Add an HTML Region and create the elements to edit a Department.
    a.     P1_DEPTNO (Hidden to store PK)
    b.     P1_DNAME (Text Field)
    c.     P1_LOC (Text Field)
    4)     You also have to create a hidden element called P1_ACTION. This will help to trigger dynamic actions to perform DMLs.
    5)     Open Page Attributes and in the HTML Header Section include the following code.
    <script>
         function doSelect(pId){
              $x_Value(‘P1_DEPTNO’,pId);
              $x_Value(‘P1_ACTION’,’SELECT’);
    </script>
    6)     Modify the column DEPTNO in the report, to add column link. In the link text you can use #DEPTNO# , in target you must select ‘URL ‘ and in the URL field write javascript:doSelect(#DEPTNO#);
    7)     Create the following Buttons in the Form Region.
    CANCEL     Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CANCEL’);
    NEW          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’NEW’);
    SAVE          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’UPDATE’);
    CREATE          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CREATE’);
    8)     Create the following Dynamic Action to Select a Department
    Name:     Select Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     SELECT
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    SELECT dname, loc
    INTO :P1_DNAME, :P1_LOC
    FROM dept
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    The first limitation, the value of page elements don’t do refresh so I added the following true actions to the dynamic action AFTER Execute PL/SQL Code.
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     (none) (leave it blank)
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     (none) (leave it blank)
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    9)     Create the following Dynamic Action to Update a Department
    Name:     Update Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     CREATE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    UPDATE dept SET
    dname = :P1_DNAME,
    loc = :P1_LOC
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
    Action:     Set Value
    Unmark ‘Fire on page load’ and ‘Stop execution on error’
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     P1_DNAME
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     P1_LOC
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    Finally to refresh the Departments report, add the following true action at the end
    Action:     Refresh
    Affected Elements: Region Departments
    10)     Create the following Dynamic Action to Create a Department
    Name:     Create Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     CREATE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    INSERT INTO dept(deptno,dname,loc)
    VALUES (:P1_DEPTNO,:P1_DNAME,:P1_LOC);
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Function Body
    PL/SQL Function Body:     
    DECLARE
    v_pk NUMBER;
    BEGIN
    SELECT DEPT_SEQ.nextval INTO v_pk FROM DUAL;; -- or any other existing sequence
    RETURN v_pk;
    END;
    Page Items to submit:     P1_DEPTNO
    Affected Elements: Item P1_DEPTNO
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     P1_DNAME
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark ‘Fire on page load’ and ‘Stop execution on error’
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     P1_LOC
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    Finally to refresh the Departments report, add the following true action at the end
    Action:     Refresh
    Affected Elements: Region Departments
    11)     Create the following Dynamic Action to delete a department
    Name:     Delete Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     DELETE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    DELETE dept
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions AFTER the Execute PL/SQL Code true Action.
    Action:     Refresh
    Affected Elements: Region Departments
    Action:     Clear
    Unmark ‘Fire on page load’
    Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC
    12)     Finally Create the following Dynamic Action for the NEW event
    Name:     New Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     NEW
    Action:     Clear
    Unmark *‘Fire on page load’*
    Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC

    I need some help to solve this issues
    •     How Can I Hide UPDATE button while I press NEW button. ??
    •     How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
    •     How can I avoid multiple Inserts or Updates. ??

  • Steps to  create a sap script

    Please  i want one sample  with  steps to  create a sap script .
    girish

    Hi Girish,
    go to se71->first u create the form.
    there from PAGES AND WINDOWS OPTION , PLACE THE CONTROL ON MAIN WINDOW->EDIT->TEXT ELMENTS.
    GOTO->CHANGE EDITOR
    THERE GIVE FOLLOWING.
    /E ELE1
    &ITAB-VBELN&
    &ITAB-ERDAT&
    &ITAB-NETWR&.
    F3->SAVE AND ACTIVATE
    AND IN THE PRINT PROGRAM
    EXECUTE THE FOLLOWING CODE
    REPORT ZUSC.
    tables:vbak.
    parametrs:ordno for vbak-vbeln.
    data:begin of itab occurs 0,
    vbeln like vbak-vbeln,
    erdat like vbak-erdat,
    netwr like vbak-netwr,
    end of itab.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    FORM = 'form name '
    LANGUAGE = SY-LANGU.
    select vbeln erdat netwr from vbak into table itab where vben = ordno.
    loop at itab.
    CALL FUNCTION 'START_FORM'
    EXPORTING
    FORM = ' ' "GIVE U R FORM NAME ,LANGUAGE,START PAGE
    LANGUAGE = ' '
    STARTPAGE = ' '.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'ele1 ' (this one u have to give in mainwindow->edit->text elements)
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'ELE1 '
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'.
    CALL FUNCTION 'END_FORM'.
    ENDLOOP.
    CALL FUNCTION 'CLOSE_FORM'.
    save,activate and execute
    I think it will useful for u.
    Reward points if useful.
    Thanks,
    Usha.

Maybe you are looking for

  • In P6 EPPM Application page p6 Help is not working

    Hi Guys, We have configured the P6 EPPM application successfully. Currently the p6 EPPM application is up and running. Our requirement, is in the P6 Application right corner in help link we have to get the p6help page. For this we have manually deplo

  • Need changes in standard data element

    Hi gurus, I want to change in one of SAP standard data element for adding search help into it. for this fields there is no user exit or any enhancement is present. I have taken access key from our basis guy after putting access key i am unable to cha

  • Can't access my songs on iTunes

    I recently had my laptop fixed and all of my music was saved and re-downloaded into iTunes. Now when I go into my iTunes I have 2 issues.. for some reason there are doubles of A LOT of my songs. And only some of my songs will play, the others tell me

  • Big PDF Handling: Acrobat vs. Preview

    I had the occasion to help out at the polls today. A coworker had a G4 iBook and a data CD with all the registered voters in our county on it, including name, address, precinct numbers, voting location, and birthdate. There were about 400,000 voters

  • I cannot import photos from PNY 32 gb disc to iPhoto

    Just made 600 pics and cannot import them now to iPhoto. It just doesn't import selected or import all. Could someone help to tell root cause and how to get this happen. thanks a lot. Martin