.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

How to get tracking information from the child activities

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :JQuery

Hi guys!

I have a WF4 service which is processing some requests. The service definition includes some basic activities like Receive and SendReply etc. and some activities which are exported from another project in the solution. Those activities are actually sequences of even more activities.

I have some tracking profiles which instruct the runtime to collect all possible information about instances' states and activities' states. BUT: when I execute my parent activity (WF service xamlx) I can see no tracking data about the child activities, just the points at which those activiries are invoked.

Here is how it looks:

  1. ActivityStateRecord - Root xamlx - SendReplyToReceive
  2. ActivityStateRecord - Root xamlx - Receive request and reply
  3. ActivityStateRecord - Root xamlx - Receive
  4. ActivityStateRecord - Referenced project (assembly) - Business Process <- here a child activity is invoked (nothing is visible inside it)

Is it possible to look inside those child activities?

Thank you.


View Complete Post

More Related Resource Links

How do I process Child activities

Hi! I have built a for each loop to process to process two activities grouped in a sequence activity. When I step through this code and get to the executionContext.ExecuteActivity it recognizes the child sequence activity but I don't drop into it what have I missed? Thanks foreach (MissingResult MR in ChecklistResponse) { string NotamID = MR.NOTAMID.ToString(); string Acountbility = MR.AccountID.ToString(); // Build the Query URL SingleQueryURL = String.Format(SingleQueryBase, AIDAPAccount, AIDAPPassword, JournalType, Acountbility, NotamID); // Access the first Child Activity Activity a = this.EnabledActivities[0]; // Subscribe to the closed event a.Closed += ChildActivityCountinuation; // Execute the activity executionContext.ExecuteActivity(a); // Increment the Loop counter LoopCounter++; }

How to find child (model item) activities of a flow chart model item?

