473,503 Members | 2,082 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hyperlink and Label

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
Aug 6 '06 #1
3 1396
Width=n

"Dominique" <Do*******@discussions.microsoft.comwrote in message
news:64**********************************@microsof t.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

Aug 6 '06 #2
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" <Do*******@discussions.microsoft.comwrote in message
news:64**********************************@microsof t.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


Aug 7 '06 #3
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
"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" <Do*******@discussions.microsoft.comwrote in message
news:64**********************************@microsof t.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
Aug 9 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
550
by: Ryan Harvey | last post by:
Hi all, I have written a web user control that contains a repeater control. the ItemTemplate for this control is basically 6 Hyperlinks in a row, that are dynamically allocated one of 7 gif...
3
8654
by: Tom Bernsen | last post by:
This should be simple, I did it with a datagrid easily enough. Using VS Net 1.1, I want a label over the datagrid and a hyperlink below it (from WebForms toolbox), with BOTH of them centered (text...
9
2705
by: Leon | last post by:
What Am I Doing Wrong? Code Will Not Run, I Can't See The Error! Thanks. <asp:datalist id="DataList1" runat="server" RepeatColumns="4"> <ItemTemplate> <asp:HyperLink id=HyperLink1 ImageUrl=...
2
4274
by: Kumar | last post by:
Hi Folks, I have a question regarding conditional hyperlink in datagrid of asp.net ,c# application I want to display Hyperlink if my QID values in (1,4,5,6) other wise i want to display...
4
2202
by: Satya | last post by:
Hi all, The following code is throwing a run time error "The server tag is not well formed. " <ItemTemplate> <asp:HyperLink Runat="server" ID="lnkFile"...
4
7480
by: Christian Hofmann | last post by:
Hello, How is it possible to use a hyperlink webcontrol inside a label webcontrol? I am using resources for globalisation. Now I have a text like this: Please click here to open that...
1
1330
by: davetichenor | last post by:
I have a column which has either "Yes" or "No" as the data - I want only the "No"'s values to be a Hyperlink - Clicking "No" would then take then to hyperlink - along with member's membership ID...
4
4110
by: =?Utf-8?B?QW1pciBUb2hpZGk=?= | last post by:
Hi I have a GridView that is displaying master records. Some of these records have child records. I would like to a column to my master GridView such that for each master record that has...
1
3752
by: sivasrec | last post by:
Hi, This is sivakumar from India. Now I am learning to ASP.NET 2.0.. I have a doubt.... I have used in a one hidden field control, 2 label controls, 2 button controls and...
0
7205
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7353
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7011
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5596
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3170
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.