locked
Qual a Id do meu Campo Preço Total ? RRS feed

  • Pergunta

  • Segue meu codigo gerado pelo Google Chrome.

    <script language="javascript">
      FieldIDs["PaymentCountry"] = 16;
     </script>
    <div class='validationError' style='display:none' id='VALID_VAR_16'></div>
    </div>
    
     <script language="javascript">
     PFSF_CreateConditionalField(
       'FIELD_4',
       '!',
       '',
       'PaymentCountry',
       'BR',
       'K');
     </script>
    <div id=DIV_21 class='Form_Header_ExtraSpaceAbove'><p class='Form_Header_ExtraSpaceAbove'>Payment Information</p>
     <script language="javascript">
      FieldIDs["PaymentPaymentLabel"] = 21;
     </script>
    <div class='validationError' style='display:none' id='VALID_VAR_21'></div>
    </div>
    
     <script language="javascript">
     PFSF_CreateConditionalField(
       'FIELD_4',
       '!',
       '',
       'PaymentPaymentLabel',
       '',
       'K');
     </script>
    <div id=DIV_23 class='Form_Normal'><p class='Form_Normal'>Purchase Order Number:</p><p><input id='FIELD_23' name='FIELD_23'></p>
     <script language="javascript">
      FieldIDs["PaymentPurchaseOrderNumber"] = 23;
     </script>
    <div class='validationError' style='display:none' id='VALID_VAR_23'></div>
    </div>
    
     <script language="javascript">
     PFSF_CreateConditionalField(
       'FIELD_22',
       '!',
       'Purchase Order',
       'PaymentPurchaseOrderNumber',
       '',
       'K');
     </script>
    <div id=DIV_24 class='Form_Normal'><p class='Form_Normal'>Kind of Card:</p><select  id='FIELD_24' name='FIELD_24' size=1> <option value='American Express' selected>American Express</option>
     <option value='Diners Club'>Diners Club</option>
     <option value='Discover'>Discover</option>
     <option value='MasterCard'>MasterCard</option>
     <option value='Visa'>Visa</option>
    </select>
     <script language="javascript">
      FieldIDs["PaymentCreditCardType"] = 24;
     </script>
    <div class='validationError' style='display:none' id='VALID_VAR_24'></div>
    </div>
    
     <script language="javascript">
     PFSF_CreateConditionalField(
       'FIELD_22',
       'eq',
       'Card',
       'PaymentCreditCardType',
       '',
       'K');
     </script>
    <div id=DIV_25 class='Form_Normal'><p class='Form_Normal'>Name as it appears on card:</p><p><input id='FIELD_25' name='FIELD_25'></p>
     <script language="javascript">
      FieldIDs["PaymentCreditCardNameAsItAppearsOnCard"] = 25;
     </script>
    <div class='validationError' style='display:none' id='VALID_VAR_25'></div>
    </div>
    
     <script language="javascript">
     PFSF_CreateConditionalField(
       'FIELD_22',
       'eq',
       'Card',
       'PaymentCreditCardNameAsItAppearsOnCard',
       '',
       'K');
     </script>
    <div id=DIV_26 class='Form_Normal'><p class='Form_Normal'>Card Number:</p><p><input id='FIELD_26' name='FIELD_26'></p>
     <script language="javascript">
      FieldIDs["PaymentCreditCardNumber"] = 26;
     </script>
    <div class='validationError' style='display:none' id='VALID_VAR_26'></div>
    </div>
    
     <script language="javascript">
     PFSF_CreateConditionalField(
       'FIELD_22',
       'eq',
       'Card',
       'PaymentCreditCardNumber',
       '',
       'K');
     </script>
    <div id=DIV_27 class='Form_Normal'><p class='Form_Normal'>Security Code:</p><p><input id='FIELD_27' name='FIELD_27'></p>
     <script language="javascript">
      FieldIDs["PaymentCreditCardSecurityCode"] = 27;
     </script>
    <div class='validationError' style='display:none' id='VALID_VAR_27'></div>
    </div>
    
     <script language="javascript">
     PFSF_CreateConditionalField(
       'FIELD_22',
       'eq',
       'Card',
       'PaymentCreditCardSecurityCode',
       '',
       'K');
     </script>
    <div id=DIV_28 class='Form_Normal'><p class='Form_Normal'>Expiration Month:</p><select  id='FIELD_28' name='FIELD_28' size=1> <option value='01' selected>Jan</option>
     <option value='02'>Feb</option>
     <option value='03'>Mar</option>
     <option value='04'>Apr</option>
     <option value='05'>May</option>
     <option value='06'>Jun</option>
     <option value='07'>Jul</option>
     <option value='08'>Aug</option>
     <option value='09'>Sept</option>
     <option value='10'>Oct</option>
     <option value='11'>Nov</option>
     <option value='12'>Dec</option>
    </select>
     <script language="javascript">
      FieldIDs["PaymentCreditCardExpirationMonth"] = 28;
     </script>
    <div class='validationError' style='display:none' id='VALID_VAR_28'></div>
    </div>
    
     <script language="javascript">
     PFSF_CreateConditionalField(
       'FIELD_22',
       'ew',
       'Card',
       'PaymentCreditCardExpirationMonth',
       '',
       'K');
     </script>
    <div id=DIV_29 class='Form_Normal'><p class='Form_Normal'>Expiration Year:</p><select  id='FIELD_29' name='FIELD_29' size=1> <option value='2005' selected>2005</option>
     <option value='2006'>2006</option>
     <option value='2007'>2007</option>
     <option value='2008'>2008</option>
     <option value='2009'>2009</option>
     <option value='2010'>2010</option>
     <option value='2011'>2011</option>
     <option value='2012'>2012</option>
     <option value='2013'>2013</option>
     <option value='2014'>2014</option>
     <option value='2015'>2015</option>
     <option value='2016'>2016</option>
     <option value='2017'>2017</option>
     <option value='2018'>2018</option>
    </select>
     <script language="javascript">
      FieldIDs["PaymentCreditCardExpirationYear"] = 29;
     </script>
    <div class='validationError' style='display:none' id='VALID_VAR_29'></div>
    </div>
    
     <script language="javascript">
     PFSF_CreateConditionalField(
       'FIELD_22',
       'ew',
       'Card',
       'PaymentCreditCardExpirationYear',
       '',
       'K');
     </script>
    <div id=DIV_384 class=''><p class=''>Budget Amount to Apply</p><p><input id='FIELD_384' name='FIELD_384' style='width: 200px; '></p>
     <script language="javascript">
      FieldIDs["PaymentPayWithBudgetAmount"] = 384;
     </script>
    <div class='validationError' style='display:none' id='VALID_VAR_384'></div>
    </div>
    
     <script language="javascript">
     PFSF_CreateConditionalField(
       'FIELD_22',
       'bw',
       'BudgetPlus',
       'PaymentPayWithBudgetAmount',
       '',
       'K');
     </script>
    <input  id='FIELD_385' name='FIELD_385' style='width: 200px; ' type='hidden'><input  id='FIELD_386' name='FIELD_386' style='width: 200px; ' type='hidden'><input  id='FIELD_387' name='FIELD_387' style='width: 200px; ' type='hidden'><input  id='FIELD_388' name='FIELD_388' style='width: 200px; ' type='hidden'><input  id='FIELD_389' name='FIELD_389' style='width: 200px; ' type='hidden'><input  id='FIELD_390' name='FIELD_390' style='width: 200px; ' type='hidden'><input  id='FIELD_391' name='FIELD_391' style='width: 200px; ' type='hidden'><input  id='FIELD_392' name='FIELD_392' style='width: 200px; ' type='hidden'><input  id='FIELD_393' name='FIELD_393' style='width: 200px; ' type='hidden'><input  id='FIELD_394' name='FIELD_394' style='width: 200px; ' type='hidden'><input  id='FIELD_395' name='FIELD_395' style='width: 200px; ' type='hidden'><input  id='FIELD_396' name='FIELD_396' style='width: 200px; ' type='hidden'>
    <script language='javascript'>
    var PFSF_ShowErrors=false;
    var PFSF_String_Page="Página";
    var PFSF_String_Pages="Páginas";
    var PFSF_String_Of="de";
    var PFSF_String_PleaseWait="Visualizar carregamento...";
    var PFSF_AjaxUrl="";
    var PFSF_dynamicUpdateLevel=3;
    var PFSF_UpdateButtonID = '';</script>
    <input type='hidden' name='acceptEdits' value='true'>
    
    </div>
    
    
    <script type="text/javascript">
        Sys.Application.add_load(applicationLoadHandler);
        function applicationLoadHandler(sender, args) {
                infiniteLoopErrorMsg = 'Infinite loop averted';
                PFSF_Walk();
                PFSF_SetupAntecedantFields();
    
                var extratxt = "";
                if (typeof pageflexFFF_currentPartNumber !=
                typeof pageflexFFF_currentPartNumber_783924719473290170234
                &&
                pageflexFFF_currentPartNumber != undefined &&
                pageflexFFF_currentPartNumber >= 0) {
                    extratxt = 'partIndex=' + pageflexFFF_currentPartNumber + '&';
                }
                
                var dynUpdate = undefined; //do update
                if (args.get_isPartialLoad())
                    dynUpdate = 99; //dont do update
                PFSF_ShowHideConditionalFields(dynUpdate, this, extratxt);
        }
    </script>
    
    
          
          
          
                 </td>
            <td style="vertical-align: top">
            <table align=right border=0 cellpadding=0 cellspacing=0>
            <tr>
              <td>
                <div id="StepArea_LinkButtonCancelCheckout_div" name="StepArea$LinkButtonCancelCheckout_div" class='siteButton' style='float: left;'>
      <div class='siteButton-t'>
        <div class='siteButton-b'>
          <div class='siteButton-l'>
            <div class='siteButton-r'>
              <div class='siteButton-tl'>
                <div class='siteButton-tr'>
                  <div class='siteButton-bl'>
                    <div class='siteButton-br'>
                      <div class='siteButton-inner'>
    <a id="StepArea_LinkButtonCancelCheckout" class="siteButton" href="javascript:__doPostBack(&#39;StepArea$LinkButtonCancelCheckout&#39;,&#39;&#39;)">Cancelar Compra</a>                  </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    
              </td>
            </tr>
          </table>
            <div id="StepArea_divSubTotal" style="padding-top:50px;padding-left:200px;">
                
                
    
    <div class="block">
      <table cellspacing="0" cellpadding="0">
        <tr>
          <td class="childAreaHeader-l"/>
          <td class="childAreaHeader"/>
          <td class="childAreaHeader-r"/>
        </tr>
        <tr>
          <td class="childArea-l"/>
          <td class="childArea">
            
            <div id="StepArea_otSingleShipment_PriceEstimateTable" class="priceEstimate">
            
              <p style="margin-bottom: 10px"><b><nobr>Estimativa de preço:</nobr></b></p>
              
              
              <table align='right' style="width: 100%">
                <tr><td align=left><b>Subtotal: </b></td>
                     <td align=center> </td>
                     <td align=right><nobr>R$ 284,00</nobr></td></tr>
                <tr><td align=left><b>Envio: </b></td>
                     <td align=center> </td>
                     <td align=right><nobr>R$ 0,00</nobr></td></tr>
                     
                
    
                    
                <tr id="StepArea_otSingleShipment_trDiscountRow" style="display:none;">
    	<td align="left"><b>Desconto do pedido: </b></td>
    	<td align="center">-</td>
    	<td align="right">R$ 0,00</b></nobr></td>
    </tr>
    
    
                <tr id="StepArea_otSingleShipment_trTaxesBeforeTotal">
    	<td align="left"><b>Imposto: </b></td>
    	<td align="center"> </td>
    	<td align="right">R$ 0,00</td>
    </tr>
    
                <tr><td colspan=3 class='itemTableSummaryRule'>&nbsp;</td></tr>
                <tr><td align=left><b>Preço total: </b></td>
                    <td align=center> </td>
                    <td align=right><b><nobr>R$ 284,00</nobr></b></td></tr>
              </table></td>
    
              
            </div>
          </td>
          <td class="childArea-r"/>
        </tr>
        <tr>
          <td class="childAreaFooter-l"/>
          <td class="childAreaFooter"/>
          <td class="childAreaFooter-r"/>
        </tr>
      </table>
    </div>
            </div>
            </td>
          </tr>
        </table>
    
        
                </td>
                <td class="area-r"><img class="area-r" src="Images/space.gif"></td>
              </tr>
            </table>
    
            <!-- Footer -->
            <table cellspacing="0" cellpadding="0" width="100%">
              <tr>
                <td class="stepAreaFooter-l"/>
                <td class="stepAreaFooter">
                    <table cellspacing="0" cellpadding="0" width="100%">
                      <tr>
                        <!-- Invisible Title, so spacing of Next/Previous Controls matches header -->
                        <td class="basic">
                            <table cellspacing="0" cellpadding="0">
                              <tr>
                                <td class="basic">
                                  <div class="areaTitle" style="visibility: hidden;">Finalizar Compra</div>
                                </td>
                                <td class="basic">
                                  <div class="areaIconCheckout" style="visibility: hidden; height: 1px;"></div>
                                </td>
                              </tr>
                            </table>
                        </td>                 
                        <!-- Next/Previous Controls -->
                        <td class="stepAreaFooterNextPrevControls">
                            <div style="float: left" class="stepAreaFooterNextPrevControls">
                                <table cellspacing="0" cellpadding="0">
                                  <tr>
                                    
    
    <!-- Arrow Graphic -->
    <td id="StepArea_StepNextP2_stepPreviousImage" class="areaGraphicPreviousStep">
        <span onclick="if (typeof StorefrontValidatorHook!=typeof StorefrontUndefined_283981501AD46548 &&!StorefrontValidatorHook()) return false;">
          <a id="StepArea_StepNextP2_TheImageButton" onMouseOver="highlightPreviousControls(this.id, &#39;TheImageButton&#39;, &#39;Rollover&#39;)" onMouseOut="highlightPreviousControls(this.id, &#39;TheImageButton&#39;, &#39;&#39;)" href="javascript:__doPostBack(&#39;StepArea$StepNextP2$TheImageButton&#39;,&#39;&#39;)">
            <img border=0
                 width="100%" height="100%"
                 src="Images/space.gif"
            ></a></span>
    </td>
    
    <!-- Label -->
    <td class="stepNextPrevLabel">
        <span onclick="if (typeof StorefrontValidatorHook!=typeof StorefrontUndefined_283981501AD46548 &&!StorefrontValidatorHook()) return false;">
          <a id="StepArea_StepNextP2_TheLabelButton" class="stepNextPrevLabel" onMouseOver="highlightPreviousControls(this.id, &#39;TheLabelButton&#39;, &#39;Rollover&#39;)" onMouseOut="highlightPreviousControls(this.id, &#39;TheLabelButton&#39;, &#39;&#39;)" href="javascript:__doPostBack(&#39;StepArea$StepNextP2$TheLabelButton&#39;,&#39;&#39;)">Anterior</a></span>
    </td>
    
    <script>
    
        function highlightPreviousControls(idClicked, idSuffix, classNameSuffix)
        {
            var idSuffixIndex = idClicked.indexOf(idSuffix);
            if (idSuffixIndex >= 0)
            {
                var idPrefix = idClicked.substr(0, idSuffixIndex);
                var imageDiv = document.getElementById(idPrefix + "stepPreviousImage");
                if (imageDiv)
                    imageDiv.className = "areaGraphicPreviousStep" + classNameSuffix;
                var theLabel = document.getElementById(idPrefix + "TheLabelButton");
                if (theLabel)
                    theLabel.className = "stepNextPrevLabel" + classNameSuffix;
            }
        }
    
    </script>
    <td id="StepArea_StepNextN2_SeparatorLine" class="areaGraphicNextPrevSeparatorLine"></td>
    
    <!-- Label -->
    <td class="stepNextPrevLabel">
        <span onclick="if (typeof StorefrontValidatorHook!=typeof StorefrontUndefined_283981501AD46548 &&!StorefrontValidatorHook()) return false;">
          <a id="StepArea_StepNextN2_TheLabelButton" class="stepNextPrevLabel" onMouseOver="highlightNextControls(this.id, &#39;TheLabelButton&#39;, &#39;Rollover&#39;)" onMouseOut="highlightNextControls(this.id, &#39;TheLabelButton&#39;, &#39;&#39;)" href="javascript:__doPostBack(&#39;StepArea$StepNextN2$TheLabelButton&#39;,&#39;&#39;)">Próxima etapa</a></span>
    </td>
    <!-- Arrow Graphic -->
    <td class="areaGraphicNextStep" id="stepNextImage">
        <span onclick="if (typeof StorefrontValidatorHook!=typeof StorefrontUndefined_283981501AD46548 &&!StorefrontValidatorHook()) return false;">
          <a id="StepArea_StepNextN2_TheImageButton" onMouseOver="highlightNextControls(this.id, &#39;TheImageButton&#39;, &#39;Rollover&#39;)" onMouseOut="highlightNextControls(this.id, &#39;TheImageButton&#39;, &#39;&#39;)" href="javascript:__doPostBack(&#39;StepArea$StepNextN2$TheImageButton&#39;,&#39;&#39;)">
            <img border=0
                 width="100%" height="100%"
                 src="Images/space.gif"
            ></a></span>
    </td>
    
    <script>
    
        function highlightNextControls(idClicked, idSuffix, classNameSuffix)
        {
            var idSuffixIndex = idClicked.indexOf(idSuffix);
            if (idSuffixIndex >= 0)
            {
                var idPrefix = idClicked.substr(0, idSuffixIndex);
                var imageDiv = document.getElementById(idPrefix + "stepNextImage");
                if (imageDiv)
                    imageDiv.className = "areaGraphicNextStep" + classNameSuffix;
                var theLabel = document.getElementById(idPrefix + "TheLabelButton");
                if (theLabel)
                    theLabel.className = "stepNextPrevLabel" + classNameSuffix;
            }
        }
    
    </script>
    
                                  </tr>
                                </table>
                              </div>
                        </td>
                        <!-- Invisible add to cart control to make next prev match -->
                        <td class="stepAreaFooterNextPrevControls">
                              <div style="float: left" class="stepAreaFooterNextPrevControls">
                                <table cellspacing="0" cellpadding="0">
                                  <tr>
                                    
                                  </tr>
                                </table>
                              </div>
                        </td>
                        <!-- Invisible Help Control, so spacing of Next/Previous Controls matches header -->
                        <td class="basic" align="right">
                          
    
    <table cellspacing="0" cellpadding="0">
      <tr>
        <td class="basic">
          <div id="StepArea_HelpControl2_divIcon" class="areaIconHelp" style="visibility: hidden; height: 1px;">
            <a href="#" onClick="raiseHelpWindow()">
              <img border=0
                   name="helpIcon"
                   width="100%" height="100%"
                   src="Images/space.gif"
                   onMouseOver= "highlightHelpControls()"
                   onMouseOut="unhighlightHelpControls()"></a></div>
        </td>                 
        <td class="basic">
          <div id="StepArea_HelpControl2_divLink" class="areaTitleLink" style="visibility: hidden;">
            <a class="areaTitleLink"
               id="labelHelp"
               href="#"
               onClick="raiseHelpWindow()"
               onMouseOver= "highlightHelpControls()"
               onMouseOut="unhighlightHelpControls()"
               >Ajuda</a></div>
        </td>                 
      </tr>
    </table>
    
    <script>
    
        function highlightHelpControls()
        {
            var label = document.getElementById("labelHelp");
            label.className="areaTitleLinkRollover";
        }
    
        function unhighlightHelpControls()
        {
            var label = document.getElementById("labelHelp");
            label.className="areaTitleLink";
        }
    
        function raiseHelpWindow()
        {
            var url = "UserHelp.aspx?Topic=" + escape("CheckoutPayment") +
                      "&Product=" + escape("");
            helpWindow = window.open(url, "PageflexStorefrontHelpWindow",
       "width=650,height=450,toolbar=no,location=no,resizable=yes,scrollbars=yes");
            helpWindow.focus();
        }
    
    </script>
    
                        </td>                 
                      </tr>
                    </table>
                </td>
                <td class="stepAreaFooter-r"/>
              </tr>
            </table>
    
        </td>
      </tr>
    </table>
    
    <!-- This must be the last element -->
    
      
    
    </td>
                              </tr>
                              <tr>
                                <td>
                                  
    
                                </td>
                              </tr>
                            </table>
                        </td> 
                        <td style="vertical-align: top">
                          
    
                        </td>
                      </tr>
                    </table>
                </td>
              </tr>
            </table>
    
        </td> 
      </tr>
      <!-- "Strut" so page doesn't collapse in narrow browser windows -->
      <tr>
        <td><img class="pageMinimumWidth" height="1" src="Images/space.gif"></td>
      </tr>
    </table>  
    
        <div class="push"></div>
      </div>
      <div class="footer">
          <style type="text/css">
    <!-- 
    
    #siteFooterOuter {
        width: 100%;
    	background: url(Custom/Themes/NIPLAN/Inserts/images/SiteFooterBackground.gif) repeat-x;
        height: 47px;
        margin-bottom: 6px;
    }
    
    #siteFooterText {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px; 
        font-style: italic; 
        color: #000000; 
        padding-top: 18px;
    	width:100%;
    }
    
    -->
    </style>
    
    <div id="siteFooterOuter">
      <img alt="" style="float: left" src="Custom/Themes/NIPLAN/Inserts/images/SiteFooter.jpg">
      <div style="float: right; height: 41px; width: 20px; background: url(Custom/Themes/NIPLAN/Inserts/images/SiteFooterBackground_right.gif) repeat-x;">&nbsp;</div>
      <div id="siteFooterText"> 
        © 2015 Grupo ArtSim Ltda. - Todos os direitos reservados
      </div>
    </div>
    
    
      </div>
    
    
      <script type="text/javascript">
    
      function setClass(id, className)
      {
          var element = document.getElementById(id);
          if (element != null)
              element.className = className;
      }
    
      </script>
    
    
    
    <script type="text/javascript">
    //<![CDATA[
    var ctl01$login$_ModalPopUp1 = 'ctl01$login$_ModalPopUp1';Sys.Application.add_init(function() {
        $create(Sys.Extended.UI.ModalPopupBehavior, {"BackgroundCssClass":"pcModalBackground","Drag":true,"PopupControlID":"ctl01_login__ModalPopUp1_divPop","PopupDragHandleControlID":"ctl01_login__ModalPopUp1_popHead","dynamicServicePath":"/NIPLAN/UserCheckoutPayment.aspx","id":"ctl01$login$_ModalPopUp1","repositionMode":1}, null, null, $get("ctl01_login__ModalPopUp1_divPopTarget"));
    });
    Sys.Application.add_init(function() {
        $create(Sys.UI._UpdateProgress, {"associatedUpdatePanelId":null,"displayAfter":500,"dynamicLayout":true}, null, null, $get("ctl01_login__ModalPopUp1_UpdateProgress1"));
    });
    //]]>
    </script>
    </form>
    
    </body>
    </html>


    segunda-feira, 6 de fevereiro de 2017 13:18

Respostas

  • Você precisa recuperar no lado servidor ou via JavaScript?

    Via jQuery você pode capturar o valor usando $('#IdOrderTotal nobr').html(), por exemplo. Mas no lado servidor, uma vez renderizado o valor na tela, você não terá acesso a ele, a menos que durante o postback o UserControl possua uma propriedade pública FmtOrderTotal.


    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, remember to "Mark as Answer".

    Se achou este post útil, por favor clique em "Votar como útil". Se por acaso respondeu sua dúvida, lembre de "Marcar como Resposta".

    terça-feira, 7 de fevereiro de 2017 15:03

Todas as Respostas

  • Qual é o seu campo Preço Total? Neste código só há conteúdo estático mencionando Preço Total.

    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, remember to "Mark as Answer".

    Se achou este post útil, por favor clique em "Votar como útil". Se por acaso respondeu sua dúvida, lembre de "Marcar como Resposta".

    segunda-feira, 6 de fevereiro de 2017 14:08
  • Vou passar minha pagina.aspx desse código.

    <%@ Page language="c#" Codebehind="UserCheckoutPayment.aspx.cs" Inherits="PFWeb.UserCheckoutPayment" AutoEventWireup="false" validateRequest="false"%>
    <%@ Register src="_OrderSubTotal.ascx" tagname="_OrderSubTotal" tagprefix="uc1" %>
    <%@ Register src="_OrderTotal.ascx" tagname="_OrderTotal" tagprefix="uc1" %>
    <!-- #include file = "register.inc" -->
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
    <!-- Pageflex
         Copyright (C) 2004-2012 Pageflex
         All rights reserved.
    
    -->
    <html>
      <head>
        <title>CheckoutPayment/Window/Title</title>
        <link rel="stylesheet" href="UserSite.css.aspx" type="text/css">
      </head>
      <body class="page">
    
    <form runat="server">
    
      <asp:ScriptManager ID="ScriptManager1" runat="server" /> <PFWeb:PageHeader runat="server" PageInsertSelector="Payment" />
        <PFWeb:StepArea id="StepArea" runat="server"
            TitleText=<%# Strings.Get("CheckoutSteps/Area/Title") %>
            TitleIcon="areaIconCheckout"
            HelpTopic="CheckoutPayment"
            StepType="Payment"
            CommentText=<%# Strings.Get("CheckoutPayment/Area/Comment") %>
            >
                      <table cellpadding="0" cellspacing="0">
          <tr>
            <td style="vertical-align: top">
            
          <PFWeb:FieldFillingForm id="InputFields" runat="server" formName="Payment"
              HorizontalAlign="Left"/>
          <p id="MessageNoOptions" class="areaEmptyMessage" runat="server">
            <%# Strings.Get("CheckoutPayment/Message/NoPaymentsOptions") %>.
          </p>
          <p id="MessageNoCost" class="areaEmptyMessage" runat="server">
            <%# Strings.Get("CheckoutPayment/Message/NoPaymentsCost") %>
          </p>
          
                 </td>
            <td style="vertical-align: top">
            <table align=right border=0 cellpadding=0 cellspacing=0>
            <tr>
              <td>
                <PFWeb:LinkButton ID="LinkButtonCancelCheckout" Layout="nested" CssClass="siteButton"
                  Text=<%# Strings.Get("CheckoutSteps/Button/CancelCheckout") %>
                  Link="UserContentShoppingCart.aspx" runat="server" />
              </td>
            </tr>
          </table>
            <div id="divSubTotal" runat="server" style="padding-top:50px;padding-left:200px;">
                <uc1:_OrderSubTotal ID="ostMultiShipment" runat="server" />
                <uc1:_OrderTotal ID="otSingleShipment" runat="server" />
            </div>
            </td>
          </tr>
        </table>
    
        </PFWeb:StepArea>
      <PFWeb:PageFooter runat="server" PageInsertSelector="Payment" />
    </form>
    
    </body>
    </html>
    


    segunda-feira, 6 de fevereiro de 2017 15:23
  • Ricardo, não tem como saber qual o seu campo deste jeito. Você colocou o código inteiro, então suponho que você também não sabe onde está o campo no código server-side.

    Use as ferramentas de desenvolvedor do navegador de internet e utilize a inspeção de elemento para achar o item que precisa. Se tiver um ID você conseguirá visualizar, se não tiver, você precisará utilizar outros seletores (classes, elementos, etc) via jQuery, por exemplo.


    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, remember to "Mark as Answer".

    Se achou este post útil, por favor clique em "Votar como útil". Se por acaso respondeu sua dúvida, lembre de "Marcar como Resposta".

    segunda-feira, 6 de fevereiro de 2017 19:08
  • Juliano

    Pelo que eu analisei aqui nas paginas.

    A minha pagina principal UserCheckoutPayment.aspx Usa um UserControl  _OrderTotal.ascx

    Nesse user control tem o campo que preciso. Porem como vou recuperer ele na minha pagina principal

    td align=right id='IdOrderTotal'><b><nobr><%# FmtOrderTotal %></nobr></b></td></tr>

    Aguardo retorno.

    Obrigado

    segunda-feira, 6 de fevereiro de 2017 19:20
  • Você precisa recuperar no lado servidor ou via JavaScript?

    Via jQuery você pode capturar o valor usando $('#IdOrderTotal nobr').html(), por exemplo. Mas no lado servidor, uma vez renderizado o valor na tela, você não terá acesso a ele, a menos que durante o postback o UserControl possua uma propriedade pública FmtOrderTotal.


    If you found this post helpful, please "Vote as Helpful". If it actually answered your question, remember to "Mark as Answer".

    Se achou este post útil, por favor clique em "Votar como útil". Se por acaso respondeu sua dúvida, lembre de "Marcar como Resposta".

    terça-feira, 7 de fevereiro de 2017 15:03
  • Bom dia,

    Devido a falta de interação do autor dessa pergunta,

    essa thread está sendo fechada. Caso o problema ainda

    esteja ocorrendo, favor abrir uma nova thread.

    Atenciosamente,


    Robson William Silva

    Esse conteúdo é fornecido sem garantias de qualquer tipo, seja expressa ou implícita

    MSDN Community Support

    Por favor, lembre-se de Marcar como Resposta as postagens que resolveram o seu problema. Essa é uma maneira comum de reconhecer aqueles que o ajudaram e fazer com que seja mais fácil para os outros visitantes encontrarem a resolução mais tarde.

    sexta-feira, 10 de fevereiro de 2017 12:12
    Moderador