how i used createFromXaml method parametre as xaml file
but
createfromxaml method takes parameter xaml control syntax possible to send parameter xaml file name.
or if other way how cretae dynamic controls using xaml file .
here explain problem in detail:
have 1 main.xaml file in file creted 1 canvas in want show different xaml files , 2 buttons first , second .
when clicked on first button first.xaml file loaded in canvas ,and when clicked on second button second.xaml is loaded in canvas
if solution please let me know.
as chad says, don't pass filename. created simple example of here:
http://blogs.sqlxml.org/wpfe/downloadxaml/
xaml: http://blogs.sqlxml.org/wpfe/downloadxaml/download.xaml
js: http://blogs.sqlxml.org/wpfe/downloadxaml/eventhandlers.js
take @ that. uses downloader object load techy.xaml file part of wpfepad example (which uses downloader object). didn't add progress bar because didn't have time.
Archived Forums SA-SM > Silverlight (formerly WPF/E) Developer Issues
Comments
Post a Comment