Click here to Skip to main content
16,005,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Opening classic asp page in Asp.net 2.0 Pin
Nitin198122-Sep-06 0:51
Nitin198122-Sep-06 0:51 
GeneralRe: Opening classic asp page in Asp.net 2.0 Pin
Pete O'Hanlon22-Sep-06 2:01
mvePete O'Hanlon22-Sep-06 2:01 
GeneralRe: Opening classic asp page in Asp.net 2.0 Pin
Nitin198122-Sep-06 2:25
Nitin198122-Sep-06 2:25 
AnswerRe: Opening classic asp page in Asp.net 2.0 Pin
Guffa22-Sep-06 7:33
Guffa22-Sep-06 7:33 
GeneralRe: Opening classic asp page in Asp.net 2.0 Pin
Nitin198125-Sep-06 21:38
Nitin198125-Sep-06 21:38 
QuestionPopup message in AddButton (Event Generation) Pin
talk2prabir@yahoo.co.in21-Sep-06 20:45
talk2prabir@yahoo.co.in21-Sep-06 20:45 
AnswerRe: Popup message in AddButton (Event Generation) Pin
sdaniel_cst21-Sep-06 20:52
sdaniel_cst21-Sep-06 20:52 
AnswerRe: Popup message in AddButton (Event Generation) Pin
Stephan Pilz21-Sep-06 20:53
Stephan Pilz21-Sep-06 20:53 
Hello Prabir,

the Messagebox is easy. Add following code in your Button-Handler:

If Not Me.IsStartupScriptRegistered("MsgBox") Then
    dim sTemp as String = ""
    sTemp = "<script language=JavaScript>" & vbCrLf
    sTemp += "alert ('Do you want add another record?);" & vbCrLf
    sTemp += "</script>" & vbCrLf
    Me.RegisterStartupScript("MsgBox", sTemp)
End If


If the user should take a choice replace the alert-call through a confirm-call. If this returns true the OK-Button was pressed.

Regards
Stephan

                   \\\|///
                 \\  - -  //
                  (  @ @  )
+---------------oOOo-(_)-oOOo-----------------+
| Stephan Pilz   stephan.pilz@stephan-pilz.de |
|                <a href=www.stephan-pilz.de>www.stephan-pilz.de</a>          |
|                ICQ#: 127823481              |
+-----------------------Oooo------------------+
                 oooO   (   )
                (   )    ) /
                 \ (    (_/
                  \_)

AnswerRe: Popup message in AddButton (Event Generation) Pin
_AK_21-Sep-06 20:53
_AK_21-Sep-06 20:53 
GeneralPopup message in AddButton (Event Generation) Pin
talk2prabir@yahoo.co.in21-Sep-06 21:04
talk2prabir@yahoo.co.in21-Sep-06 21:04 
QuestionCListCtrl Pin
Susanmat21-Sep-06 20:00
Susanmat21-Sep-06 20:00 
AnswerRe: CListCtrl Pin
Kschuler22-Sep-06 8:31
Kschuler22-Sep-06 8:31 
QuestionRegarding dataset Pin
sdaniel_cst21-Sep-06 19:22
sdaniel_cst21-Sep-06 19:22 
AnswerRe: Regarding dataset Pin
minhpc_bk21-Sep-06 19:54
minhpc_bk21-Sep-06 19:54 
AnswerRe: Regarding dataset Pin
Jay_se21-Sep-06 20:11
Jay_se21-Sep-06 20:11 
Questionhow to maintain scroll position for my page in ASP.NET 2 Pin
Mohan G21-Sep-06 19:04
Mohan G21-Sep-06 19:04 
AnswerRe: how to maintain scroll position for my page in ASP.NET 2 Pin
minhpc_bk21-Sep-06 19:48
minhpc_bk21-Sep-06 19:48 
QuestionHow to uncheck all the checkbox at one click? Pin
cheeken2u21-Sep-06 17:11
cheeken2u21-Sep-06 17:11 
AnswerRe: How to uncheck all the checkbox at one click? Pin
Christian Graus21-Sep-06 17:45
protectorChristian Graus21-Sep-06 17:45 
GeneralRe: How to uncheck all the checkbox at one click? Pin
cheeken2u21-Sep-06 18:11
cheeken2u21-Sep-06 18:11 
GeneralRe: How to uncheck all the checkbox at one click? Pin
_AK_21-Sep-06 18:16
_AK_21-Sep-06 18:16 
GeneralRe: How to uncheck all the checkbox at one click? Pin
Christian Graus21-Sep-06 18:19
protectorChristian Graus21-Sep-06 18:19 
GeneralRe: How to uncheck all the checkbox at one click? Pin
cheeken2u21-Sep-06 18:57
cheeken2u21-Sep-06 18:57 
QuestionHow to reload the same page? Pin
cheeken2u21-Sep-06 16:38
cheeken2u21-Sep-06 16:38 
AnswerRe: How to reload the same page? Pin
_AK_21-Sep-06 18:09
_AK_21-Sep-06 18:09 

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.