Message box for web form

I am trying to create a new C# web application. I need the message box and confirmation message box for my application. I knew there is no such control for web forms. I created a script string and registered it by using ScriptManager.RegisterStartupScript(Button1,
Button1.GetType(), "key", javascriptStr, false). Unfortunately the message box won't pop up when i click the button first, it will pop up when i click it on the second time.
I really don't know what is wrong.
Thank you in advance,

Hello yangyangxiaohui,
If you post your question in
ASP.NET forums, you'll get more valuable answers.
Please open up a new thread there, thanks for your understanding.
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.

Similar Messages

  • Modifying the appearance of the search box, the search button, and the submit button for web forms

    I'm trying to modify the appearance of the search box, the search button, and the submit button for web forms by modifying the CSS on Stylesheets. None of the tags I'm using (e.g. .webform .cat_button) seem to be working. What are the correct tags for those three elements?

    When you generate the help you can select / deselect the buttons that are displayed.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How do we customize the default CKEditor for Web Form Editor in UCM 10gR3?

    Our customers are using the Web Form Editor for some WYSIWYG changes. The form has too many options and they would like to limit what the users can do. We have attempted to make changes to the following files to customize the CKEditor for Web Form Editor and cannot see our changes reflected after saving/restarting Content Server.
    Instance\weblayout\webform\ckeditor\config.js
    Instance\weblayout\resources\wcm\3rdparty\fckeditor\fckconfig.js
    Instance\custom\FCKEditor\webform\ckeditor\config.js
    To test a simple change we tried adding the following to change the toolbar options.
    CKEDITOR.editorConfig = function( config )
    config.toolbar = 'MyToolbar';
    config.toolbar_MyToolbar =
    ['NewPage','Preview'],
    ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Scayt'],
    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
    ['Image','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
    ['Styles','Format'],
    ['Bold','Italic','Strike'],
    ['NumberedList','BulletedList','-','Outdent','Indent'],
    ['Link','Unlink','Anchor'],
    ['Maximize','-','About']
    There isn't much standard documentation on this out of the box feature and I've searched Oracle Support with no luck.
    Content Server 10gR3 (10.1.3.5.1)
    FCKEditor 2010_12_18 ($Rev: 90491 $) br-10g-10.1.3.5-release
    CS10gR35UpdateBundle 2011_02_08 (build 93)
    Thanks,
    Angela

    Posting the answer:
    You need to make the changes to the webforms component inside the ~\custom\FormEditor\templates\fe_config.js file. Then propagate your changes using the Administration > Actions > Publish layout files page.
    One more quick question - where do we limit the Styles, Fonts, Sizes, Colors?
    in the same file we added lines similar to the following to limit the fonts,
    styles....
    CKEDITOR.config.font_names = 'Arial;Times New Roman;Verdana';
    CKEDITOR.config.fontSize_sizes = '16/16px;24/24px;48/48px;';

  • Change File Name In The "File Download" Dialog Box For Web Reports

    Hi All ,
    I followed the below note to change the "File Download" name.
    How To Change The File Name In The "File Download" Dialog Box For Web Reports? Doc ID: Note:418366.1
    However its not working. Has anyone tried this and works fine ?
    Basically I wanted to change the name "rwservlet" when a report is run in an
    excel format.
    Rajesh Alex
    Rajesh Alex

    Hello,
    Have you checked if a HTTP header "Content-disposition" is returned ?
    You can use ieHTTPHEaders for IE
    http://www.blunck.se/iehttpheaders/iehttpheaders.html
    and
    Live HTTP Headers for FireFox
    https://addons.mozilla.org/en-US/firefox/addon/3829
    Regards

  • Is there any way to configure storage queue message encoding for Web Job's QueueTrigger?

    We have a web job that listens to Azure storage queue via QueueTrigger. The queue messages are not encoded when they are added to the queue:
    CloudStorageAccount account = CloudStorageAccount.Parse("...");
    CloudQueueClient client = account.CreateCloudQueueClient();
    CloudQueue queue = client.GetQueueReference("test1");
    queue.EncodeMessage = false;
    queue.AddMessage(new CloudQueueMessage("hello world"));
    And in the web job, we use the below method to listen to the queue.
    public static Task ProcessQueueMessageAsync([QueueTrigger("test1")]string message)
    And the web job crashes when it gets a message, with the below output. Unfortunately we cannot control the encode setting of the coming messages. So, our question is, is there any way to configure queue message encoding for Web Job's QueueTrigger?
    Thank you for any help and/or suggestion.
    Found the following functions:
    WebJobTest1.Functions.ProcessQueueMessageAsync
    Job host started
    Unhandled Exception: System.FormatException: Invalid length for a Base-64 char array or string.
    at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
    at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
    at System.Convert.FromBase64String(String s)
    at Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage.get_AsString()
    at Microsoft.Azure.WebJobs.Host.Storage.Queue.StorageQueueMessage.get_AsString()
    at Microsoft.Azure.WebJobs.Host.Queues.StorageQueueMessageExtensions.TryGetAsString(IStorageQueueMessage message)
    at Microsoft.Azure.WebJobs.Host.Queues.QueueCausalityManager.GetOwner(IStorageQueueMessage msg)
    at Microsoft.Azure.WebJobs.Host.Queues.Listeners.QueueTriggerExecutor.<ExecuteAsync>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.Azure.WebJobs.Host.Queues.Listeners.QueueListener.<ProcessMessageAsync>d__11.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at Microsoft.Azure.WebJobs.Host.Timers.BackgroundExceptionDispatcher.<>c__DisplayClass1.<Throw>b__0()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    Press any key to continue . . .

    Hi,
    Thanks for posting here.
    I am not too sure if the storage queue messages can be encoded before the webjob listens to it.
    I am currently researching to gather more information with regards to your request.
    I shall revert back to you with an update at the earliest.
    Sincerely appreciate your patience.
    Regards,
    Shirisha Paderu

  • URG: Blank Screen for Web Forms

    Hi Friends,
    I deployed all my forms on web recently I configured them to open in a separate frame .
    My problem is now when I click on the link for Web forms it opens a new window "Oracle Developer Forms Runtime" --Title with a blank screen. If we resize the window manually then it will launch the application.
    Previously it was working fine.
    configuration : DEV6.0
    OAS 4.07
    JINITIATER: 1.1.7.18
    CLIENTS WIN95 with Netscape 4.7 browsers
    HTML:
    <EMBED
    type="application/x-jinit-applet;version=1.1.7.18"
    java_CODE="oracle.forms.engine.Main"
    java_CODEBASE="Java"
    java_ARCHIVE="f60all.jar"
    WIDTH="400"
    HEIGHT="400"
    lookAndFeel="oracle"
    colorScheme="blue"
    serverPort="9000"
    serverHost="rsforms.dcr.net"
    background="no"
    splashScreen="no"
    separateFrame="true"
    serverArgs="module=J:\Webforms\dcr_LOG21.fmx userid=payroll_dba/[email protected] "
    serverApp="Default"
    pluginspage="http://dcr.net:8887/Java/jinit_download.htm">
    <NOEMBED>
    </COMMENT>
    </NOEMBED></EMBED>
    Any help...?
    Thanks in Advance
    Smita T

    For me <param name="splashScreen" value="no"> worked fine.
    jeff rahr (guest) wrote:
    : theo korol (guest) wrote:
    : : I am following the release notes for dev 6.0 that say that
    you
    : : can replace the splashscreen that comes up with your own by
    : : specifying
    : : <param name="splashScreen" value="custom.gif">
    : : in the html
    : : no luck, I can't remove it by specifying value="no"
    : : either, any one else have this problem?
    : : thanks
    : I was having a similar problem until I moved the gif file from
    : the directory specified as the icon directory in the
    registry.dat
    : file to the same directory as the html file.
    null

  • Discount codes for web forms

    Question:
    I have been using two web forms to allow access to a secure zone. Of them, one is for the trial user access and another is for the paid user access.
    The problem is: Can I use discount codes for the secure zone access? I can't see the way of integrating eCommerce discount codes with web forms.
    Answer:
    Discount codes don't actually work with secure zone access since you have to accept payment through web forms. However, I hired an outside developer to write some code for me, which I don't mind sharing:
    Put this in the Head of your document:
    <script type="text/javascript">
    function refreshAmountToCharge() {
    var frm = document.forms[0];
    var defaultAmountToCharge = 100;
    var couponCode = "ABC123"; // A tribute to Michael Jackson...
    var percentOff = 50;
    var couponCode2 = "DISCOUNT2";
    var percentOff2 = 67;
    var couponCode3 = "DISCOUNT3";
    var percentOff3 = 99;
    var couponCode4 = "DISCOUNT4";
    var percentOff4 = 75;
    /* Fixed amount coupon c*/
    var fixedCouponCode1 = "FIXED1";
    var fixedAmount1 = 20.00;
    var fixedCouponCode2 = "FIXED2";
    var fixedAmount2 = 6.00;
    var fixedCouponCode3 = "FIXED3";
    var fixedAmount3 = 7.00;
    var amountToCharge = defaultAmountToCharge.toFixed(2);
    if (frm.couponCode.value.toUpperCase() == couponCode)
      amountToCharge = (defaultAmountToCharge - (defaultAmountToCharge * percentOff / 100)).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == couponCode2)
      amountToCharge = (defaultAmountToCharge - (defaultAmountToCharge * percentOff2 / 100)).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == couponCode3)
      amountToCharge = (defaultAmountToCharge - (defaultAmountToCharge * percentOff3 / 100)).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == couponCode4)
      amountToCharge = (defaultAmountToCharge - (defaultAmountToCharge * percentOff4 / 100)).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == fixedCouponCode1)
      amountToCharge = (defaultAmountToCharge - fixedAmount1).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == fixedCouponCode2)
      amountToCharge = (defaultAmountToCharge - fixedAmount2).toFixed(2);
    else if (frm.couponCode.value.toUpperCase() == fixedCouponCode3)
      amountToCharge = (defaultAmountToCharge - fixedAmount3).toFixed(2);
    frm.Amount.value = amountToCharge;
    // ----------- End Coupon Code Javascript ---------------------
    </script>
    Then, you'll need a Coupon Code field in your form:
    <div class="item">
        <label for="couponCode">Coupon Code</label><br />
        <input type="text" name="couponCode" id="couponCode" class="cat_textbox" />
        <a href="javascript:refreshAmountToCharge()">Update</a>
    </div>
    That's it. Let me know if you have any questions. You can set multiple codes, either percentage based or fixed amount. Experiment with it to make sure it works as expected.

    This is great Mario! Thanks so much for sharing. It works very well.
    One thing I want to add is a validation for the coupon update action. If the coupon is no longer valid or entered incorrectly, a message would be great, because the person might no even notice the fact that the amount did not change even though they think they entered a valid discount code.
    Sean

  • Combo boxes on web forms

    I'm currently converting a forms v4.5 application onto 9iAS with web forms. I'm have major problems with my user community as combo boxes are no longer supported under web forms and they use them extensively.
    To try and overcome the problem I have converted the combo box into a 'TEXT_ITEM' and set up a LOV called from a button. This works for inserting new records, but when they query back existing records no data is displayed in the text_item boxes.
    Does anybody know how I get the LOV to fire JUST to display back existing single row data.
    Many Thanks
    Jez Thorpe.

    combobox is available on webform, but it did not deliver what a standard combobox supposes to offer.
    e.g., 1) it can display one column and return one valure;
    for emp table, there are ename and empno:
    ename empno
    David M Brown 100
    David M Brown 101
    David L Miller 103
    Then I have to use LOV to display these records of different persons and same name. If you try MS OFFICE, with ACCESS, you will see how nice the combox it is. Of course they are industry GUI standard, forms cannot do it, it is normal.
    2) it does not support partial search as seen on MS Access application
    for ename records in the list,
    David M Brown
    Bill L Kim
    Bill P Kelly
    What is expecting is that if user types in 'D', then the first records should automatically populate into the box's text field; if types in 'B', then the shortened list with the two records beginning with 'B' should be displayed for user to pick.
    This can be seen on MS ACCESS, but not on webforms.
    When we say combobox is available, it is not accurate enough to define the 'availability' of it.

  • Possible to show file upload progress for web form submission?

    I just made a simple form as a test. There are 3 files being submitted here via a "web form".
    Files being uploaded in this case are of these sizes:
    110MB
    9MB
    24MB
    I'm testing functionality that will let a print shop's clients upload their files. For larger files they'll use FTP but this "order form" does a lot of business for them so we're trying to replicate in BC.
    My problem is that I am wondering if there is a way to show the "upload progress" as a total %. Such as a visual status bar, etc.
    As of now the only way it's showing is in the default browser status bar (chrome in this case):
    http://cl.ly/image/1d3U0S1h2521
    I read somewhere that the limit is 150MB for an upload. Wondering if that means 150MB TOTAL as in 3 files combined in my case. Or If I chose to allow 3 files to be attached would it allow for 450MB?
    Also, if you do a user submitted web app instead and allow people to attach files that way, does the same file limit apply?
    My second issue is that the upload speed seems to be SLOW. I know it's not my connection because on my non BC site as well as another with the same form, the files upload fairly fast. But on BC it just crawls and on a few tests I get this:
    http://cl.ly/image/2T2q160M1R1n
    Any help or suggestions with the file upload progress as well as file upload speed would be appreciated.
    Thanks!

    So if i have 3 files to be uploaded, the max allowed is 750MB correct? (just wondering if when uploading its 250mb total or per file).
    Guess i'll do something fake to make it appear its working with a loading graphic or something.
    My web browser (chrome in this case) shows the % uploaded. I wonder if all web browsers do the same. I havent tested yet.
    If only there were a way to have javascript or something grab that same #% from the web browser itself and just format it to appear where I want on the form along with the % uploading.
    Anyone know if that's possible?
    Here's where Chrome for mac shows it:
    http://cl.ly/image/1c3i3x25262j
    If I could grab that (uploading 19%) from the browser and format it into css/html i'd be gold.
    Then find if similar browsers do the same and write some js for each browser specifically to grab it.
    In a perfect world at least....

  • Lenovo A5500 - Unable to check message box for OpenVPN

    Just a "bug" to say.
    I tried this morning to configure OpenVPN Connect and I was unable to check message box to allow openvpn connection.
    Seems that Power Manager prevent to check the box. Message box is not grey or anything but user is unable to activate it.
    Disable Power Manager and then it works.
    After restart, it seems to work out of the box.
    [EDIT] The problem appears when I switch on energy mod, I am unable to check the box in other case than normal mod.

    thanks for your reply lffoong the problem with apk files is resolved, but a lot of applications not compatible with this tablet with regard to bluetooth problem, I don't know how to delete the device & repair!!, some explanations plz
     thanks again

  • Implement get_file_name for web forms: SOME HELP PLS

    Hi ppl,
    Anyone used the code in note 74140.1 as regards to the implementation of get_file_name for webforms? Because I got stuck.
    Till now I managed to complie the FDialog and FDialogPJC java source and the classes are stored in the /oracle_home/forms60/java. Then I created a form with a block having two items namely, the text item and the bean area/ Then I created the WHEN-CUSTOM-ITEM-EVENT trigger. I'm a bit perplexed of where do I have to put the trigger that brings up the FileDialog. What else do I have to do to test this java bean. Till now nothing happens. I'm using Forms 6i and I never used Java Beans with Form Builder.
    Thanks a lot for your help,
    Cheers
    Marija

    Look at some of the samples on OTN and follow what they do. The examples are mostly for Oracle9i Forms, but it should still help you figuring it out for Forms 6i.
    Regards,
    Robin Zimmermann
    Forms Product Management.

  • Host for Web Forms

    Can anyone tell me how to provide a "HOST" type function that will run on local client, rather than on the server when using web forms?

    You can achieve this with a signed Javabean in your Form that can call programs on your client (there is a metalink note on this).
    We are currently working on such a bean that we will offer on OTN in the next couple of weeks probably.

  • Key mapping problem for web forms !!!

    Hi all,
    I have implemented forms 6 on the web using OAS 4.0.7 on WinNT SP 3 workstation. I have modified FMRWEB.RES file for activating F9 - LOV. We have a customized toolbar for our application. There are also shortcut keys defined for the same. For example, if the user presses ALT+S, then 'Save' button gets pressed. But when i run the form on the web, if the focus is on any list box, and if the user presses 'S', then 'Save' button gets pressed. I figured that if i deactivate 'ALT+S' key on the web, then it will work. How can i make the changes in FMRWEB.RES file ??
    Please advise urgently...Thanks
    Best Regards,
    Saumin
    null

    Hi Hector,
    Please ensure that in your Payment Terms code, no such special character has been used that are reserved by XML.This may cause conflict with the XML format and may lead to this issue.
    Moreover, for analysis, you may provide with the list of common Payment Terms across your Intercompany participating companies.
    Regards,
    Agneesh Jain
    SAP Intercompany Team

  • Help with Radio Buttons & Combo Box for Flash Form that sends email

    I'm having a bit of a hard time with a Flash form that I'm working on.
    I've got the basic text fields working fine, but I'm not sure how to retrieve the values from the Radio Button and Menu List components.
    The PHP script pulls the values from the text fields with:
    $contact_name = $_POST['name'];
    $contact_email = $_POST['email'];
    $contact_subject = $_POST['subject'];
    but using
    $radioGroup = $_POST['radioGroup'];
    doesn't retrieve the selected radio button value.
    The radio buttons have a groupName of "radioGroup". The combo box component doesn't even show up in the HTML version, but does in the .swf.
    Can anyone point me in the correct direction to pull these values from these components and get them passed to the PHP form? The native .FLA and the php file are here for reference:
    http://dl.getdropbox.com/u/21984/flashform.zip
    My solution needs to be ActionScript 2.
    Thanks!

    again, you assign a variable.  the selected radiobutton's data and/or label isn't going to magically be sent to the php file.
    for example, if you have sendLV and receiveLV loadvars instances, you can use:
    sendLV.rbData=yourradiogroup.selection.data;
    sendLV.yourothervariables=yourothervariables;
    sendLV.sendAndLoad("yourphp.php",receiveLV,"POST");

  • Manipulating drop-down boxes for fillable forms in Adobe XI Pro

    I'm creating a form with multiple drop-down boxes. Is there anyway to create a selection with multiple lines? For instance, for addresses? Can I center the text inside of the drop-down, or bold it? Can a drop down be split into multiple lines to flow along with paragraphs?
    Also, can a fillable text form expand without disrupting the rest of the document?
    Is there any program that will do any of this?

    Is there anyway to create a selection with multiple lines? For instance, for addresses?
    - Yes, but only with a script and it's not a documented feature so sometimes it doesn't work well.
    Can I center the text inside of the drop-down, or bold it?
    - No.
    Can a drop down be split into multiple lines to flow along with paragraphs?
    - Not sure what you mean there... How is this different from the first question?
    Also, can a fillable text form expand without disrupting the rest of the document?
    - No.
    Is there any program that will do any of this?
    - The last one (expanding text fields) can be done if you create your form in LiveCycle Designer. The rest I'm not sure about.

Maybe you are looking for

  • IN NEED OF A IPOD RESTORING CD

    I just got a new computer and got rid of the old one both of them where running on windows xp, but when using my new comp I put my iPod forgetting it was my new comp and a window came up saying I had to format it moving the mouse to click "cancel" I

  • Designer on AIX server: how to

    Hi all, I've BusinessObjects Enterprise XI 3.1 on AIX Server: how can I launch and use Designer and the other "non-web" BusinessObjects tools (e.g.Import Wizard)?  At the  moment I use Designer or Import Wizard installed on a WIN Server and then I ex

  • Decimal in alv

    how to use decimal values in alv? if i want to remove the decimals then how to do it in alv field catalog? are there any fld catalog attributes to suppress the decimal values in alv? Moderator message: please search for available information/document

  • Lenovo U410 8.1 Audio Issues

    I have owned the Lenovo U410 Ideapad for a decent while now and I have been consitently satisfied with its preformance. Recently I uprgraded to Windows 8.1 and it does not play any sound from any source. After some searching I found the software to f

  • Can I add a separate audio commentary track?

    I would love to add a separate audio track with a running commentary to my movie. Something that would be an option to play, like some DVD's have with directors comments, etc. Is this possible with iMovie or iDVD?