471,319 Members | 1,344 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

ToolStripDropDownButton

I accidentally deleted the toolstrip which had the
ToolStripDropDownButton. Is there a easy way to get it back. The code
for the toolstrip still exists, its just that I cant see it in the
designer. I was wondering if there was any other way rather than
re-doing the entire thing again..

Thanks in advance for the help.

-Priya

Jan 12 '06 #1
5 3734
Priya,

Unfortunately, no. If you do delete it, you might be able to do a
Ctrl-Z to undo, but if you already made other changes or whatnot (which you
have done by now) or closed VS.NET, then no, you can't.

Why not just add the button again, with the same name, and set the
properties? That's what a designer is for, to make these tasks easy. Your
code which references that name will be all the same and should work.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Priya" <pr********@gmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
I accidentally deleted the toolstrip which had the
ToolStripDropDownButton. Is there a easy way to get it back. The code
for the toolstrip still exists, its just that I cant see it in the
designer. I was wondering if there was any other way rather than
re-doing the entire thing again..

Thanks in advance for the help.

-Priya

Jan 12 '06 #2
HI Nicholas,
Thank you for your response. I tried doing that but then I get a message
saying that name that I am using to name the control already exists :(

Is there a special type of toolstrip control for toolstripdropdownbutton
or should i just use the toolstrip control from the tool box and make
changes for it to be a toolstripdropdownbutton ?

appreciate your help ..also if you have links to do this please let me
know ..

thanks,
Priya
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Jan 12 '06 #3
Priya,

The tool strip drop down button is for ToolStrip instances. They are
part of .NET 2.0, I believe. They are not compatable with the old menu
system.

You might just have to code it from scratch again (at least, the
toolstrip and the drop down).

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Priya" <pr********@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
HI Nicholas,
Thank you for your response. I tried doing that but then I get a message
saying that name that I am using to name the control already exists :(

Is there a special type of toolstrip control for toolstripdropdownbutton
or should i just use the toolstrip control from the tool box and make
changes for it to be a toolstripdropdownbutton ?

appreciate your help ..also if you have links to do this please let me
know ..

thanks,
Priya
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Jan 12 '06 #4
Do u have links to samples ? I can google and find out as well . i was
just being a bit lazy :)

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Jan 12 '06 #5
Priya,

I don't have any samples, sorry, but the documentation for the controls
should have some.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Priya" <pr********@gmail.com> wrote in message
news:OH**************@TK2MSFTNGP10.phx.gbl...
Do u have links to samples ? I can google and find out as well . i was
just being a bit lazy :)

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Jan 12 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by GatorBait | last post: by
1 post views Thread by Adam Honek | last post: by
4 posts views Thread by Adam Honek | last post: by
5 posts views Thread by Ben R. | last post: by
1 post views Thread by Alan T | last post: by
2 posts views Thread by andylotus | last post: by
3 posts views Thread by =?Utf-8?B?bGpsZXZlbmQy?= | last post: by
reply views Thread by rosydwin | last post: by

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.