Click here to Skip to main content
15,905,028 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Question.Net Framework 3.0 and ASP.net..! Pin
wEb GuRu...30-May-07 21:57
wEb GuRu...30-May-07 21:57 
AnswerRe: .Net Framework 3.0 and ASP.net..! Pin
Christian Graus30-May-07 22:14
protectorChristian Graus30-May-07 22:14 
AnswerRe: .Net Framework 3.0 and ASP.net..! Pin
szukuro30-May-07 22:35
szukuro30-May-07 22:35 
QuestionCan we add Click Event for a Label Control? Pin
Venkatesh Mookkan30-May-07 21:31
Venkatesh Mookkan30-May-07 21:31 
AnswerRe: Can we add Click Event for a Label Control? Pin
szukuro30-May-07 22:29
szukuro30-May-07 22:29 
GeneralRe: Can we add Click Event for a Label Control? Pin
Venkatesh Mookkan30-May-07 22:42
Venkatesh Mookkan30-May-07 22:42 
GeneralRe: Can we add Click Event for a Label Control? Pin
szukuro30-May-07 23:10
szukuro30-May-07 23:10 
GeneralRe: Can we add Click Event for a Label Control? Pin
Venkatesh Mookkan30-May-07 23:31
Venkatesh Mookkan30-May-07 23:31 
I am not saying about the Controls..

I am talking about the "Page".


You can try my code:

<DefaultProperty("Text"), ToolboxData("<{0}:EglLabel runat=server></{0}:EglLabel>"), _<br />
    Description("Eagle Label")> _<br />
    Public Class EglLabel<br />
        Inherits Label<br />
        Implements IPostBackEventHandler<br />
<br />
<br />
        Public Event Click As EventHandler<br />
<br />
<br />
        Protected Overridable Sub OnClick(ByVal e As EventArgs)<br />
            RaiseEvent Click(Me, e)<br />
        End Sub<br />
<br />
        Public Sub RaisePostBackEvent(ByVal eventArgument As String) Implements System.Web.UI.IPostBackEventHandler.RaisePostBackEvent<br />
            OnClick(EventArgs.Empty)<br />
        End Sub<br />
<br />
        Public Sub New()<br />
            Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(Me, ClientID))<br />
        End Sub<br />
    End Class



Regards,
Venkatesh Mookkan.
Software Engineer, India
My: Website | Yahoo Group | Blog Spot

GeneralRe: Can we add Click Event for a Label Control? Pin
szukuro31-May-07 0:06
szukuro31-May-07 0:06 
GeneralRe: Can we add Click Event for a Label Control? Pin
Venkatesh Mookkan31-May-07 0:12
Venkatesh Mookkan31-May-07 0:12 
GeneralRe: Can we add Click Event for a Label Control? Pin
Sandeep Akhare31-May-07 1:14
Sandeep Akhare31-May-07 1:14 
GeneralRe: Can we add Click Event for a Label Control? Pin
Venkatesh Mookkan31-May-07 2:14
Venkatesh Mookkan31-May-07 2:14 
GeneralRe: Can we add Click Event for a Label Control? Pin
Sandeep Akhare31-May-07 2:30
Sandeep Akhare31-May-07 2:30 
GeneralRe: Can we add Click Event for a Label Control? Pin
Venkatesh Mookkan31-May-07 5:57
Venkatesh Mookkan31-May-07 5:57 
Questionhow to get the particular column data in a datagrid when i check the checkbox in one of the columns of the grid Pin
M.Ramesh30-May-07 21:29
M.Ramesh30-May-07 21:29 
AnswerRe: how to get the particular column data in a datagrid when i check the checkbox in one of the columns of the grid Pin
Venkatesh Mookkan30-May-07 21:36
Venkatesh Mookkan30-May-07 21:36 
GeneralRe: how to get the particular column data in a datagrid when i check the checkbox in one of the columns of the grid Pin
M.Ramesh30-May-07 21:51
M.Ramesh30-May-07 21:51 
GeneralRe: how to get the particular column data in a datagrid when i check the checkbox in one of the columns of the grid Pin
Venkatesh Mookkan30-May-07 21:55
Venkatesh Mookkan30-May-07 21:55 
Questioncan we bind data for datagrid in javascript Pin
M.Ramesh30-May-07 21:19
M.Ramesh30-May-07 21:19 
AnswerRe: can we bind data for datagrid in javascript Pin
Venkatesh Mookkan30-May-07 21:43
Venkatesh Mookkan30-May-07 21:43 
GeneralRe: can we bind data for datagrid in javascript Pin
RichardGrimmer31-May-07 4:56
RichardGrimmer31-May-07 4:56 
GeneralRe: can we bind data for datagrid in javascript Pin
Venkatesh Mookkan31-May-07 5:52
Venkatesh Mookkan31-May-07 5:52 
GeneralRe: can we bind data for datagrid in javascript Pin
RichardGrimmer31-May-07 9:24
RichardGrimmer31-May-07 9:24 
GeneralRe: can we bind data for datagrid in javascript Pin
Venkatesh Mookkan31-May-07 14:15
Venkatesh Mookkan31-May-07 14:15 
AnswerRe: can we bind data for datagrid in javascript Pin
Christian Graus30-May-07 22:15
protectorChristian Graus30-May-07 22:15 

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.