msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to fix the width of the Dashboard ?

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax
Author Message
Dominique



Joined: 04 Oct 2007
Posts: 9

PostPosted: Thu Aug 03, 2006 5:57 pm    Post subject: How to fix the width of the Dashboard ? Reply with quote

Hello,

I was trying a syntax as below:

width="50" refreshPeriod="120">

or

refreshPeriod="120">

or

aw:Layout id="loCounts" runat="server" width="5"

but these did not have any effect on the size of the dashboard.ascx
I tried also to fix the width through the AltirisConsole.ascx but no luck as
well.

width="3" refreshPeriod="120">

or

refreshPeriod="120">

but no luck the column remains large as the field name is....

Any idea is welcome
Thanks
--
Dominique

Archived from group: microsoft>public>vb>syntax
Back to top
View user's profile Send private message
Dominique



Joined: 04 Oct 2007
Posts: 9

PostPosted: Thu Aug 03, 2006 6:01 pm    Post subject: RE: How to fix the width of the Dashboard ? Reply with quote

I have this VB code on top of the XML defined below:
--
Dominique


"Dominique" wrote:

> Hello,
>
> I was trying a syntax as below:
>
> > width="50" refreshPeriod="120">
>
> or
>
> > refreshPeriod="120">
>
> or
>
> aw:Layout id="loCounts" runat="server" width="5"
>
> but these did not have any effect on the size of the dashboard.ascx
> I tried also to fix the width through the AltirisConsole.ascx but no luck as
> well.
>
> > width="3" refreshPeriod="120">
>
> or
>
> > refreshPeriod="120">
>
> but no luck the column remains large as the field name is....
>
> Any idea is welcome
> Thanks
> --
> Dominique
Back to top
View user's profile Send private message
Dominique



Joined: 04 Oct 2007
Posts: 9

PostPosted: Thu Aug 03, 2006 6:02 pm    Post subject: RE: How to fix the width of the Dashboard ? Reply with quote

Dim queue As Integer = CurrentWorker.worker_queue_id
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
--
Dominique


"Dominique" wrote:

> Hello,
>
> I was trying a syntax as below:
>
> > width="50" refreshPeriod="120">
>
> or
>
> > refreshPeriod="120">
>
> or
>
> aw:Layout id="loCounts" runat="server" width="5"
>
> but these did not have any effect on the size of the dashboard.ascx
> I tried also to fix the width through the AltirisConsole.ascx but no luck as
> well.
>
> > width="3" refreshPeriod="120">
>
> or
>
> > refreshPeriod="120">
>
> but no luck the column remains large as the field name is....
>
> Any idea is welcome
> Thanks
> --
> Dominique
Back to top
View user's profile Send private message
Ken Halter



Joined: 04 Oct 2007
Posts: 4150

PostPosted: Thu Aug 03, 2006 6:32 pm    Post subject: Re: How to fix the width of the Dashboard ? Reply with quote

"Dominique" wrote in message @microsoft.com...
> Dim queue As Integer = CurrentWorker.worker_queue_id

You'll want to post your question in a dotnet group. They all contain
"dotnet" in their names. All groups that start with "microsoft.public.vb"
are for VB Classic and none of the code you posted will even begin to run.


--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
In Loving Memory - http://www.vbsight.com/Remembrance.htm
Back to top
View user's profile Send private message
Dominique



Joined: 04 Oct 2007
Posts: 9

PostPosted: Thu Aug 03, 2006 6:31 pm    Post subject: RE: How to fix the width of the Dashboard ? Reply with quote

Hello,

I tried also at an upper level to fix this column but no luck...


Command="dashboard" refreshPeriod="120">

--
Dominique


"Dominique" wrote:

> Dim queue As Integer = CurrentWorker.worker_queue_id
> 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
> --
> Dominique
>
>
> "Dominique" wrote:
>
> > Hello,
> >
> > I was trying a syntax as below:
> >
> > > > width="50" refreshPeriod="120">
> >
> > or
> >
> > > > refreshPeriod="120">
> >
> > or
> >
> > aw:Layout id="loCounts" runat="server" width="5"
> >
> > but these did not have any effect on the size of the dashboard.ascx
> > I tried also to fix the width through the AltirisConsole.ascx but no luck as
> > well.
> >
> > > > width="3" refreshPeriod="120">
> >
> > or
> >
> > > > refreshPeriod="120">
> >
> > but no luck the column remains large as the field name is....
> >
> > Any idea is welcome
> > Thanks
> > --
> > Dominique
Back to top
View user's profile Send private message
Dominique



Joined: 04 Oct 2007
Posts: 9

PostPosted: Tue Aug 08, 2006 1:03 pm    Post subject: RE: How to fix the width of the Dashboard ? Reply with quote

