Optimize your UI code by loading element properties through Arrays with jQuery

Developing UI layouts can at times seem redundant but also offer a number of challenges to both the designer and/or developer.  As a developer I’m always faced with the challenge of writing efficient code and looking for ways to re-factor code so that I can re-use it as often as possible. This may sound “geek” to my designer brethren out there but in reality the same principles apply and I would challenge designers to look to using the same principles. Let’s take a look at how we can optimize some of our UI elements and code with arrays. Continue reading

Posted in CSS, Programming, UI Design | Tagged , , , | Leave a comment

Sharing crystal report files outside of Crystal

One of the most common questions I get asked when training / consulting clients on Crystal Reports is. “Can I share my report with others so that they can run the report?” In the past I have always pointed them to a few options. Export the report as a PDF or Excel file, Share the report with the Crystal report Viewer, or for the larger clients use Crystal Enterprise  to share the report. All three solutions while viable have their limitations. Exporting looses drill down features or the ability to refresh the data. The CR Viewer while it supports drill down does not support the refreshing of data. Then there is Crystal Enterprise… well we’ll just leave it at that ( Maybe it should be Enterpri$$e).

Well I am happy to say that in reading a recent newsletter from ( a personally respected and favorite resource) Ken Hamady http://kenhamady.com/cru/ I saw mention of a third-party viewer which supports the refreshing of data / parameters within the Viewer.  The viewer mentioned is the Data Link Viewer.  Which allows users to run reports without having the ability to open the RPT files in the designer.  I found this was a great and much welcome feature as the DLV also  the report by creating in essence a read only file which protects proprietary business calculations, as well as prevents unwanted tampering of the report.

More info on the DLV and other cool crystal report add-in’s can be found at:  http://www.milletsoftware.com/

Happy Reporting!

Posted in Programming, Report Writing | Leave a comment

Accessing JQuerry or other scripts within MasterPages

I’ll preface this with the fact that I dabble in ASP.NET. It’s not my passion but I do enjoy working with it from time to time. As with anything this language is susceptible to the “use it or lose it” paradigm which I often experience between projects.  To this point I was hooking up a basic site the other day and the UI designer had provided me with a template of how the basic site should work from a UX standpoint. My role was to take this as the starting point and then flesh out the rest of the site with the business logic/code needed for the web app. Continue reading

Posted in ASP.NET AJAX | Leave a comment

Debugging Silverlight within a web app

When developing a Silverlight application the debugging of the app is pretty straight forward when you are working within the Silverlight solution/ project. But what about when you need to debug or “step-through the Silverlight application” from within your ASP.NET solution.  Visual Studio 2010 actually makes this quite easy to accomplish. Once you have added the Silverlight project or embedded the XAP file within your ASP.NET solution you can enable debugging of the Silverlight application by doing the following:

  1. From within the ASP.NET solution right-mouse click on the solution title nd select properties
  2. Navigate to the Web tab within the properties window
  3. Ensure that the Silverlight check box is enabled in the Debugger section
  4. Save the project properties
  5. Happy De-bugging

Enable Debug mode for Silverlight app from ASP.NET project

Posted in Programming, Silverlight, WPF | Leave a comment

Wrapping up the report writing workshop

It’s Wednesday and I’m moving into the final leg of my report writing workshop. The week is flying by and I always feel as if there is never enough time to teach my clients all that I want to about the Crystal Report API embedded in our product.  Never the less, we are forging ahead today and diving deeper into the component by introducing formulas. While I could easily take an entire week to just train my clients on formulas and all the cool things we can do with them in reports I only have two 1 /1/2 hour sessions to introduce them to formulas. 

With that being said, I’m including in this post a short pdf file that will help get most people started with a few basic (need to know) formulas.  While there are a ton of formulas available and the manner in which we use the formulas can seem to be endless I always feel as if there are a few basic formulas and operators that everyone should know.   Of course there’s always more to come and if you have questions or comments feel free to shoot them my way. I’ll respond as time allows and attempt to address most questions through the blog in an effort to help the community as a whole.

Useful formulas for reports

Happy reporting!

Posted in Programming, Report Writing | Tagged , , , , , | Leave a comment

Are you really ready to create that report

 If you’re new to report writing/creation then this post is certainly for you. Maybe you just started writing reports or worse yet you just attended a report writing workshop and now because you’ve “had some training” you are instantly perceived as the report guru at your office.  Of course you should be able to generate a report on nothing more than a brief description right?  The fact is you’re probably sitting there nodding your head and recalling that first time you were asked to create a report. Once the nausea passes and the cold clammy sweat dried from your palms you’ll have the realization that you had no idea where to start.  Like most, you’ll just dive head first into the task and begin linking tables and dropping fields on the report in the hope to have the report finished before lunch. If this is your regular approach, STOP. What I’m about to share with you will save you time, reduce your stress and help you design and deploy professional looking reports. Continue reading

Posted in Report Writing | Tagged , , | Leave a comment