User Profile & Activity

Arief Handany Member
Page
of 20

Yes can confirm Jimmy here is the sample for ios, please check the view controller and tableviewcell in view, I actually don't need to override, but I still need to register the Item Binding Adapter. 

https://onedrive.live.com/download?resid=9F657B5249D6BB8D!115&authkey=!AKXcI9Tb9pDU3v4&ithint=file%2czip

You can use your webApi to run the samples.

Hi Jimmy

Just want to update you, we successfully replicate your bug.

Could I know which line of code that problem happened, i mean in your second screenshot because the error seems different and the only error that i replicate is the unable to perform data operation one 

Hi Jimmy,

Ok, I will test it, I will try it using our Simple CRM/Sync Sample because, it was most complete. 

I will get back to you when done testing.

Posted: October 8, 2015 9:21 AM
Hi Rupesh,

Sorry for the late response here is what I do:
Note that I'm using Allow Print in web grid samples and make a new button as a demonstration, I add the function ExportHTMLAndPrint().

here is my js
var isPrint = false;      
function ExportHTMLAndPrint() { var WebGrid1 = ISGetObject("WebGrid1"); isPrint = true; WebGrid1.ExportGrid("", "HTML", "PORTRAIT"); } function OnExportPrintResponse(controlId, status) { var grid = ISGetObject(controlId); if (isPrint) { var fileLocation = ISXml.GetNodeText(grid.XmlResp, "//outputFile"); var iFrameWindow = document.getElementById("printFrame"); if (!iFrameWindow) { iFrameWindow = document.createElement("iframe"); iFrameWindow.id = "printFrame"; iFrameWindow.style.display = "none"; document.body.appendChild(iFrameWindow); } iFrameWindow.src = fileLocation; debugger; if (iFrameWindow.contentWindow.print) { iFrameWindow.onload = function () { iFrameWindow.contentWindow.print() }; } else { iFrameWindow.onload = iFrameWindow.contentWindow.document.execCommand("print", false, null); } grid.SetStatus1("", "ready", "CommonText/Ready"); return false; }

 and here is my client side event I intercept the OnResponse

<ClientSideEvents OnResponse="OnExportPrintResponse" />

The result is whenever you press the button it will automatically show print pages using export to HTML.
Hope this will help!

Hi Jimmy,

Sorry for the lack of news, the priority for CROS-858 actually low right now and maybe will be implemented with an update for Framework, i'm really suggest you to implement it yourself if you are urgently need it.

For CROS-859 (Authorization Denied) actually it is already done, as you can see, we only fix the samples, because it was very case by case. In simpleCRM case it actually very fitting and relevant and also because we already do have the function to handle it.

As you can see here is the implementation.

You may ask why we put it in CustomerList only?
Here is the explanation: List is inherited by a lot of Class that obtain data (Opportunity List, etc), if we put it in for example edit, it won't matter because user needs to navigate to list first before class.

Also, as I said before it is a case by case, sometimes there are pages that allowed and some that are authorization free.

So I hope this will help your project!

Hi Jimmy,

Yep you already right, after i check using the converter looks like the ConvertBack never called, i already report this to our developer under CROS-937 but i have a good work around.
private int _tempQty;
public int TempQty{
get{return this.Item.Qty.ToString();}
set{if (_tempQty!= value){
_tempQty = value;
OnPropertyChanged("TempQty");
this.Item.Qty = int.Parse(_tempQty);
}
}
}
//In your binding please replace Qty with TempQty

Looks like this happened because it was in List Item, in form builder case, it is also use converter but not in List item format. Also you can remove the  android:numeric="integer"
As far as i know that function only for old Android API, so it is useless in newer API sorry.

Hi Jimmy,

Our developer suspect this is a data error, which means what you must do is clean your bin or obj or make sure your App have access to your database.

However could you also show me your step by step how you do the release?

Posted: October 7, 2015 4:33 AM

Hi Kathivelu,

1. Yes we can, we have something called Form Builder which you can read here

2. Here are the samples http://git.intersoftpt.com/projects/CROS/repos/samples/browse/FormBuilderSamples

3. Personally I think our product is best of the both world, both easy and versatile, Our code is similar with Xamarin, but we have numerous library that can make your life easier for example if you want to create list you can easily use our List Class, feed the data, and it already done in both Android and iOS.

Also just so you know we have both Online Documentation and Git Repository, so you can explore our features and try our sample if you likes!

But feel free to ask us anything, we will try to answer your questions! :)

Hi Jimmy,

You can use converter, but from what I try you don't need to do anything in our form builder because it was already handled the numeric value.

Hi Cristobal,

Good new for you! yes it was possible please check the sample for detail:

https://onedrive.live.com/download?resid=9F657B5249D6BB8D!113&authkey=!AM5urVz4hrhh4CI&ithint=file%2czip

All times are GMT -5. The time now is 7:24 PM.
Previous Next