Image buttons
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngrichtextbox' list.


Victor Dios
First, the control is great!!!... easy to implement and code... now to =
my question....

The space between the button images is way to wide... I need to compact =
my toolbar so my client doesn't need to scroll to see the options.... I =
know that ToolBArSeparatorImageWidth does not work with button type =
image... is there a way I can accomplish this.. TIA

Ollie, this is for you... I am new with ASP.NET, and I saw what you did =
on the "Insert Image" button... that is exactly what I need to do on my =
app to allow users to either enter a path or browse to select a file... =
let me give you a bit of background... I am using your control as the =
body for emails we send... some of our clients have a pre-constructed =
content which we save in a text file.... what I need is have the clients =
select a file and once they do, paste the contents of that file into =
your control's text area... the pasting part I have it done, what I =
need is a clean way to open a file browser window and restrict the type =
files to text only.... I can do it in VB and even VB.NET... but finding =
hard to do it in ASP.NET.. I know this is out of topic, but if you have =
any guidance or you can show me a snippet that would take me in the =
right direction will be apreciated....

TIA,
Victor Dios

Reply to this message...
 
    
Ollie Cornes

Hi Victor,

There is a small amount of spacing between the buttons and you can
change that using the ToolbarSpacing property. Alternatively, you can
move the toolbar items around using the ToolbarLayout property. The
ToolbarSeparatorImageWidth sets the width of the image placed between
blocks of buttons/menus - that should work fine with image buttons.

If you still see problems, please send a screenshot of the problem to me
at Click here to reveal e-mail address.

I'll reply to your other question offlist.

Ollie

--
http://www.richtextbox.com/

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address] On Behalf Of
Victor Dios
Sent: 19 June 2002 17:32
To: aspngrichtextbox
Subject: [aspngrichtextbox] Image buttons

First, the control is great!!!... easy to implement and code... now to
my question....

The space between the button images is way to wide... I need to compact
my toolbar so my client doesn't need to scroll to see the options.... I
know that ToolBArSeparatorImageWidth does not work with button type
image... is there a way I can accomplish this.. TIA

Ollie, this is for you... I am new with ASP.NET, and I saw what you did
on the "Insert Image" button... that is exactly what I need to do on my
app to allow users to either enter a path or browse to select a file...
let me give you a bit of background... I am using your control as the
body for emails we send... some of our clients have a pre-constructed
content which we save in a text file.... what I need is have the clients
select a file and once they do, paste the contents of that file into
your control's text area... the pasting part I have it done, what I
need is a clean way to open a file browser window and restrict the type
files to text only.... I can do it in VB and even VB.NET... but finding
hard to do it in ASP.NET.. I know this is out of topic, but if you have
any guidance or you can show me a snippet that would take me in the
right direction will be apreciated....

TIA,
Victor Dios

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

Reply to this message...
 
    
Victor Dios
Thanks Ollie... I already set the ToolbarSpacing property to zero... and
I am using the ToolbarLayout to place the button images in two rows...
the ToolbarSeparatorImageWidth property only works with
ButtonType.Button... but I think I should be okay with what I have...
thanks for the help...

Victor

-----Original Message-----
From: Ollie Cornes [mailto:Click here to reveal e-mail address]
Sent: Thursday, June 20, 2002 8:16 AM
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Image buttons

Hi Victor,

There is a small amount of spacing between the buttons and you can
change that using the ToolbarSpacing property. Alternatively, you can
move the toolbar items around using the ToolbarLayout property. The
ToolbarSeparatorImageWidth sets the width of the image placed between
blocks of buttons/menus - that should work fine with image buttons.

If you still see problems, please send a screenshot of the problem to me
at Click here to reveal e-mail address.

I'll reply to your other question offlist.

Ollie

--=20
http://www.richtextbox.com/

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address] On Behalf Of
Victor Dios
Sent: 19 June 2002 17:32
To: aspngrichtextbox
Subject: [aspngrichtextbox] Image buttons

First, the control is great!!!... easy to implement and code... now to
my question....

The space between the button images is way to wide... I need to compact
my toolbar so my client doesn't need to scroll to see the options.... I
know that ToolBArSeparatorImageWidth does not work with button type
image... is there a way I can accomplish this.. TIA

Ollie, this is for you... I am new with ASP.NET, and I saw what you did
on the "Insert Image" button... that is exactly what I need to do on my
app to allow users to either enter a path or browse to select a file...
let me give you a bit of background... I am using your control as the
body for emails we send... some of our clients have a pre-constructed
content which we save in a text file.... what I need is have the clients
select a file and once they do, paste the contents of that file into
your control's text area... the pasting part I have it done, what I
need is a clean way to open a file browser window and restrict the type
files to text only.... I can do it in VB and even VB.NET... but finding
hard to do it in ASP.NET.. I know this is out of topic, but if you have
any guidance or you can show me a snippet that would take me in the
right direction will be apreciated....

TIA,
Victor Dios

| [aspngrichtextbox] member Click here to reveal e-mail address =3D YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp =3D =
JOIN/QUIT

