Click here to Skip to main content
16,004,969 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to open a word or excel document in my C# windows form Pin
Heath Stewart20-Dec-03 21:27
protectorHeath Stewart20-Dec-03 21:27 
GeneralRe: How to open a word or excel document in my C# windows form Pin
hazzem elrefai20-Dec-03 21:30
hazzem elrefai20-Dec-03 21:30 
GeneralRe: How to open a word or excel document in my C# windows form Pin
Heath Stewart20-Dec-03 21:32
protectorHeath Stewart20-Dec-03 21:32 
GeneralRe: How to open a word or excel document in my C# windows form Pin
hazzem elrefai20-Dec-03 21:43
hazzem elrefai20-Dec-03 21:43 
GeneralRe: How to open a word or excel document in my C# windows form Pin
nichen100121-Dec-03 14:26
nichen100121-Dec-03 14:26 
GeneralEvent Confusion Pin
Mike L.20-Dec-03 13:40
Mike L.20-Dec-03 13:40 
GeneralRe: Event Confusion Pin
Charlie Williams20-Dec-03 15:19
Charlie Williams20-Dec-03 15:19 
GeneralRe: Event Confusion Pin
Heath Stewart20-Dec-03 20:40
protectorHeath Stewart20-Dec-03 20:40 
There's one very important concept you're missing: ASP.NET code that is compiled or that uses server-side scripting (which is compiled at runtime) is SERVER-SIDE ONLY. HTTP - be nature - is non-stateful. Someone clicking a button or link in one frame will not automatically do something in another frame unless 1) you invoke a server-side event that must refresh the whole page, which involves some client-side javascript (or - if you dare - VBScript) to make sure the right frames are updated, or 2) uses client-side script like javascript to perform all actions.

This isn't a Windows Forms application where clicking a button could completely rearrange your application UI. Web Applications - built on HTTP - have one fundamental facet: a client requests data, and a server responds with data.

So, you have to invoke something that causes the client to request something in frame1 and force a refresh of frame2 all from the client-side! The server cannot push this data to the client (it's impossible when the clients are behind NATs or Web proxies anyway without a persistent connection, in which data can only be appended). This is the nature of HTTP, like it or not.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralOff Topic Pin
Jörgen Sigvardsson21-Dec-03 1:23
Jörgen Sigvardsson21-Dec-03 1:23 
GeneralRe: Off Topic Pin
Nick Parker21-Dec-03 5:08
protectorNick Parker21-Dec-03 5:08 
GeneralRe: Off Topic Pin
Heath Stewart21-Dec-03 11:54
protectorHeath Stewart21-Dec-03 11:54 
Generaldot net without dot net Pin
scar9820-Dec-03 11:34
scar9820-Dec-03 11:34 
GeneralRe: dot net without dot net Pin
Charlie Williams20-Dec-03 14:43
Charlie Williams20-Dec-03 14:43 
GeneralFinding string into another ... Pin
Hadi Rezaee20-Dec-03 11:02
Hadi Rezaee20-Dec-03 11:02 
GeneralRe: Finding string into another ... Pin
Nick Parker20-Dec-03 11:21
protectorNick Parker20-Dec-03 11:21 
GeneralRe: Finding string into another ... Pin
Hadi Rezaee20-Dec-03 21:49
Hadi Rezaee20-Dec-03 21:49 
GeneralDial-up connection help again Pin
heba_zien20-Dec-03 2:32
heba_zien20-Dec-03 2:32 
GeneralDial-up connection help again Pin
heba_zien20-Dec-03 2:32
heba_zien20-Dec-03 2:32 
Generalink + handwriting recognizer Pin
Roger Alsing20-Dec-03 1:16
Roger Alsing20-Dec-03 1:16 
GeneralRe: ink + handwriting recognizer Pin
Heath Stewart20-Dec-03 20:33
protectorHeath Stewart20-Dec-03 20:33 
Generalbitwise combination "and not" in c# Pin
TariqSalah19-Dec-03 22:20
TariqSalah19-Dec-03 22:20 
GeneralRe: bitwise combination "and not" in c# Pin
pankajdaga19-Dec-03 22:55
pankajdaga19-Dec-03 22:55 
GeneralRe: bitwise combination "and not" in c# Pin
TariqSalah20-Dec-03 2:15
TariqSalah20-Dec-03 2:15 
GeneralC# Events Problem Pin
debashish_shona_9919-Dec-03 20:46
debashish_shona_9919-Dec-03 20:46 
GeneralRe: C# Events Problem Pin
leppie19-Dec-03 21:24
leppie19-Dec-03 21:24 

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.