Click here to Skip to main content
15,920,896 members
Home / Discussions / C#
   

C#

 
GeneralRe: popup a dialog when change drop down list selection Pin
Heath Stewart13-May-04 2:26
protectorHeath Stewart13-May-04 2:26 
Look at the rendered output when the AutoPostBack is set to true. There should be an attribute there that you could "override" in such a way.

Another way in both cases is to let ASP.NET do it's job and post back to the server, then use RegisterStartupSCript to include inline javascript toward the end of the page (before the single server-side form's closing tag) that pops up a window. When you start overriding event attributes, you take a big risk at breaking the ASP.NET pipeline (which is why - as I mentioned before - you must make sure you call __doPostBack with the right params in your javascript function).

 

Microsoft MVP, Visual C#
My Articles
Generalsave file dialog box in web application Pin
Marveyles10-May-04 15:48
Marveyles10-May-04 15:48 
GeneralRe: save file dialog box in web application Pin
TigerNinja_10-May-04 18:47
TigerNinja_10-May-04 18:47 
GeneralRe: save file dialog box in web application Pin
Marveyles10-May-04 18:57
Marveyles10-May-04 18:57 
GeneralRe: save file dialog box in web application Pin
Heath Stewart11-May-04 3:23
protectorHeath Stewart11-May-04 3:23 
QuestionVideo Editing Component? Pin
Tony Archer10-May-04 10:36
Tony Archer10-May-04 10:36 
AnswerRe: Video Editing Component? Pin
Roman Rodov10-May-04 14:08
Roman Rodov10-May-04 14:08 
GeneralRe: Video Editing Component? Pin
Tony Archer10-May-04 16:29
Tony Archer10-May-04 16:29 
GeneralRe: Video Editing Component? Pin
osto10-May-04 16:54
osto10-May-04 16:54 
GeneralRe: Video Editing Component? Pin
Kolich11-May-04 1:09
Kolich11-May-04 1:09 
GeneralRe: Video Editing Component? Pin
Tony Archer11-May-04 8:20
Tony Archer11-May-04 8:20 
GeneralRe: Video Editing Component? Pin
leppie11-May-04 7:18
leppie11-May-04 7:18 
GeneralRe: Video Editing Component? Pin
Tony Archer12-May-04 0:31
Tony Archer12-May-04 0:31 
QuestionHow Know if an control has added an event Pin
machocr10-May-04 10:12
machocr10-May-04 10:12 
AnswerRe: How Know if an control has added an event Pin
Heath Stewart10-May-04 10:41
protectorHeath Stewart10-May-04 10:41 
GeneralSending data over POST Pin
CWIZO10-May-04 9:21
CWIZO10-May-04 9:21 
GeneralRe: Sending data over POST Pin
Heath Stewart10-May-04 9:45
protectorHeath Stewart10-May-04 9:45 
GeneralRe: Sending data over POST Pin
CWIZO10-May-04 10:24
CWIZO10-May-04 10:24 
GeneralRe: Sending data over POST Pin
Heath Stewart10-May-04 10:46
protectorHeath Stewart10-May-04 10:46 
GeneralDropDownList - Behavioral Question. Pin
stan2810-May-04 7:43
stan2810-May-04 7:43 
GeneralRe: DropDownList - Behavioral Question. Pin
Heath Stewart10-May-04 9:03
protectorHeath Stewart10-May-04 9:03 
Generaltoolbar icon Pin
elena1234510-May-04 6:16
elena1234510-May-04 6:16 
GeneralRe: toolbar icon Pin
Heath Stewart10-May-04 6:49
protectorHeath Stewart10-May-04 6:49 
GeneralRe: toolbar icon Pin
elena1234510-May-04 10:08
elena1234510-May-04 10:08 
GeneralRe: toolbar icon Pin
Heath Stewart10-May-04 10:44
protectorHeath Stewart10-May-04 10:44 

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.