Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2008

Tip: Looking for answers? Try searching our database.

RoutedUICommand tricks & tips

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hbrower - 29 Feb 2008 02:56 GMT
RoutedUICommands are quite cool.  However, I'm struggling with a few issues.
1) the command stops at the first ui element that handles it.  Can I
actually override that behavior and proprogate it to all elements that want
to hear about the command.
2) Can I get data about where it happened?  For example, if I had a grid
with an 'insert row' command, I need to know where to insert a new row.  
Though I haven't seen anything that provides that context.  Is there a way to
walk the current focus chain up and down the ui stack?  Or is there something
easier?
Alvin Bruney [ASP.NET MVP] - 02 Mar 2008 01:59 GMT
Nothing stops you from 'multi-casting' commands. The command args contain
the data, you can examine those depending on how you have wired up your
commands.

Signature

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------

> RoutedUICommands are quite cool.  However, I'm struggling with a few
> issues.
[quoted text clipped - 9 lines]
> something
> easier?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.