I have posted on several other web site but I am still not sure which one is
correct as there is no answer anywhere for a week.

???

--
Dominique


"Dominique" wrote:

> Hello,
>
> I was trying a syntax as below:
>
> > width="50" refreshPeriod="120">
>
> or
>
> > refreshPeriod="120">
>
> or
>
> aw:Layout id="loCounts" runat="server" width="5"
>
> but these did not have any effect on the size of the dashboard.ascx
> I tried also to fix the width through the AltirisConsole.ascx but no luck as
> well.
>
> > width="3" refreshPeriod="120">
>
> or
>
> > refreshPeriod="120">
>
> but no luck the column remains large as the field name is....
>
> Any idea is welcome
> Thanks
> --
> Dominique
Back to top
View user's profile Send private message
Ken Halter



Joined: 04 Oct 2007
Posts: 4150

PostPosted: Tue Aug 08, 2006 1:32 pm    Post subject: Re: How to fix the width of the Dashboard ? Reply with quote

"Dominique" wrote in message @microsoft.com...
>I have posted on several other web site but I am still not sure which one
>is
> correct as there is no answer anywhere for a week.
>
> ???
>
> --
> Dominique

I have no idea if this'll help or not but.....

Results 1 - 100 of 1,900 for width dashboard
http://groups.google.com.my/groups/search?hl=en&lr=lang_en&safe=off&num=100&q=width+dashboard&safe=off&qt_s=Search

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
In Loving Memory - http://www.vbsight.com/Remembrance.htm
Back to top
View user's profile Send private message
Dominique



Joined: 04 Oct 2007
Posts: 9

PostPosted: Tue Aug 08, 2006 2:18 pm    Post subject: Re: How to fix the width of the Dashboard ? Reply with quote

I appreciate Ken Let me try
Thanks
--
Dominique


"Ken Halter" wrote:

> "Dominique" wrote in message
> @microsoft.com...
> >I have posted on several other web site but I am still not sure which one
> >is
> > correct as there is no answer anywhere for a week.
> >
> > ???
> >
> > --
> > Dominique
>
> I have no idea if this'll help or not but.....
>
> Results 1 - 100 of 1,900 for width dashboard
> http://groups.google.com.my/groups/search?hl=en&lr=lang_en&safe=off&num=100&q=width+dashboard&safe=off&qt_s=Search
>
> --
> Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
> DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
> In Loving Memory - http://www.vbsight.com/Remembrance.htm
>
>
>
Back to top
View user's profile Send private message
Dominique



Joined: 04 Oct 2007
Posts: 9

PostPosted: Wed Aug 09, 2006 6:11 pm    Post subject: Re: How to fix the width of the Dashboard ? Reply with quote

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



labelposition="top" command="runQuery" />
SuspendRowSpacing="True" style="word-wrap:break-word;" />
command="runQuery" />



Thanks,
Dom

--
Dominique


"Dominique" wrote:

> I appreciate Ken Let me try
> Thanks
> --
> Dominique
>
>
> "Ken Halter" wrote:
>
> > "Dominique" wrote in message
> > @microsoft.com...
> > >I have posted on several other web site but I am still not sure which one
> > >is
> > > correct as there is no answer anywhere for a week.
> > >
> > > ???
> > >
> > > --
> > > Dominique
> >
> > I have no idea if this'll help or not but.....
> >
> > Results 1 - 100 of 1,900 for width dashboard
> > http://groups.google.com.my/groups/search?hl=en&lr=lang_en&safe=off&num=100&q=width+dashboard&safe=off&qt_s=Search
> >
> > --
> > Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
> > DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
> > In Loving Memory - http://www.vbsight.com/Remembrance.htm
> >
> >
> >

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
How to change Tab Width to the standard one (4) for already Some programmers like to change the Tab Width and their code is difficult to further support by the other programmers (with have standard 4 characters tab). So, how to change the Tab Width to the standard one (4) for already written code? What simple deci

How do I match control width to parent width How do I coax a control I'm designing to automatically match it's width to the parent's width, and to adjust on parent resize to the new parent width without having to tell the developer to put in the = FormX.Width" line...? Thanks in Adv

Form Width Here's another little annoyance now that the Windows fancy Vista Aero interface is upon us. You cannot any more rely on the Width of a Form being what you ask for, because in certain circumstances it does not include the fancy Aero border and in other ci

How to get the border width of a form ? Hi All, Could you help me how to get the top border height and the left border width of a form ? I will use it with API GetCursorPos to see when the mouse enters or leaves a control area like this : GetCursorPos mousePos If mousePos.X *

Resizing column width in ListView Hello, I am trying to develop a 'magic formula' to change ListView with the ListView width (form width). My code is close but I need to change the number of columns dynamically and need to find out how to calculate that
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Syntax All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group