Click here to Skip to main content
15,886,693 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionwhat is button in asp.net? Pin
awinash kr26-Aug-10 18:27
awinash kr26-Aug-10 18:27 
AnswerRe: what is button in asp.net? Pin
Yusuf26-Aug-10 18:54
Yusuf26-Aug-10 18:54 
GeneralRe: what is button in asp.net? Pin
awinash kr26-Aug-10 19:25
awinash kr26-Aug-10 19:25 
GeneralRe: what is button in asp.net? Pin
R. Giskard Reventlov26-Aug-10 20:44
R. Giskard Reventlov26-Aug-10 20:44 
AnswerRe: what is button in asp.net? Pin
m@dhu26-Aug-10 18:58
m@dhu26-Aug-10 18:58 
AnswerRe: what is button in asp.net? Pin
raju melveetilpurayil26-Aug-10 21:43
professionalraju melveetilpurayil26-Aug-10 21:43 
AnswerRe: what is button in asp.net? Pin
Sandesh M Patil27-Aug-10 0:49
Sandesh M Patil27-Aug-10 0:49 
Questionalert message box return blank page Pin
C#Coudou26-Aug-10 16:29
C#Coudou26-Aug-10 16:29 
hi,

i have a problem, why is it that the alert message returning a blank page behind.

here is my function;
 Public Sub Alert(ByVal argMessage As String)
        sb = New StringBuilder
        sb.Append("<script>")
        sb.Append("alert('")
        sb.Append(argMessage)
        sb.Append("');")
        sb.Append("</script>")
        <big>Page.ClientScript.RegisterStartupScript(Me.GetType(), "Message", sb.ToString())</big>    
-- I've tried to change this into RegisterClientScriptBlock , but its the same result.
End Sub


 Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click

	.... my query here.....

       If ds.Tables(0).Rows.Count = 0 Then
                Me.Alert("No data found.pease search again.")
                Return  --> ' i tried to remove this, but its the same result.
        End If

End Sub

C# コードMicrosoft End User
2000-2008




「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」


AnswerRe: alert message box return blank page Pin
Prosanta Kundu online26-Aug-10 18:14
Prosanta Kundu online26-Aug-10 18:14 
QuestionProble with list boxes and update progress control Pin
AndyASPVB26-Aug-10 10:22
AndyASPVB26-Aug-10 10:22 
QuestionWebsite Automated Testing Tool Pin
Patrick Skelton26-Aug-10 8:48
Patrick Skelton26-Aug-10 8:48 
Questionshortcut key for current date in textbox Pin
janetb9926-Aug-10 7:50
janetb9926-Aug-10 7:50 
AnswerRe: shortcut key for current date in textbox Pin
Yusuf26-Aug-10 9:32
Yusuf26-Aug-10 9:32 
GeneralRe: shortcut key for current date in textbox Pin
janetb9926-Aug-10 10:34
janetb9926-Aug-10 10:34 
GeneralRe: shortcut key for current date in textbox Pin
Yusuf26-Aug-10 11:00
Yusuf26-Aug-10 11:00 
GeneralRe: shortcut key for current date in textbox Pin
janetb9927-Aug-10 4:28
janetb9927-Aug-10 4:28 
AnswerRe: shortcut key for current date in textbox Pin
NeverHeardOfMe26-Aug-10 12:00
NeverHeardOfMe26-Aug-10 12:00 
GeneralRe: shortcut key for current date in textbox Pin
janetb9927-Aug-10 4:29
janetb9927-Aug-10 4:29 
GeneralRe: shortcut key for current date in textbox Pin
NeverHeardOfMe27-Aug-10 6:06
NeverHeardOfMe27-Aug-10 6:06 
GeneralRe: shortcut key for current date in textbox Pin
janetb999-Sep-10 5:16
janetb999-Sep-10 5:16 
GeneralRe: shortcut key for current date in textbox Pin
janetb999-Sep-10 5:19
janetb999-Sep-10 5:19 
GeneralRe: shortcut key for current date in textbox Pin
janetb999-Sep-10 5:33
janetb999-Sep-10 5:33 
GeneralRe: shortcut key for current date in textbox Pin
NeverHeardOfMe9-Sep-10 6:35
NeverHeardOfMe9-Sep-10 6:35 
QuestionMicrosoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer issue Pin
Sudhanshu Mani Tripathi26-Aug-10 2:49
Sudhanshu Mani Tripathi26-Aug-10 2:49 
AnswerRe: Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.Cryptographer issue Pin
T M Gray26-Aug-10 5:37
T M Gray26-Aug-10 5:37 

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.