| [aspngrichtextbox] member Click here to reveal e-mail address =3D YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp =3D =
JOIN/QUIT

Reply to this message...
 
    
Ollie Cornes

Hi Victor,

The ToolbarSeparatorImageWidth property only has an effect when you are
using image buttons (as opposed to form buttons). Its value is a width
in pixels and the image used as the separator will have its Width
attribute set to this value. If you set it to zero, you will still get a
single pixel of separator. The best way to remove the separators
entirely is to use ToolbarLayout and just not specify any in the string.

Ollie
--
http://www.richtextbox.com/

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address] On Behalf Of
Victor Dios
Sent: 20 June 2002 19:39
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Image buttons

Thanks Ollie... I already set the ToolbarSpacing property to zero... and
I am using the ToolbarLayout to place the button images in two rows...
the ToolbarSeparatorImageWidth property only works with
ButtonType.Button... but I think I should be okay with what I have...
thanks for the help...

Victor

-----Original Message-----
From: Ollie Cornes [mailto:Click here to reveal e-mail address]
Sent: Thursday, June 20, 2002 8:16 AM
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Image buttons

Hi Victor,

There is a small amount of spacing between the buttons and you can
change that using the ToolbarSpacing property. Alternatively, you can
move the toolbar items around using the ToolbarLayout property. The
ToolbarSeparatorImageWidth sets the width of the image placed between
blocks of buttons/menus - that should work fine with image buttons.

If you still see problems, please send a screenshot of the problem to me
at Click here to reveal e-mail address.

I'll reply to your other question offlist.

Ollie

--
http://www.richtextbox.com/

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address] On Behalf Of
Victor Dios
Sent: 19 June 2002 17:32
To: aspngrichtextbox
Subject: [aspngrichtextbox] Image buttons

First, the control is great!!!... easy to implement and code... now to
my question....

The space between the button images is way to wide... I need to compact
my toolbar so my client doesn't need to scroll to see the options.... I
know that ToolBArSeparatorImageWidth does not work with button type
image... is there a way I can accomplish this.. TIA

Ollie, this is for you... I am new with ASP.NET, and I saw what you did
on the "Insert Image" button... that is exactly what I need to do on my
app to allow users to either enter a path or browse to select a file...
let me give you a bit of background... I am using your control as the
body for emails we send... some of our clients have a pre-constructed
content which we save in a text file.... what I need is have the clients
select a file and once they do, paste the contents of that file into
your control's text area... the pasting part I have it done, what I
need is a clean way to open a file browser window and restrict the type
files to text only.... I can do it in VB and even VB.NET... but finding
hard to do it in ASP.NET.. I know this is out of topic, but if you have
any guidance or you can show me a snippet that would take me in the
right direction will be apreciated....

TIA,
Victor Dios

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

Reply to this message...
 
    
Victor Dios
Ollie,

I think is the other way around...

"This property has no effect if ButtonType is set to Image."

This is what the online help says about the ToolbarSeparatorImageWidth
property... it does not work using image buttons... but if I set the
ButtonType to Button it works...

-----Original Message-----
From: Ollie Cornes [mailto:Click here to reveal e-mail address]
Sent: Thursday, June 20, 2002 3:06 PM
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Image buttons

Hi Victor,

The ToolbarSeparatorImageWidth property only has an effect when you are
using image buttons (as opposed to form buttons). Its value is a width
in pixels and the image used as the separator will have its Width
attribute set to this value. If you set it to zero, you will still get a
single pixel of separator. The best way to remove the separators
entirely is to use ToolbarLayout and just not specify any in the string.

Ollie
--=20
http://www.richtextbox.com/

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address] On Behalf Of
Victor Dios
Sent: 20 June 2002 19:39
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Image buttons

Thanks Ollie... I already set the ToolbarSpacing property to zero... and
I am using the ToolbarLayout to place the button images in two rows...
the ToolbarSeparatorImageWidth property only works with
ButtonType.Button... but I think I should be okay with what I have...
thanks for the help...

Victor

-----Original Message-----
From: Ollie Cornes [mailto:Click here to reveal e-mail address]
Sent: Thursday, June 20, 2002 8:16 AM
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Image buttons

Hi Victor,

There is a small amount of spacing between the buttons and you can
change that using the ToolbarSpacing property. Alternatively, you can
move the toolbar items around using the ToolbarLayout property. The
ToolbarSeparatorImageWidth sets the width of the image placed between
blocks of buttons/menus - that should work fine with image buttons.

If you still see problems, please send a screenshot of the problem to me
at Click here to reveal e-mail address.

I'll reply to your other question offlist.

Ollie

--=20
http://www.richtextbox.com/

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address] On Behalf Of
Victor Dios
Sent: 19 June 2002 17:32
To: aspngrichtextbox
Subject: [aspngrichtextbox] Image buttons

First, the control is great!!!... easy to implement and code... now to
my question....

The space between the button images is way to wide... I need to compact
my toolbar so my client doesn't need to scroll to see the options.... I
know that ToolBArSeparatorImageWidth does not work with button type
image... is there a way I can accomplish this.. TIA

