Hyperlink and Label

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dominique

    #1

    Hyperlink and Label

    Hello,

    I tried:
    <aw:HyperLink runat="server" id="hlQueuedCou nt" labelposition=" top"
    labelwidth="30" command="runQue ry" />
    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
  • Scott M.

    #2
    Re: Hyperlink and Label

    Width=n



    "Dominique" <Dominique@disc ussions.microso ft.comwrote in message
    news:640846DA-24E3-47A5-B097-2B3521A29504@mi crosoft.com...
    Hello,
    >
    I tried:
    <aw:HyperLink runat="server" id="hlQueuedCou nt" labelposition=" top"
    labelwidth="30" command="runQue ry" />
    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

    Comment

    • Dominique

      #3
      Re: Hyperlink and Label

      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 "LabelPosit ion" 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" <Dominique@disc ussions.microso ft.comwrote in message
      news:640846DA-24E3-47A5-B097-2B3521A29504@mi crosoft.com...
      Hello,

      I tried:
      <aw:HyperLink runat="server" id="hlQueuedCou nt" labelposition=" top"
      labelwidth="30" command="runQue ry" />
      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
      >
      >
      >

      Comment

      • Dominique

        #4
        Re: Hyperlink and Label

        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( "sidLblQueuedNo ne")
        hlQueuedCount.c ommand = ""
        Else
        Dim workerQueueClau se As String = String.Format(" and
        workitem_assign ed_to_worker_id = {0}", queue)
        count = ListDataSet.Pro cessQueryDefini tions(dsQueries , "queued", title,
        text, whereClause, workerQueueClau se, reportPeriodCla use)
        SetHyperLink(hl QueuedCount, title, text, whereClause,
        CurrentWorker.q ueue_name)
        lblQueuedCount. Text = ResourceManager .TryString("sid LblQueued",
        CurrentWorker.q ueue_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="sidLblOp en"
        labelposition=" top" command="runQue ry" />
        <aw:label runat="server" id="lblQueuedCo unt" class="clsLabel "
        SuspendRowSpaci ng="True" style="word-wrap:break-word;" />
        <aw:HyperLink runat="server" id="hlQueuedCou nt" labelposition=" top"
        command="runQue ry" />
        </aw:Layout>


        Thanks,
        Dom

        --
        Dominique


        "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 "LabelPosit ion" 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" <Dominique@disc ussions.microso ft.comwrote in message
        news:640846DA-24E3-47A5-B097-2B3521A29504@mi crosoft.com...
        Hello,
        >
        I tried:
        <aw:HyperLink runat="server" id="hlQueuedCou nt" labelposition=" top"
        labelwidth="30" command="runQue ry" />
        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

        Comment

        Working...