Home All Groups Group Topic Archive Search About
Author
6 Aug 2006 5:45 PM
Dominique
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

--
Dominique

Author
6 Aug 2006 10:39 PM
Scott M.
Width=n



Show quoteHide quote
"Dominique" <Domini***@discussions.microsoft.com> wrote in message
news:640846DA-24E3-47A5-B097-2B3521A29504@microsoft.com...
> 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
>
> --
> Dominique
Author
7 Aug 2006 2:05 AM
Dominique
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
--
Dominique


Show quoteHide quote
"Scott M." wrote:

> Width=n
>
>
>
> "Dominique" <Domini***@discussions.microsoft.com> wrote in message
> news:640846DA-24E3-47A5-B097-2B3521A29504@microsoft.com...
> > 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
> >
> > --
> > Dominique
>
>
>
Author
9 Aug 2006 9:11 PM
Dominique
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

--
Dominique


Show quoteHide quote
"Dominique" wrote:

> 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
> --
> Dominique
>
>
> "Scott M." wrote:
>
> > Width=n
> >
> >
> >
> > "Dominique" <Domini***@discussions.microsoft.com> wrote in message
> > news:640846DA-24E3-47A5-B097-2B3521A29504@microsoft.com...
> > > 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
> > >
> > > --
> > > Dominique
> >
> >
> >