Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

flash - How to implement javascript blocking modal dialog in with DHTML -


i have website flash image viewer. once user clicks on flash button, need give confirmation modal dialog before saving file , if user clicks on ok have pop file download dialog.

confirmation dialog in flash not option me. have invoke js function pop confirmation.

within site, custom dhtml confirmation modal dialog used , has 2 js callback functions 1 "ok" , other "cancel" button click event handers. have use modal dialog need.

with flash player 10 security features, unable pop flash file download dialog via javascript.

simple js confirm dialog works me can return user's action calling js function flash js confirm dialog blocking dialog.

how can implement same blocking type custom confirm dialog ?

you need wrap popup div.
make div top element in page, eg: using z-index.
, give fixed position height , width of 100%.
can leave transparent or give effect using semi-transparent colors.

if have select elements in page, go through div.
avoid problem, can put behind div transparent iframe same size.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -