• Payel Ghosh
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
Hi,
I am not able to make the background dialog box blur. When the 1st dialog box came, the background HTML was blurred. But from that dialog box, I created another dialog box upon clicking a button. That time the previous dialog box is not getting blurred.

I have used <div class="slds-backdrop slds-backdrop--open"></div> . Still it's not working. Below is the screenshot.

User-added image
Below is the code -

<aura:component controller="billingController">
    <aura:attribute name="billId" type="String"/>
    <aura:attribute name="total" type="Decimal"/>
    
    <aura:handler name="init" value="{!this}" action="{!c.doInit}"/> 
    <div aura:id="modalDiv1">
        <div role="dialog" class="slds-modal slds-fade-in-open slds-modal_small" >
            <div class="slds-modal__container">
                <div class="slds-modal__header">
                    <button class="slds-button slds-modal__close slds-button--icon-inverse" title="Close" onclick="{!c.handleCloseModal}">
                        X<span class="slds-assistive-text">Close</span>
                    </button>
                    <h1 class="slds-text-heading--medium">Billing Id from billing system is : </h1>
                </div>
                <div class="slds-modal__content slds-p-around--medium">
                    <div class="slds-align_absolute-center">
                        {!v.billId}
                    </div>
                </div>
            </div>
        </div>
     <div class="slds-backdrop slds-backdrop--open"></div>   
    </div>
</aura:component>

Please help. Thank you.

- Payel
I have written a standard controller VF page. Now from anoth is er VF page I want to redirect to the standard controller VF page. I am trying to do it through pagereference. But it's not getting redirected. But if I remove the standard controller from the destination, then it's getting redirected to that page.

My standard controller page is getting displayed perfectly when I am displaying it from a custom button. Only when from another vf page I want yo redirect to this standard controller page, that's not happening.

Below is the standard controller VF page.  Name of the Page is SaveMessagePage. -Standard controller

Below is extension controller of another VF page from where I want to redirect to the above page -

PageReference p = new PageReference('/apex/SaveMessagePage');
Return p;

 Please help.
Hi,
I am not able to make the background dialog box blur. When the 1st dialog box came, the background HTML was blurred. But from that dialog box, I created another dialog box upon clicking a button. That time the previous dialog box is not getting blurred.

I have used <div class="slds-backdrop slds-backdrop--open"></div> . Still it's not working. Below is the screenshot.

User-added image
Below is the code -

<aura:component controller="billingController">
    <aura:attribute name="billId" type="String"/>
    <aura:attribute name="total" type="Decimal"/>
    
    <aura:handler name="init" value="{!this}" action="{!c.doInit}"/> 
    <div aura:id="modalDiv1">
        <div role="dialog" class="slds-modal slds-fade-in-open slds-modal_small" >
            <div class="slds-modal__container">
                <div class="slds-modal__header">
                    <button class="slds-button slds-modal__close slds-button--icon-inverse" title="Close" onclick="{!c.handleCloseModal}">
                        X<span class="slds-assistive-text">Close</span>
                    </button>
                    <h1 class="slds-text-heading--medium">Billing Id from billing system is : </h1>
                </div>
                <div class="slds-modal__content slds-p-around--medium">
                    <div class="slds-align_absolute-center">
                        {!v.billId}
                    </div>
                </div>
            </div>
        </div>
     <div class="slds-backdrop slds-backdrop--open"></div>   
    </div>
</aura:component>

Please help. Thank you.

- Payel
Hi,
I am not able to make the background dialog box blur. When the 1st dialog box came, the background HTML was blurred. But from that dialog box, I created another dialog box upon clicking a button. That time the previous dialog box is not getting blurred.

I have used <div class="slds-backdrop slds-backdrop--open"></div> . Still it's not working. Below is the screenshot.

User-added image
Below is the code -

<aura:component controller="billingController">
    <aura:attribute name="billId" type="String"/>
    <aura:attribute name="total" type="Decimal"/>
    
    <aura:handler name="init" value="{!this}" action="{!c.doInit}"/> 
    <div aura:id="modalDiv1">
        <div role="dialog" class="slds-modal slds-fade-in-open slds-modal_small" >
            <div class="slds-modal__container">
                <div class="slds-modal__header">
                    <button class="slds-button slds-modal__close slds-button--icon-inverse" title="Close" onclick="{!c.handleCloseModal}">
                        X<span class="slds-assistive-text">Close</span>
                    </button>
                    <h1 class="slds-text-heading--medium">Billing Id from billing system is : </h1>
                </div>
                <div class="slds-modal__content slds-p-around--medium">
                    <div class="slds-align_absolute-center">
                        {!v.billId}
                    </div>
                </div>
            </div>
        </div>
     <div class="slds-backdrop slds-backdrop--open"></div>   
    </div>
</aura:component>

Please help. Thank you.

- Payel
I have written a standard controller VF page. Now from anoth is er VF page I want to redirect to the standard controller VF page. I am trying to do it through pagereference. But it's not getting redirected. But if I remove the standard controller from the destination, then it's getting redirected to that page.

My standard controller page is getting displayed perfectly when I am displaying it from a custom button. Only when from another vf page I want yo redirect to this standard controller page, that's not happening.

Below is the standard controller VF page.  Name of the Page is SaveMessagePage. -Standard controller

Below is extension controller of another VF page from where I want to redirect to the above page -

PageReference p = new PageReference('/apex/SaveMessagePage');
Return p;

 Please help.