Click here to Skip to main content
15,888,816 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: hi frens..pls do help me.. Pin
leckey17-Aug-07 3:07
leckey17-Aug-07 3:07 
QuestionIIS PROBLEM Pin
methhoo16-Aug-07 13:29
methhoo16-Aug-07 13:29 
AnswerRe: IIS PROBLEM Pin
Guffa16-Aug-07 14:57
Guffa16-Aug-07 14:57 
QuestionSession not available in VirtualPathProvider Pin
walkTheNet16-Aug-07 12:04
walkTheNet16-Aug-07 12:04 
AnswerRe: Session not available in VirtualPathProvider Pin
peacefulmember16-Aug-07 15:26
peacefulmember16-Aug-07 15:26 
GeneralRe: Session not available in VirtualPathProvider Pin
walkTheNet17-Aug-07 5:43
walkTheNet17-Aug-07 5:43 
GeneralRe: Session not available in VirtualPathProvider Pin
walkTheNet17-Aug-07 7:15
walkTheNet17-Aug-07 7:15 
QuestionHi All, Pin
peacefulmember16-Aug-07 10:30
peacefulmember16-Aug-07 10:30 
I have user control with some standard HTML tags. On one of my HTML button tag I want to perform a javascript validation (a Hello test function for now).

I cannot figure out how can I trigger this function from with in my user control on this HTML button tag click event or on usecontrol's click event.
Thanks in advance.
Partial Class MyUserControl
    Inherits System.Web.UI.UserControl
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim js As StringBuilder = New StringBuilder()
        js.Append("<script language=JavaScript>")
        js.Append("function Hello() { ")
        js.Append(" alert ('Hello'); }")
        js.Append("</script>")

        If (Not Page.ClientScript.IsStartupScriptRegistered("MyScript")) Then
            Page.ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", js.ToString())
        End If
    End Sub
End Class

GeneralSubject : HTML tag and JavaScript validation in usercontrol Pin
peacefulmember16-Aug-07 10:33
peacefulmember16-Aug-07 10:33 
AnswerRe: Hi All, Pin
Christian Graus16-Aug-07 11:30
protectorChristian Graus16-Aug-07 11:30 
GeneralRe: Hi All, Pin
peacefulmember16-Aug-07 15:22
peacefulmember16-Aug-07 15:22 
AnswerRe: Hi All, Pin
N a v a n e e t h16-Aug-07 17:55
N a v a n e e t h16-Aug-07 17:55 
GeneralRe: Hi All, Pin
peacefulmember17-Aug-07 3:00
peacefulmember17-Aug-07 3:00 
GeneralRe: Hi All, Pin
peacefulmember17-Aug-07 3:09
peacefulmember17-Aug-07 3:09 
AnswerRe: Hi All, Pin
S A R I T H16-Aug-07 20:35
S A R I T H16-Aug-07 20:35 
QuestionI need help with sequel query with INNER/OUTER JOIN Pin
hurrem16-Aug-07 9:37
hurrem16-Aug-07 9:37 
AnswerRe: I need help with sequel query with INNER/OUTER JOIN Pin
Christian Graus16-Aug-07 11:32
protectorChristian Graus16-Aug-07 11:32 
GeneralRe: I need help with sequel query with INNER/OUTER JOIN Pin
hurrem16-Aug-07 12:35
hurrem16-Aug-07 12:35 
QuestionCompiler Error Message: CS0117 Pin
BigtimeOneEleven16-Aug-07 8:31
BigtimeOneEleven16-Aug-07 8:31 
AnswerRe: Compiler Error Message: CS0117 Pin
Christian Graus16-Aug-07 11:38
protectorChristian Graus16-Aug-07 11:38 
QuestionConnecting to SQL !!! Pin
mrkeivan16-Aug-07 7:11
mrkeivan16-Aug-07 7:11 
AnswerRe: Connecting to SQL !!! Pin
mani_iips16-Aug-07 7:16
mani_iips16-Aug-07 7:16 
GeneralRe: Connecting to SQL !!! Pin
mrkeivan16-Aug-07 7:26
mrkeivan16-Aug-07 7:26 
GeneralRe: Connecting to SQL !!! Pin
mani_iips16-Aug-07 7:29
mani_iips16-Aug-07 7:29 
QuestionCan Someone Explain this (ref Page Life Cycle) Pin
mani_iips16-Aug-07 7:08
mani_iips16-Aug-07 7:08 

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.