Hello,In an earlier post, I asked how to find the children of a given model item.  If the model item I'm working with is a FlowChart, then the strategies given in that earlier post don't work.  How can I, given a model item that contains a FlowChart activity, find the direct children of the model item?  I'm not particularly interested in the order in which the child will execute, I just want a list of all the immediate children. (I'm not interested in child activities nested within an activity that is a direct child of the FlowChart activitiy).Also, I would like to get the model item representing the child activities, rather than the activities directly themselves.  I think I could do something like this: Flowchart flowChart = _activeflowChartDesigner.ModelItem.GetCurrentValue() as Flowchart;            if (flowChart != null)            {                foreach (FlowNode node in flowChart.Nodes)                {                    FlowStep flowStep = node as FlowStep;    

Exposing InArguments to child activities

The Scenario:

I have a sequence activity B with InArgument X and I want  child activity Z to be able to use the data passed into InArgument X.

How do I do this?

My current attempt as been to take the value from InArgument X and Place it in a variable that is expected to be there. But I get an exception:

Activity '1: Sequence<String>' cannot access this variable because it is declared at the scope of activity '1: Sequence<String>'.  An activity can only access its own implementation variables.

Current code on my parent sequence where I try to take the value from Argument1 and place it in Variable1

protected override void Execute(NativeActivityContext context)


            var tempVars = _variables.Where(v => v.Name == "Variable1");

            if (tempVars.Count() == 1)


                Variable _inVariable1 = tempVars.First();

                _inVariable1.Set(context, Argument1.Get(context));



            foreach (Activity ac

Tracking of site administration activities


Hi All!

Is it possible in SharePoint 2007 to log user actions of administering of sites, more specifically - adding / modifying / deleting web part pages, lists (including creating / updating / deleting of columns and views), document libraries, deleting of list and document library items?

(We have a corporate portal on SharePoint 2007, there`s a lot of sites and local admins of those sites. Not all of them are skilled enough, so sometimes they break something on their sites and try to blame us for their problems. Having that sort of adminitration activities tracking would be greatly helpful for us). 

GridView Parent Child View with JQuery Effects

I was just checked how to add some more cool effects to the GridView control using JQuery. In this post I will display parent-child data in the GridView control with some help of the wonderful JQuery library.

Let's first populate the GridView control.

GridView control to show master-child or master-slave data, written in c#, asp.net

I previously made a master slave datagrid using Visual Studio 2003 .Net (original article) that would allow users to show data to clients using collapse and expand features. These features however did not carry over to gridview for many users. This tutorial will explaing how to create a collapsable/expandable gridview in frameworks 2.0 and higher

How to get more information about the exceptions that can happen in SharePoint 2010 projects?

In case there is an exception anywhere in the SharePoint 2010 project (most common place an exception would happen is during deployment of your SharePoint project, custom deployment configuration or custom deployment steps), there's a registry key EnableDiagnostics available for you to use.

Display column from child table. Possible ?



I'am using dnamic entity with EF4. On a list page of a table, I would like to display a column containing information from a child table of the current element. Sample :

Order List :

Order Data | Required Date | Shipped Date | etc... | ... | Customer Name (foreign key with tostring() method override) | Customer Postal Code (Column that I want to add) |

I don't known how to do that. Is it possible ? Maybe I have to to create my own Metadata proxy that will add dynamicly a column on the MetaColumn list of the table.

Does someone have an easier or better idea ?

Thank you for any help.

Information about sessions


Some questions about sessions:

I know sessions information is stored in the form of cookie and you can use qurystring for that if you set cookieless session in web.config. But I don't exactly understand the scope of a session.

What I believe is when you login to a website, a session cookie is created and the scope of that session is within that page only. If you close the browser that session gets killed and when you open the browser again and go to that site then a new session is created ie a new session is created on every request. Is this correct?

But I have seen in many websites, even if you close the browser and open it again the session is not killed, how does that happen?

Can anyone clear out and explain the scope/lifetime of sessions


ERROR [HY000] [Informix .NET provider][Informix]Database locale information mismatch


Hi, there is an upgrade to my infimacs server and my web application encounter this error after the infimacs is upgraded.

Below is the information on the server before/after the upgrade.

Before            After

---------       -----------  

Solaris 8      Solaris 10

IDS 9.40     IDS 11.50

The web server where the web application hosted is running IBM Informix Connect 2.81. There is no such error before the upgrade is done.

As a developer, i have IBM Informix Client-SDK 2.90 installed on my local pc and debug the page where the read is needed from infimacs but no such error found.

The error come out only when it is hosted on the web server where IBM Informix Connect 2.81 is installed.

I have gone through many articles and it suggest me to set the environement  variable in the server :  DB_LOCALE=en_us.819.

I haven't try this solution but i think that this might not be the best solution.

Is it possible to to to have this settin

How to send an email with information in query string


First I will say I googled (Binged to make Bill happy) for this but could not find anything, perhaps I am not stating what I need correctly;

I have a website that a customer creates orders (for a printing company) and after the order, I would like to email the customer a link to view the status of their order;

I need to send the CustomerID in the link so on the returning page if a CustomerID is detected in the querystring, I "auto login" the client and open the "Dashboard" for the order page for that customer.

Can anyone point me in the right direction as to how to send the link and how to parse the querystring to get the values from the link;

Thank you if you can point me in the right direction.

need information about ironpython



 i have installed visual studio 2008.it works fine

now i want to try ironpython. :)

so please give me details of step for installation and which sources require to start ironpython in visual studio 2008.



Display homepage node along with child nodes


If the first Sitemap node is your homepage/default and all other nodes are supposed to be children / grandchildren of the first sitemap node in a web.sitemap, how do I set up my web.sitemap to enable me to display my cssFriendlyMenu with the homepage node along with the nodes that are 1 level down from it at the same time as in :

Home   Products   Services   About us


...or is it not possible to have the first sitemap node displayed along with the nodes that are 1 level down from it?  Do I need to have a different starting node rather than my homepage node?

How to keep the hover for Parent menu and set the selected menu item css for child menu item?



I'm using cssfriendly control adapter for menu. My asp.net menu control's datasource is a sitemap file I'm using which contains all the urls.

I have the following questions:

  1. Is there a way to keep the parent menu item hovered while hovering over the respective child menu items?
  2. Is there a way to keep the child menu item selected? I am able to set the css for the parent menu, however I was wondering if the same is possible with the child items.

Please help! Smile


Moneka Smile

.NET Visualization: Visualizing Information with .NET


Having the capability to draw pictures usually isn't enough for a good information visualization platform. The key to building a visualization platform is capabilities such as interactivity, generating metadata, and overlaying related data. You need a level of flexibility that lets you render any data in any way at any time.

Laurence Moroney

MSDN Magazine August 2009

Foundations: Unit Testing Workflows And Activities


Matt Milner takes a look at some of the challenges and techniques related to testing Windows Workflow Foundation activities, workflows, and associated components.

Matt Milner

MSDN Magazine November 2008

Office Development: Manage Metadata with Document Information Panels


Here the author uses Document Information Panels in the Microsoft 2007 Office system to manipulate metadata from Office docs for better discovery and management.

Ashish Ghoda

MSDN Magazine April 2008

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend