Click here to Skip to main content
15,904,153 members
Home / Discussions / WPF
   

WPF

 
Questionhow can i read files from my silverlight 2 web folder Pin
ahmedhassan9611-Nov-08 12:41
ahmedhassan9611-Nov-08 12:41 
AnswerRe: how can i read files from my silverlight 2 web folder Pin
lneir12-Nov-08 18:42
lneir12-Nov-08 18:42 
QuestionWPF-Callable Folder Browser Source Code [modified] Pin
Mark Salsbery11-Nov-08 11:40
Mark Salsbery11-Nov-08 11:40 
AnswerRe: WPF-Callable Folder Browser Source Code Pin
Pete O'Hanlon11-Nov-08 11:44
mvePete O'Hanlon11-Nov-08 11:44 
GeneralRe: WPF-Callable Folder Browser Source Code Pin
Mark Salsbery11-Nov-08 11:55
Mark Salsbery11-Nov-08 11:55 
AnswerRe: WPF-Callable Folder Browser Source Code Pin
Jammer12-Nov-08 0:52
Jammer12-Nov-08 0:52 
GeneralRe: WPF-Callable Folder Browser Source Code Pin
Mark Salsbery12-Nov-08 8:41
Mark Salsbery12-Nov-08 8:41 
QuestionAdding events to objects in application.resources Pin
Rferj11-Nov-08 10:22
Rferj11-Nov-08 10:22 
Hi!

I have defined a simple template to use on all windows of an application. At the beginning I wrote the style as a window resource, as shown below:

<Window.Resources>
    <DataTemplate x:Key="gridDelete">
        <Border Padding="2">
            <Button x:Name="imgDelete" Click="imgDelete_Click"  Background="Transparent" Cursor="Hand"/>
        </Border>
    </DataTemplate>
</Window.Resources>

In order to avoid copying this template on all the windows, I moved it to an application resource, but then I keep receiving errors stating that the imgDelete_Click can't be found. How can I define an application level template like this, and add events to the button only on the windows?

Best regards,
rferj

AnswerRe: Adding events to objects in application.resources Pin
ColinM12311-Nov-08 11:19
ColinM12311-Nov-08 11:19 
GeneralUnable to upload file more than 35 kb using WCF Web service Pin
Vipul Mehta11-Nov-08 3:59
Vipul Mehta11-Nov-08 3:59 
QuestionRunning a method in secondary second of a storyboard ? Pin
Mohammad Dayyan10-Nov-08 22:51
Mohammad Dayyan10-Nov-08 22:51 
AnswerRe: Running a method in secondary second of a storyboard ? Pin
lneir12-Nov-08 19:09
lneir12-Nov-08 19:09 
GeneralRe: Running a method in secondary second of a storyboard ? Pin
Mohammad Dayyan13-Nov-08 8:31
Mohammad Dayyan13-Nov-08 8:31 
QuestionDecimal separator and textboxes Pin
Gian10-Nov-08 8:14
Gian10-Nov-08 8:14 
AnswerRe: Decimal separator and textboxes Pin
Thomas Stockwell11-Nov-08 3:07
professionalThomas Stockwell11-Nov-08 3:07 
QuestionIs there a FolderBrowserDialog in WPF ? Pin
Mohammad Dayyan10-Nov-08 6:14
Mohammad Dayyan10-Nov-08 6:14 
AnswerRe: Is there a FolderBrowserDialog in WPF ? Pin
Mark Salsbery10-Nov-08 7:09
Mark Salsbery10-Nov-08 7:09 
GeneralRe: Is there a FolderBrowserDialog in WPF ? Pin
Mohammad Dayyan10-Nov-08 7:28
Mohammad Dayyan10-Nov-08 7:28 
GeneralRe: Is there a FolderBrowserDialog in WPF ? Pin
Pete O'Hanlon10-Nov-08 11:52
mvePete O'Hanlon10-Nov-08 11:52 
GeneralRe: Is there a FolderBrowserDialog in WPF ? Pin
Mark Salsbery10-Nov-08 16:08
Mark Salsbery10-Nov-08 16:08 
GeneralRe: Is there a FolderBrowserDialog in WPF ? Pin
Pete O'Hanlon10-Nov-08 22:21
mvePete O'Hanlon10-Nov-08 22:21 
GeneralRe: Is there a FolderBrowserDialog in WPF ? Pin
Jammer11-Nov-08 1:12
Jammer11-Nov-08 1:12 
GeneralRe: Is there a FolderBrowserDialog in WPF ? Pin
Pete O'Hanlon11-Nov-08 2:42
mvePete O'Hanlon11-Nov-08 2:42 
GeneralRe: Is there a FolderBrowserDialog in WPF ? Pin
Mark Salsbery11-Nov-08 7:22
Mark Salsbery11-Nov-08 7:22 
GeneralRe: Is there a FolderBrowserDialog in WPF ? Pin
Pete O'Hanlon11-Nov-08 11:20
mvePete O'Hanlon11-Nov-08 11:20 

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.