Click here to Skip to main content
15,890,336 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Image not displaying Pin
.NET- India 18-Mar-08 1:27
.NET- India 18-Mar-08 1:27 
QuestionIE Bug, Caching and Downloading ?? Pin
Vanamaindia18-Mar-08 0:30
Vanamaindia18-Mar-08 0:30 
Generalstart - run sql server Pin
eyeseetee17-Mar-08 23:45
eyeseetee17-Mar-08 23:45 
GeneralRe: start - run sql server Pin
sumit703418-Mar-08 0:16
sumit703418-Mar-08 0:16 
QuestionRe: start - run sql server Pin
EvilInside18-Mar-08 1:47
EvilInside18-Mar-08 1:47 
QuestionPartialCaching, Session Variables and User Control Pin
joshc17-Mar-08 23:18
joshc17-Mar-08 23:18 
GeneralRe: PartialCaching, Session Variables and User Control Pin
eyeseetee17-Mar-08 23:34
eyeseetee17-Mar-08 23:34 
QuestionEvent in Custom web control? Pin
maryam.saboor17-Mar-08 22:03
professionalmaryam.saboor17-Mar-08 22:03 
Hi every one!
I'm making a composite web custom control which includes an ImageButton so I want to access it's Click event in design mode in property. I have some code like below in my program and it works! but when in a web page I use the event method both of my control event method in web pge and my control event method in the control library class run, but I want some thing like overriding it!
thanks for any help
here is the code:

//in my constructor:
_imageButton.Click += new ImageClickEventHandler(_imageButton_Click)

//and then:
public virtual void _imageButton_Click(object sender, ImageClickEventArgs e)
{
if (Convert.ToInt32(_rowID)!= -1)
{
_textContainer.Text = _tableAdapter.GetData()[Convert.ToInt32(_rowID)].FDtext;
}
}

//so I defined my event like this:
[Browsable(true)]
public event ImageClickEventHandler TitleClicked2
{
add
{
_imageButton.Click += value;
}
remove
{
_imageButton.Click -= value;
}
}
AnswerRe: Event in Custom web control? Pin
eyeseetee17-Mar-08 23:05
eyeseetee17-Mar-08 23:05 
GeneralSending mail and an error Pin
mehrdadc4817-Mar-08 21:53
mehrdadc4817-Mar-08 21:53 
GeneralRe: Sending mail and an error Pin
eyeseetee17-Mar-08 22:41
eyeseetee17-Mar-08 22:41 
GeneralRe: Sending mail and an error Pin
Christian Graus17-Mar-08 22:43
protectorChristian Graus17-Mar-08 22:43 
AnswerRe: Sending mail and an error Pin
EvilInside17-Mar-08 22:44
EvilInside17-Mar-08 22:44 
Questionhow to find substring count occurs in a string in asp.net Pin
$unil Dhiman17-Mar-08 21:52
$unil Dhiman17-Mar-08 21:52 
GeneralRe: how to find substring count occurs in a string in asp.net Pin
eyeseetee17-Mar-08 22:45
eyeseetee17-Mar-08 22:45 
GeneralRe: how to find substring count occurs in a string in asp.net Pin
$unil Dhiman18-Mar-08 0:52
$unil Dhiman18-Mar-08 0:52 
GeneralRe: how to find substring count occurs in a string in asp.net Pin
Christian Graus17-Mar-08 22:47
protectorChristian Graus17-Mar-08 22:47 
GeneralProblem in binding Menu with sitemap Pin
Deepak Nigam17-Mar-08 20:54
Deepak Nigam17-Mar-08 20:54 
GeneralRe: Problem in binding Menu with sitemap Pin
eyeseetee17-Mar-08 22:45
eyeseetee17-Mar-08 22:45 
GeneralRemember me Cookie Pin
nour12317-Mar-08 20:52
nour12317-Mar-08 20:52 
GeneralRe: Remember me Cookie Pin
sumit703417-Mar-08 21:21
sumit703417-Mar-08 21:21 
GeneralRe: Remember me Cookie Pin
nour12317-Mar-08 22:39
nour12317-Mar-08 22:39 
GeneralRe: Remember me Cookie Pin
eyeseetee17-Mar-08 22:54
eyeseetee17-Mar-08 22:54 
GeneralRe: Remember me Cookie Pin
nour12318-Mar-08 6:49
nour12318-Mar-08 6:49 
Questiondisplay msexcel in panel Pin
iswaryaramkumar17-Mar-08 20:09
iswaryaramkumar17-Mar-08 20: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.