iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello,Thank you for the reply.Should you have further question, please do not hesitate to contact us.Thank you.Regards,Hans K.
Hello,Based on your post, I tried to find the Intersoft WebGrid Samples that bind the WebGrid from code behind.I tried to modify the WebGrid configuration in ‘BindtoTraditionalDataSource.aspx’ page. I use your WebGrid’s configuration in your post, but I didn’t use all server side event & client side event, due to I don’t know your code.However, it also works fine on my end.I attached the video regarding the result from the modified page.Could you please help me to have review on the modified page? Please kindly try to run the modified sample on your end & please let me know the result.Also please let me know if there is configuration that I missed on the modified page.So we can found the work around / solution for this issue as soon as possible.To run the page, you just simply add the modified to the WebGrid Samples Solution.Thank you for your help.Regards,Hans K.
Hello,If you want to bind the WebGrid programmatically, you should initialize your databinding in ‘OnInitializeDataSource’ server side event.I attached the example WebGrid page that use ‘InitializeDataSource’ event.In this page, the WebGrid was bind to access data source (Northwind.mdb database & Shippers table)Please kindly have review on the page to see the result.Hope this helps.Regards,Hans K.
Hello,I apologize for any inconvenience this problem may have caused you.There is a minor glitch in Item Template for Intersoft Entity Data Model.The developer team has been provide me the quick fix to resolve this problem.I have attached the new Item Template for this issue.Please kindly try to replace your current Item Template with the new one.You can find the Item Template in this physical path below:C:\Users\[User Name]\Documents\Visual Studio 2013\Templates\ItemTemplates\Visual C#\Data\IntersoftEntityDataModel.CSharp.zip"Hope this helps.Regards,Hans K.
Hello,I got news from the developer team regarding this scenario.The developer team has provided the feature to get / download the PDF file from local machine.I will try to show you the (example) step by step to implement / use this new feature.In this example, I will try to modify the Reporting Samples for Android. You also can get the Reporting Samples from this link.I have attached the Crosslight nightly build that contain this new feature.Before we start to implement the feature, we should update the Crosslight assembly first.After I update the Crosslight assembly, I prepare the PDF file that to be loaded.I add the PDF file under ‘ReportingSamples.Android’ project, in ‘Resources -> raw’ folder.The next step is I modified the content of ‘AppInitializer.cs’ file in ‘Infrastructure’ folder.Here’s the line that I changed:
From:public void InitializeServices(IApplicationHost appHost){ ServiceProvider.AddService<IReportingService, ReportingService>();} To: public void InitializeServices(IApplicationHost appHost) { ServiceProvider.AddService<IReportingService, LocalReportingService>(); }
The last step is I added new file, named ‘LocalReportingService.cs’, under ‘Services’ folder.Here’s the content of the ‘LocalReportingService.cs’:
public class LocalReportingService : ReportingService { public override void ExecuteLoadReportAsync(IReportViewModel reportViewModel, Action<byte[]> onSuccess, Action<Exception> onFail = null) { // You could create your own code to load the PDF file in this function try { Resources resources = Application.Context.Resources; // To get the PDF File Stream stream = resources.OpenRawResource(Resource.Raw.Example); byte[] bytes = GetBytes(stream); onSuccess.Invoke(bytes); } catch (Exception e) { onFail.Invoke(e); } } public static byte[] GetBytes(Stream input) { byte[] buffer = new byte[16 * 1024]; using (MemoryStream ms = new MemoryStream()) { int read; while ((read = input.Read(buffer, 0, buffer.Length)) > 0) { ms.Write(buffer, 0, read); } return ms.ToArray(); } } }
I attached the modified page as well.Hope this helps.NB: Please note that nightly build (pre-release version of hotfix) is not tested for regression. We hope you can collaborate and test it in your project.Regards,Hans K.
Hello,
I have forwarded this scenario to the developer team.They will consider this as a feature request.
I will let you know about the update regarding this scenario.
Thank you very much.
Regards,Hans K.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname