473,657 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

"Dominique" <Do*******@disc ussions.microso ft.comwrote in message
news:64******** *************** ***********@mic rosoft.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

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 "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" <Do*******@disc ussions.microso ft.comwrote in message
news:64******** *************** ***********@mic rosoft.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


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( "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" <Do*******@disc ussions.microso ft.comwrote in message
news:64******** *************** ***********@mic rosoft.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
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 images as the ImageURL of the Hyperlink. When a load the page with the controls on it works fine, but sometimes the images are broken, but if i hit refresh i get random selections of the gifs appearing and not appearing. if i hit Back button to a page...
3
8670
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 and control) over the page. In other words, everything centered, automatic with window size. If you have a solution not using VS (or HTML substitutes but would prefer using VS controls, clearly need datagrid and aspx), I'm all ears also. ...
9
2715
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= '<%# String.Format("Toyota/Images/Showroom/" & Container.DataItem("PathToDisplyPic"))%>' NavigateUrl='<%#
2
4282
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 just Qdescription with out hyperlink. <asp:hyperlinkcolumn headertext="Question" SortExpression="QDescription"
4
2212
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" NavigateUrl="javascript:OpenImage('<%# DataBinder.Eval(Container.DataItem,"FileName") %>');"><%#
4
7496
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 document. "here" would be linked and should be a hyperlink webcontrol. But that is not possible.
1
1334
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 (which is another column in the datagrid). Hyperlink = ../Cardio.aspx?OMEMBID={0} Any assistance would be nice.
4
4118
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 detail records, it displays a hyperlink that then takes the user to the details page. If a master record doesn't have any children, I just want it to display its ID with no hyperlink.
1
3765
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 one hyperlink controls. <asp:Label ID="Label1" runat="server" style="z-index: 1; left: 77px; top: 280px; position: absolute; height: 24px"
0
8413
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8740
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8513
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8617
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7352
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1970
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1733
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.