Ollie, this is for you... I am new with ASP.NET, and I saw what you did
on the "Insert Image" button... that is exactly what I need to do on my
app to allow users to either enter a path or browse to select a file...
let me give you a bit of background... I am using your control as the
body for emails we send... some of our clients have a pre-constructed
content which we save in a text file.... what I need is have the clients
select a file and once they do, paste the contents of that file into
your control's text area... the pasting part I have it done, what I
need is a clean way to open a file browser window and restrict the type
files to text only.... I can do it in VB and even VB.NET... but finding
hard to do it in ASP.NET.. I know this is out of topic, but if you have
any guidance or you can show me a snippet that would take me in the
right direction will be apreciated....

TIA,
Victor Dios

| [aspngrichtextbox] member Click here to reveal e-mail address =3D YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp =3D =
JOIN/QUIT

| [aspngrichtextbox] member Click here to reveal e-mail address =3D YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp =3D =
JOIN/QUIT

| [aspngrichtextbox] member Click here to reveal e-mail address =3D YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp =3D =
JOIN/QUIT

| [aspngrichtextbox] member Click here to reveal e-mail address =3D YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp =3D =
JOIN/QUIT

Reply to this message...
 
    
Ollie Cornes

Hi Victor,

I'm sorry, that documentation is incorrect and I'll get that updated.
The ToolbarSeparatorImageWidth property only applies with image buttons.
When you use form buttons, the buttons are spaced with an  
character, so the value of that property will not have an effect.

I spent a few minutes earlier doing some testing and I cannot reproduce
the behaviour you are describing. I'm very curious what you are seeing -
can you send a screenshot to Click here to reveal e-mail address? Maybe I missed
something.

Ollie
--
http://www.richtextbox.com/

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address] On Behalf Of
Victor Dios
Sent: 20 June 2002 21:52
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Image buttons

Ollie,

I think is the other way around...

"This property has no effect if ButtonType is set to Image."

This is what the online help says about the ToolbarSeparatorImageWidth
property... it does not work using image buttons... but if I set the
ButtonType to Button it works...

-----Original Message-----
From: Ollie Cornes [mailto:Click here to reveal e-mail address]
Sent: Thursday, June 20, 2002 3:06 PM
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Image buttons

Hi Victor,

The ToolbarSeparatorImageWidth property only has an effect when you are
using image buttons (as opposed to form buttons). Its value is a width
in pixels and the image used as the separator will have its Width
attribute set to this value. If you set it to zero, you will still get a
single pixel of separator. The best way to remove the separators
entirely is to use ToolbarLayout and just not specify any in the string.

Ollie
--
http://www.richtextbox.com/

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address] On Behalf Of
Victor Dios
Sent: 20 June 2002 19:39
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Image buttons

Thanks Ollie... I already set the ToolbarSpacing property to zero... and
I am using the ToolbarLayout to place the button images in two rows...
the ToolbarSeparatorImageWidth property only works with
ButtonType.Button... but I think I should be okay with what I have...
thanks for the help...

Victor

-----Original Message-----
From: Ollie Cornes [mailto:Click here to reveal e-mail address]
Sent: Thursday, June 20, 2002 8:16 AM
To: aspngrichtextbox
Subject: [aspngrichtextbox] RE: Image buttons

Hi Victor,

There is a small amount of spacing between the buttons and you can
change that using the ToolbarSpacing property. Alternatively, you can
move the toolbar items around using the ToolbarLayout property. The
ToolbarSeparatorImageWidth sets the width of the image placed between
blocks of buttons/menus - that should work fine with image buttons.

If you still see problems, please send a screenshot of the problem to me
at Click here to reveal e-mail address.

I'll reply to your other question offlist.

Ollie

--
http://www.richtextbox.com/

-----Original Message-----
From: Click here to reveal e-mail address
[mailto:Click here to reveal e-mail address] On Behalf Of
Victor Dios
Sent: 19 June 2002 17:32
To: aspngrichtextbox
Subject: [aspngrichtextbox] Image buttons

First, the control is great!!!... easy to implement and code... now to
my question....

The space between the button images is way to wide... I need to compact
my toolbar so my client doesn't need to scroll to see the options.... I
know that ToolBArSeparatorImageWidth does not work with button type
image... is there a way I can accomplish this.. TIA

Ollie, this is for you... I am new with ASP.NET, and I saw what you did
on the "Insert Image" button... that is exactly what I need to do on my
app to allow users to either enter a path or browse to select a file...
let me give you a bit of background... I am using your control as the
body for emails we send... some of our clients have a pre-constructed
content which we save in a text file.... what I need is have the clients
select a file and once they do, paste the contents of that file into
your control's text area... the pasting part I have it done, what I
need is a clean way to open a file browser window and restrict the type
files to text only.... I can do it in VB and even VB.NET... but finding
hard to do it in ASP.NET.. I know this is out of topic, but if you have
any guidance or you can show me a snippet that would take me in the
right direction will be apreciated....

TIA,
Victor Dios

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

| [aspngrichtextbox] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngrichtextbox.asp = JOIN/QUIT

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com