» Site Navigation |
|
|
» Stats |
Members: 9,488
Threads: 11,748
Posts: 55,278
Top Poster: Nick (4,981)
|
| Welcome our newest member, johno |
» Online Users: 37 |
| 0 members and 37 guests |
| No Members online |
| Most users online at once 294, 06-30-2007 at 12:24 PM. |
» March 2010 |
| S |
M |
T |
W |
T |
F |
S |
| 28 |
1
|
2
|
3
|
4
|
5
|
6
|
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
|
28
|
29
|
30
|
31
| 1 | 2 | 3 |
|
 |
|
07-28-2006, 08:26 PM
|
#1 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Left Column Size
 Hello,
The left column size of the Helpdesk screen is sized against the length of content specially when you have a queue called "Helpdesk Management Group" it is huge(See attachment Helpdesk Page Size.bmp) I wanted to fix the size and to get the label (e.g. the queue name) wrapped up in this size(Helpdesk Page Size 1.bmp).
Which file should I update for the size? for the wrap-up?
dashboard.ascx?
hlQueuedCount.Label = ResourceManager.TryString("sidLblQueued", CurrentWorker.queue_name)
with a line like this will it wrap the text of the queu name and limit the size to 2.5"?
<aw:HyperLink runat="server" id="hlQueuedCount" wrap="true" width="2.5" labelposition="top" command="runQuery" />
this doesn't work!!! it is warpping up the incidents counted not the label or the full column... with the queue name.
Thanks,
Dom
Last edited by dominique; 08-04-2006 at 02:28 PM..
|
|
|
07-28-2006, 09:42 PM
|
#2 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
Will it be possible to limit the size of the column through this line and also wrap-up the label if it is over this limited sixe?
hlQueuedCount.Label = ResourceManager.TryString("sidLblQueued", CurrentWorker.queue_name)
hlQueuedCount.Width = 3
Thanks,
Dom
Last edited by dominique; 07-29-2006 at 12:30 PM..
|
|
|
07-29-2006, 02:57 PM
|
#3 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
Same error :External component has thrown an exception.
with the following code:
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)
hlQueuedCount.Label = ResourceManager.TryString("sidLblQueued", CurrentWorker.queue_name)
hlQueuedCount.Width = 3
let me continue to look for the correct syntax and parameter.
Thanks,
Dom
Last edited by dominique; 07-29-2006 at 02:59 PM..
|
|
|
07-30-2006, 12:52 PM
|
#4 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
I could not find what I need for this width parameter.
Should I create an XML line to limit the size of this field and/or column or is it possible through SQL?
Standard.ascx
Dashboard.ascx
I was trying to adapt a version of an example from Microsoft but it seems I am missing something:
'Step 2: ProductID
Dim column As New DataGridTextBoxColumn()
column.MappingName = "ProductID"
column.HeaderText = "ID"
column.Width = 30
is it only for table?
should I redefine the field?
thanks,
Dom
Last edited by dominique; 07-30-2006 at 06:52 PM..
|
|
|
07-31-2006, 09:34 AM
|
#5 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
I have tried to add a new line without success.
I want to fix the size of the helpdesk column (standard.ascx & dashboard.ascx) specially on the field Queue Name. I need also when it is fix to wrap the text inside this field.
Any idea is welcome.
Thanks,
Dom
|
|
|
07-31-2006, 06:40 PM
|
#6 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
In addition of the line found in dashboard.ascx for the queue namethere is also another link in the standard.ascx:
<aw  ynamicPanel id="dpDash" runat="server" Command="dashboard" refreshPeriod="120">
May this line will be the one to be set to fix the size of the standard.ascx and dashboard.ascx at the same time to prevent the "queue name" to take all the screen ...
Any idea is welcome
Thanks,
Dom
|
|
|
07-31-2006, 08:18 PM
|
#7 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
I was trying a syntax as below:
<td width="1%"><aw  ynamicPanel id="dpDash" runat="server" Command="dashboard" width="50" refreshPeriod="120"></aw  ynamicPanel>
or
<td width="20"><aw  ynamicPanel id="dpDash" runat="server" Command="dashboard" refreshPeriod="120"></aw  ynamicPanel>
or
aw:Layout id="loCounts" runat="server" width="5"
but these did not have any effect on the size of the dashboard.ascx and standard.ascx
Let me know
Thanks,
Dom
Last edited by dominique; 07-31-2006 at 08:21 PM..
|
|
|
08-01-2006, 03:39 PM
|
#8 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
I tried also to fix the width through the AltirisConsole.ascx but no luck as well.
<td Width="3"><aw  ynamicPanel id="dpDash" runat="server" Command="dashboard" width="3" refreshPeriod="120">
or
<td><aw  ynamicPanel id="dpDash" runat="server" Command="dashboard" width="3" refreshPeriod="120">
but no luck the column remains large as the queue name is....
Any other file (standard.ascx, dahsboard.ascx, altirisconsole.ascx) have been already tried...?
Thanks,
Dom
|
|
|
08-02-2006, 12:43 PM
|
#9 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
I have redone all the tests on different servers but no cluck.
I wanted to fix the size of the left column of the incident menu to be able to have a correct size for the incident screen itself.
I have worked on:
standard.ascx
altirisconsole.ascx
dashboard.ascx
the <td witdh="3"> seems to be the correct syntax for this type of action but I may not do it in the correct file and/or in the correct folder.
Also is it possible to forbid the resizing a column by a parameter like what i saw "persisT' or something like this?
Thanks,
Dom
|
|
|
08-02-2006, 04:02 PM
|
#10 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
I found another parameter which could allow or block the sizing of a column: AutoResize
I am looking for it in any Altiris file to see if there is any blocking like this which prevent me to fix the size of the Dashboard and Standard Menus.
I may try to size this field: "sibQueueTitle "
Thanks,
Dom
Last edited by dominique; 08-02-2006 at 04:10 PM..
|
|
|
08-04-2006, 01:30 PM
|
#11 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
I am still trying to resize a hlQueuedCount field in VB and/or a DynamicPanel in then Dashboard.ascx file with no luck for now.
I have check the DynamicPanel etc... but I cannot have something straight with a DynamicPanel width is it an Altiris specificity ? Microsoft Serach does not give me anything on the MSDN,.
Thanks,
DoOm
Last edited by dominique; 08-04-2006 at 01:35 PM..
|
|
|
08-05-2006, 08:08 PM
|
#12 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
It is possible to limit the size but HOW?
I noticed as example that the List of Email Templates is not listed as is but as a wrapup field
List of Email
Templates
Still looking where I could fix the width of the Menu List, of the dashboard and/or assign a maximum size to the global table where Standard.ascx and Dashboard.ascx are stored in AltirisConsole.ascx.
Let me know if you have a clue...
Thanks,
Dom
|
|
|
08-05-2006, 09:18 PM
|
#13 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
I tried also
<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...
thanks,
Dom
Last edited by dominique; 08-05-2006 at 09:26 PM..
|
|
|
08-07-2006, 05:48 PM
|
#14 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
For confirmation I tried the fiollowing line:
<aw:label runat="server" id="lblQueuedCount" width="30" />
the label is displayed with the size I need, the text is wrapped-up.... BUT I have two lines...
So definetely the <aw:hyperlink should have a parameter which allow the limitation of the width of the label displayed. As the LabelWidth is not giving any error but is not doing anything I think the parameter is correct but something else is preventing the field to be resized.
Any ideas are welcome,...
Thanks,
Dom
|
|
|
08-07-2006, 08:17 PM
|
#15 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
I tried unsucessfully:
hlQueuedCount.Size = New Size(30, 30)
Exception error...
<aw:Layout id="loCounts" runat="server" size="30, 30" >
no error but nothing changes
or
<aw:Layout id="loCounts" runat="server" width="30" >
Also tries thhrough the Styles.css file
Body
width ="30px"
Thanks,
Dom
Last edited by dominique; 08-07-2006 at 09:20 PM..
|
|
|
08-08-2006, 04:01 PM
|
#16 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
I have been able to transform the dashboard from vertical to horizontal, from one column to three columns, to wrap the counts, but still not able to wrap and size the label!!!
still hanging there...
Thanks,
Dom
|
|
|
08-08-2006, 06:41 PM
|
#17 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello,
I tried also a
<Column PercentWidth="70">
on the layout of the dashboard.ascx but nothing happened.
Still looking for the resizing of this panel
Thanks,
Dom
Last edited by dominique; 08-08-2006 at 06:53 PM..
|
|
|
08-08-2006, 08:04 PM
|
#18 (permalink)
|
Status: Altiris Developer
Join Date: 07-11-2006
Location: Bangkok and Cardiff
Posts: 200
|
Quote:
|
Originally Posted by dominique
Hello,
For confirmation I tried the fiollowing line:
<aw:label runat="server" id="lblQueuedCount" width="30" />
the label is displayed with the size I need, the text is wrapped-up.... BUT I have two lines...
So definetely the <aw:hyperlink should have a parameter which allow the limitation of the width of the label displayed. As the LabelWidth is not giving any error but is not doing anything I think the parameter is correct but something else is preventing the field to be resized.
Any ideas are welcome,...
Thanks,
Dom
|
Since you can display the label why not just do it like this:
Code:
<aw:label runat="server" id="lblQueuedCount" class="clsLabel" SuspendRowSpacing="True" />
<aw:HyperLink runat="server" id="hlQueuedCount" command="runQuery" />
|
|
|
08-08-2006, 08:28 PM
|
#19 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello John,
This concatenates the "Label" and the "Result" but does not reduce the size of the display instead it even increase it a little bit with the result field.
Before:
Queued [Helpdesk Management Queue]:
15 incidents
After:
Queued [Helpdesk Management Queue]: 15 incidents
I would like somehting like this:
Queued [Helpdesk
Management Queue]:
15 incidents
I am no more sure I could do it only on this statement and not blocking the size of the console itself.
Thanks,
Dom
|
|
|
08-08-2006, 09:32 PM
|
#20 (permalink)
|
Status: Altiris Developer
Join Date: 07-11-2006
Location: Bangkok and Cardiff
Posts: 200
|
Edit the Layout definition so that it looks like this:
Code:
<aw:Layout id="loCounts" runat="server" style="word-wrap:break-word;">
|
|
|
08-09-2006, 12:02 AM
|
#21 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello John,
I tried this in addition of the previous updates and also on a usual dashboard.ascx it does not have any effect on any field.
I will review the syntax and see if something changes
http://msdn.microsoft.com/library/de...s/wordwrap.asp
I tried also
<aw:Layout id="loCounts" runat="server" style="word-wrap:break-word;width:30px">
or
<aw:Layout id="loCounts" runat="server" style="word-wrap:break-word;width:30">
no result yet...
**
I verified the custom.config is well pointed.... in both cases
Dom
Last edited by dominique; 08-09-2006 at 12:16 AM..
|
|
|
08-09-2006, 12:10 AM
|
#22 (permalink)
|
Status: Altiris Developer
Join Date: 07-11-2006
Location: Bangkok and Cardiff
Posts: 200
|
Well remove the word-wrap style attribute from the Layout definition and define the two lines as:
Code:
<aw:label runat="server" id="lblQueuedCount" Width="30" />
<aw:HyperLink runat="server" id="hlQueuedCount" command="runQuery" />
|
|
|
08-09-2006, 12:23 AM
|
#23 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
I tried this earlier in my tests but to confirm I did it and the width parameter does not have any effect I changed the value from 5 to 500 and no effect on the display. The Label and the result appears as if there was only one line...in the default file delivered by Altiris.
the only change if one blank line inserted before the label...
I have restarted IIS all times...
I added a width="20" on the hyperlink line to confirm I was on the correct environment it works for the results but the label remains wide...
I tried a queue name:
Helpdesk Management Queue Long Word Long Word Long Word Long Word Long Word Long Word Helpdesk Management Queue Long Word Long Word Long Word Long Word Long Word Long Word
to see if there was a limit... there is no limit I have only the left column on my screen even not complete. I thought from the AltirisConsole.ascx the column would have been maximize and limited to a size (1/3 of a full screen) but nothing ...
Thanks,
Dom
Last edited by dominique; 08-09-2006 at 12:53 AM..
|
|
|
08-09-2006, 12:51 AM
|
#24 (permalink)
|
Status: Altiris Developer
Join Date: 07-11-2006
Location: Bangkok and Cardiff
Posts: 200
|
I forgot a piece.
Set the AppWeaver code section to:
Code:
<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>
And change the lines:
Code:
If queue = 0 Then
' queue is prompted
hlQueuedCount.label = 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)
hlQueuedCount.label = ResourceManager.TryString("sidLblQueued", CurrentWorker.queue_name)
End If
To:
Code:
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
|
|
|
08-09-2006, 01:07 AM
|
#25 (permalink)
|
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 53
Posts: 3,394
|
Hello John,
Let me verified the code as I have lost the result (hlQueudCount) and the label(hlqueuedCount.Text) appears as the hyperlink now.
Thanks,
Dom
|
|
|
 |
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|