|
Hello,
Thank you again and again to John Doyle who has done an excellent solution
I just wanted to summuraize for an easy use:
Changing the size of the Dashboard.ascx
If queue = 0 Then ' queue is prompted
lblQueuedCount.Text = ResourceManager.ResolveString("sidLblQueuedNone")
hlQueuedCount.command = ""
Else
Dim workerQueueClause As String = String.Format(" and workitem_assigned_to_worker_id = {0}", queue)
count = ListDataSet.ProcessQueryDefinitions(dsQueries, "queued", title, text, whereClause, workerQueueClause, reportPeriodClause)
SetHyperLink(hlQueuedCount, title, text, whereClause, CurrentWorker.queue_name)
lblQueuedCount.Text = ResourceManager.TryString("sidLblQueued", CurrentWorker.queue_name)
End If
And
<aw:Layout id="loCounts" runat="server">
<aw:label runat="server" id="lblTime" Font-Size="xx-small" />
<aw:HyperLink runat="server" id="hlOpenCount" label="sidLblOpen" labelposition="top" command="runQuery" />
<aw:label runat="server" id="lblQueuedCount" class="clsLabel" SuspendRowSpacing="True" style="word-wrap:break-word;" />
<aw:HyperLink runat="server" id="hlQueuedCount" labelposition="top" command="runQuery" />
</aw:Layout>
Thanks,
Dom
Last edited by dominique; 08-09-2006 at 02:32 PM..
|