Click here to Skip to main content
15,881,742 members
Home / Discussions / WPF
   

WPF

 
QuestionTabcontrol layout with Prism Pin
Abhinav S17-Apr-09 20:00
Abhinav S17-Apr-09 20:00 
QuestionUnselect text in textbox on textbox lostfocus event. Pin
pc.rajesh.singh17-Apr-09 4:45
pc.rajesh.singh17-Apr-09 4:45 
AnswerRe: Unselect text in textbox on textbox lostfocus event. Pin
sivaddrahcir20-Apr-09 7:26
sivaddrahcir20-Apr-09 7:26 
GeneralRe: Unselect text in textbox on textbox lostfocus event. Pin
pc.rajesh.singh23-Apr-09 23:53
pc.rajesh.singh23-Apr-09 23:53 
GeneralRe: Unselect text in textbox on textbox lostfocus event. Pin
sivaddrahcir24-Apr-09 7:58
sivaddrahcir24-Apr-09 7:58 
QuestionHow to download file from a physical location in Silverlight? urgent......... Pin
salon17-Apr-09 3:49
salon17-Apr-09 3:49 
AnswerRe: How to download file from a physical location in Silverlight? urgent......... Pin
Mark Salsbery17-Apr-09 8:42
Mark Salsbery17-Apr-09 8:42 
AnswerRe: How to download file from a physical location in Silverlight? urgent......... Pin
Braulio Dez17-Apr-09 9:01
Braulio Dez17-Apr-09 9:01 
Another option (not elegant but works) could be to perform a ping pong using services:

- Send your file to the server again using a WCF service, store it in session.
- Call a javascript method from SL that will make a request to a custom HTTP hanlder.
- That custom HTTP hanlder would return the file that was in session as an attachment (first time the nasty bar from IE would appear... you are going to download something...).

In my application I needed to export a DB Diagram to JPEG and to perform an export as well to an HTML report, I used that approach (ping pong Smile | :) ), I could set an attribute (attachment) and IE would ask me to save the JPEG as a file.

If you want to take a look at how it behaves:

http://www.dbschemaeditor.com

HTH Braulio

/// -------------------------
     Braulio Díez

     DBSchemaEditor.com
     Free Silverlight based DB Schema Modeling Tool
/// -------------------------

GeneralRe: How to download file from a physical location in Silverlight? urgent......... Pin
salon18-Apr-09 0:26
salon18-Apr-09 0:26 
GeneralRe: How to download file from a physical location in Silverlight? urgent......... Pin
Braulio Dez18-Apr-09 9:06
Braulio Dez18-Apr-09 9:06 
Questionapp.config --> xaml? [modified] Pin
devvvy16-Apr-09 23:55
devvvy16-Apr-09 23:55 
AnswerRe: app.config --> xaml? Pin
Pete O'Hanlon17-Apr-09 2:13
mvePete O'Hanlon17-Apr-09 2:13 
GeneralRe: app.config --> xaml? Pin
devvvy17-Apr-09 5:58
devvvy17-Apr-09 5:58 
GeneralRe: app.config --> xaml? Pin
Pete O'Hanlon17-Apr-09 9:17
mvePete O'Hanlon17-Apr-09 9:17 
GeneralRe: app.config --> xaml? Pin
devvvy17-Apr-09 14:36
devvvy17-Apr-09 14:36 
GeneralRe: app.config --> xaml? Pin
Pete O'Hanlon19-Apr-09 8:24
mvePete O'Hanlon19-Apr-09 8:24 
GeneralRe: app.config --> xaml? Pin
Jammer17-Apr-09 23:23
Jammer17-Apr-09 23:23 
Questionsame Xaml to port a WPF app to Silverlight? Pin
devvvy16-Apr-09 23:50
devvvy16-Apr-09 23:50 
AnswerRe: same Xaml to port a WPF app to Silverlight? Pin
Mark Salsbery17-Apr-09 8:47
Mark Salsbery17-Apr-09 8:47 
Questionhosting problem from local host? Pin
Piyush Vardhan Singh16-Apr-09 23:47
Piyush Vardhan Singh16-Apr-09 23:47 
AnswerRe: hosting problem from local host? Pin
Mark Salsbery17-Apr-09 8:50
Mark Salsbery17-Apr-09 8:50 
GeneralRe: hosting problem from local host? Pin
Piyush Vardhan Singh19-Apr-09 21:09
Piyush Vardhan Singh19-Apr-09 21:09 
GeneralRe: hosting problem from local host? Pin
Mark Salsbery20-Apr-09 5:46
Mark Salsbery20-Apr-09 5:46 
QuestionTreeview in expander Pin
Ravi Mori16-Apr-09 20:01
Ravi Mori16-Apr-09 20:01 
AnswerRe: Treeview in expander Pin
pc.rajesh.singh17-Apr-09 5:03
pc.rajesh.singh17-Apr-09 5:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.