Hyperlink and Label

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I tried:
<aw:HyperLink runat="server" id="hlQueuedCount" labelposition="top"
labelwidth="30" command="runQuery" />
as if I use the parameter width it just affect the result of the query
displayed by hlQueuedCount I wanted to try on the Label itself... with a
parameter labelwidth but it does not seems to do anything...

Any idea what will be the parameter for the hyperlink label which is
actually expandable I would like to restrict it to a fix width.


thanks,
Dom
 
I tried width = n but it just changed the size of the result ("number of item
in the queue" but not the size of the label...("Queue: Queue Name")
I have on the screen two lines (but only one XML line:
First line: --> "Queue: Queue Name"
Second Line: --> "number of item in the queue"

As I dont have a special line for the label I thought both the label and the
result would have been in the same XML line. Am I wrong?
Also as I saw a "LabelPosition" in the XML line for the result I thought
there will be also a parameter for the size....

Thanks
 
Hello,

Thank you again and again to John Doyle who has done an excellent solution

Label had to be changed to text....

I just wanted to summarize 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
 
Back
Top