Archive for May, 2012

Hi,

While trying to install Windows Phone Developer Tools on my machine which has Windows Server 2008 i faced lot of issues.

Finally i followed the steps mentioned in the following post to get it installed successfully.

http://blogs.msdn.com/b/astebner/archive/2010/05/02/10005980.aspx

I tried the same thing on “Windows Phone SDK 7.1″ but couldn’t get it working properly.

And moreover  it only worked on a system that had no other version of Visual Studio installed in it.

Hope it helps.

 

 

Suppose based on some value we want to hide the Run Workflow button from Ribbon through JavaScript in form’s onload event.

Firt get the Id of the button using IE Developer Tool and then use display property to hide it


var btnRunWorklfow=top.document.getElementById("new_student|NoRelationship|Form|Mscrm.Form.new_student.RunWorkflow-Large");
btnRunWorklfow.style.display='none';

Bye.

In one of our reports we were using List Control to show information related to Account(Business) and its related Task and Appointments. The information was being shown in three different Tablix respectively and if there were no Task and Appointments then we were hiding the Account (Business) Tablix and Rectangle by setting their Hidden Property.

Fig. Three Tablix inside the List Control.

However after running the report we realized that Rectangles although were hiding properly but were still consuming the white space. Because of this we had blank white spaces in our report.

So to display the reports properly we had to set the Hidden Property of the Row also.

Select the Row and Right click it.

Select Row Visibility and set its property using the same expression used for Rectangle’s Visiblity property.

After making this change report started showing up properly.

The helpful thread

http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/a34974ea-af84-4fa6-b445-25f9e490def0

Hope it helps.