Select to view content in your preferred language

Silverlight Print Sample:Usage

898
3
Jump to solution
04-21-2014 06:53 PM
HushamHassan
Regular Contributor
Hi,
could you please put me in the right direction,  is it possible to use silverlight 3.0 Print sample in a separate xaml page and link it Main XAML page, because my Mainpage XAML is getting bigger.
if its possible could you mention how to do that.

Regards
0 Kudos
1 Solution

Accepted Solutions
AsserSwelam1
Deactivated User
Hi,

Yes sure, you can create a silverlight user control and add your printing code to it and then use it in the MainPage.xaml.

Here is a link for another printing sample http://www.arcgis.com/home/item.html?id=e361c2cc69784fcba34358d0458f66e3 conatin user controls and custom controls. Download link http://www.arcgis.com/sharing/rest/content/items/5d1b3c7e56a74466b5eea343ff92eca0/data

Also attached for you a simple code shows how to create a user control and link it to the MainPage.xaml

Thanks,
Asser

View solution in original post

0 Kudos
3 Replies
AsserSwelam1
Deactivated User
Hi,

Yes sure, you can create a silverlight user control and add your printing code to it and then use it in the MainPage.xaml.

Here is a link for another printing sample http://www.arcgis.com/home/item.html?id=e361c2cc69784fcba34358d0458f66e3 conatin user controls and custom controls. Download link http://www.arcgis.com/sharing/rest/content/items/5d1b3c7e56a74466b5eea343ff92eca0/data

Also attached for you a simple code shows how to create a user control and link it to the MainPage.xaml

Thanks,
Asser
0 Kudos
HushamHassan
Regular Contributor
Asser,  Many thanks,   the link you provide is for SL5, I am using SL4 with API 3.0,  I am getting some error regarding Busy Indicator.
Your example is helpful.
Thank you again for your time and help.

Regards
0 Kudos
HushamHassan
Regular Contributor
Hi,
Thank you I solved it-  it's was the dll references.

Many thanks
0 Kudos