Base solution for your next web application

Activities of "george"

Hi, Don't know when it was started. Because we've created these small pages recently. The issue is visible only when opening these small pages. Other pages were filled up in the screen. So, it cannot be visible even if the issue were existing.

I'm using AspNetZero Angular 1 Version. NetZero Version is - 1.13.0.0

Oh.. Thank you for the information :D

Hi,

[attachment=0:4is7orsj]page-load.jpg[/attachment:4is7orsj] As shown in the above image 'Absentees Entry' page is showing along with the currently selected 'Online Fee Payment' screen for a while .Then it will be disappeared. This is showing when we select screens with lesser controls(I think this issue will be there for larger screens also even though it is not visible) Please help us for fixing the issue.

Regards, Robin G

Hi, Thanks for the tip :) Do you know about any similar settings in azure cloud?

Hi, me too having the slowness issue in my NetZero Project. But the slowness is happening at the first loading only. After that it will run smoothly. But every page load is taking longer than usual time. How can we make it fast at the first load itself?? The issue u've created in gitHub is removed by kalkan and no solutions were suggested.

Hi, I'm really sorry about it. First I was used ng-print library for printing the page. One of it's style class contained display:none for @media print :roll: That was the issue. And thanks for your help :)

Hi,

I've used metronic's invoice templates like u suggested. But when I click in the print button, a print preview form is opened. But nothing is there in the preview. I think the window.print() method is not working in angular. Is there any additional scripts needed?

Hi, I need to print a receipt for a payment. I've designed the receipt and is working fine. But when i take the print, all my designs gone somewhere..! :roll:

I'll show you my code..

printModal.cshtml

<div class="col-md-12 ">

    <div class="well col-md-12 margintop">

        <div id="printThisElement">
            <div class="row">
                <div class="row text-center col-md-12 hidden-print ">
                    <img src="~/img/logo.png">
                </div>
                <div class="visible-print-block" style="text-align:center;">
                    <p>   <img src="~/img/logo.png"></p>
                </div>
                <div class="col-xs-6 col-sm-6 col-md-6 hidden-print">
                    <div class="floatL">
                        <table class="table" border="0">
                            <tbody>
                                <tr class="row">
                                    <td>@L("AdmissionNo")</td>
                                    <td>:&nbsp;{{vm.paymentdetails.admissionNo}}</td>
                                </tr>
                                <tr class="row">
                                    <td>@L("Name"):</td>
                                    <td>:&nbsp;{{vm.paymentdetails.name}}</td>
                                </tr>
                                <tr class="row">
                                    <td>@L("Class"):</td>
                                    <td>:&nbsp;{{vm.paymentdetails.class}}</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="col-xs-6 col-sm-6 col-md-6 visible-print-block">
                    <div class="">
                        <table class="visible-print-block" border="0">
                            <tbody>
                                <tr class="row">
                                    <td>@L("AdmissionNo"):</td>
                                    <td>{{vm.paymentdetails.admissionNo}}</td>
                                </tr>
                                <tr class="row">
                                    <td>@L("Name"):</td>
                                    <td>{{vm.paymentdetails.name}}</td>
                                </tr>
                                <tr class="row">
                                    <td>@L("Class"):</td>
                                    <td>{{vm.paymentdetails.class}}</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="col-xs-6 col-sm-6 col-md-6 visible-print-block">
                    <div class="">
                        <table class="visible-print-block" border="0">
                            <tr class="row">
                                <td>@L("TransactionId"):</td>
                                <td>{{vm.paymentdetails.transationId}}</td>
                            </tr>
                            <tr class="row">
                                <td>@L("Order Reference No"):</td>
                                <td>{{vm.paymentdetails.orderRefNo}}</td>
                            </tr>
                            <tr class="row">
                                <td>@L("Date"):</td>
                                <td>{{vm.paymentdetails.transactionDateTime | date:'dd-MM-yyyy'}}</td> @*Changed by Robin creationTime*@
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="col-xs-6 col-sm-6 col-md-6 text-right hidden-print">
                    <div class="table-responsive floatR">
                        <table class="table" border="0">
                            <tr>
                                <td class="floatL"><span>@L("TransactionId")</span></td>
                                <td>:</td>
                                <td><span>{{vm.paymentdetails.transationId}}</span></td>
                            </tr>
                            <tr>
                                <td class="floatL"><span>@L("Order Ref. No")</span></td>
                                <td>:</td>
                                <td><span>{{vm.paymentdetails.orderRefNo}}</span></td>
                            </tr>
                            <tr>
                                <td class="floatL"><span>@L("Date")</span></td>
                                <td>:</td>
                                <td><span>{{vm.paymentdetails.transactionDateTime | date:'dd-MM-yyyy'}}</span></td> @*Changed by Robin creationTime*@
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row hidden-print">
                    <div class="col-md-12 cleardiv">
                        <div class="text-center margin0auto row">
                            <h1>Receipt</h1>
                        </div>
                        <hr>
                    </div>
                </div>
                <div class="row visible-print-block">
                    <br />
                    <div class="" style="width:250px">
                        <div class="text-center margin0auto" style="margin:0 auto">
                            <h1>Receipt</h1>
                        </div>
                        <hr />
                    </div>
                </div>
                <div class="row">
                    <div class="">
                        <table class="table table-responsive tableWidth">
                            <tr class="row">
                                <td><div class="col-xs-6 col-sm-6 col-md-6"><strong>Fees</strong></div></td>
                                <td><div class="col-xs-6 col-sm-6 col-md-6"><strong>Amount</strong></div></td>
                            </tr>

                            <tr class="row">
                                <td><div class="col-xs-6 col-sm-6 col-md-6">Fees</div></td>
                                <td><div class="col-xs-6 col-sm-6 col-md-6">{{vm.paymentdetails.amount}}</div></td>
                            </tr>

                            <tr class="row">
                                <td><div class="col-xs-6 col-sm-6 col-md-6"><strong>Amount Paid: </strong></div></td>
                                <td><div class="col-xs-6 col-sm-6 col-md-6"><strong>{{vm.paymentdetails.amount}}</strong></div></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="col-md-6">
    <button class="btn btn-success btn-lg btn-block" ng-print print-element-id="printThisElement">
        <i class="fa fa-print"></i>
        PRINT
    </button>
</div>

style.css

@media print
{
    /**{
        display:none;
    }*/

     .floatR { 
        float: right !important; 

    }
     .printwidth {
         width: 100% !important;
         clear:both !important;
    }
}

The style classes are not working in the print. But when I used the

  • { display:none; } the print preview displays nothing. That means, the style sheet is loading at the time of print, but not the classes inside the sheet!.

I've used chrome to get the print preview.

Actually what could be the problem??

Hi Ismail, Thank you very much for your lovely help :) I've got your sample code. But unfortunately i couldn't run that in my machine. Because it's showing a number of errors in abp.d TypeScript file. Actually I couldn't find such a file in my project. I think you sent me the latest NetZero project. I'm using the MVC5-Angular Version of ASPNetZero.

However, I made it by referring your code :lol: I've done the same things seen from your sample code in my project. Finally my quickpay page is displayed without a log in :D Thanks again for your nice support.

Once again I need your help. That is, my quick pay page is displayed and i can make the payment. But, this quick pay is also tenant specific. I need to Identify the tenant in the quick pay also. We are planning to host the app in azure and create sub-domains for each tenant. Hope it will be possible(tell me if there is any known issues. bcz we are doing this for the first time.) So, please guide me to get the tenantId in the quick Pay.

Showing 11 to 20 of 47 entries