Click here to Skip to main content
15,897,718 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to access c# dll from javascript? Pin
Abhijit Jana18-Dec-09 3:35
professionalAbhijit Jana18-Dec-09 3:35 
AnswerRe: how to access c# dll from javascript? Pin
Ennis Ray Lynch, Jr.18-Dec-09 3:56
Ennis Ray Lynch, Jr.18-Dec-09 3:56 
AnswerRe: how to access c# dll from javascript? Pin
Abhishek Sur18-Dec-09 4:19
professionalAbhishek Sur18-Dec-09 4:19 
QuestionSystem.Web.UI.ScriptManager Pin
Subin Mavunkal18-Dec-09 2:11
Subin Mavunkal18-Dec-09 2:11 
AnswerRe: System.Web.UI.ScriptManager Pin
Abhishek Sur18-Dec-09 3:28
professionalAbhishek Sur18-Dec-09 3:28 
Questiondownload doc or open pdf file in brower Pin
Pankaj Saha18-Dec-09 1:54
Pankaj Saha18-Dec-09 1:54 
AnswerRe: download doc or open pdf file in brower Pin
Pankaj Saha21-Dec-09 18:41
Pankaj Saha21-Dec-09 18:41 
QuestionEvent is not firing in custon control. Pin
Imran Khan Pathan18-Dec-09 1:50
Imran Khan Pathan18-Dec-09 1:50 
Hey, I have created following code. But button event is not firing. Please look at the code and tell me where I am doing wrong.
namespace immu.control
{
    [ToolboxData("<{0}:myControl runat=server></{0}:myControl>")]
    public class docControl : WebControl
    {

        public Button btn;

        protected override void CreateChildControls()
        {
            Panel pnl = new Panel();
            btn = new Button();
            btn.Text = "Click Me";
            btn.Click += new EventHandler(btn_Click);
            pnl.Controls.Add(btn);
            this.Controls.Add(pnl);
            //base.CreateChildControls();
        }

        public void btn_Click(object sender, EventArgs e)
        {
            HttpContext.Current.Response.Redirect("http://google.com");
        }
    }
}


Thanks.
Imrankhan

please don't forget to vote on the post that helped you.

AnswerRe: Event is not firing in custon control. Pin
Imran Khan Pathan18-Dec-09 2:09
Imran Khan Pathan18-Dec-09 2:09 
QuestionCreate textbox like query editor in sql server Pin
Dot-Net-Dev18-Dec-09 0:32
Dot-Net-Dev18-Dec-09 0:32 
AnswerRe: Create textbox like query editor in sql server Pin
Ashfield18-Dec-09 1:20
Ashfield18-Dec-09 1:20 
GeneralRe: Create textbox like query editor in sql server Pin
Dot-Net-Dev18-Dec-09 19:09
Dot-Net-Dev18-Dec-09 19:09 
GeneralRe: Create textbox like query editor in sql server Pin
Ashfield18-Dec-09 20:28
Ashfield18-Dec-09 20:28 
AnswerRe: Create textbox like query editor in sql server Pin
Imran Khan Pathan18-Dec-09 1:57
Imran Khan Pathan18-Dec-09 1:57 
GeneralRe: Create textbox like query editor in sql server Pin
Dot-Net-Dev18-Dec-09 19:12
Dot-Net-Dev18-Dec-09 19:12 
QuestionUsing Proxy with SmtpClient class Pin
VikasAgarwal8417-Dec-09 23:34
VikasAgarwal8417-Dec-09 23:34 
QuestionImage upload problem... Pin
RajpootRohan17-Dec-09 22:44
professionalRajpootRohan17-Dec-09 22:44 
AnswerRe: Image upload problem... Pin
Abhishek Sur17-Dec-09 23:19
professionalAbhishek Sur17-Dec-09 23:19 
GeneralRe: Image upload problem... Pin
RajpootRohan17-Dec-09 23:29
professionalRajpootRohan17-Dec-09 23:29 
GeneralRe: Image upload problem... Pin
RajpootRohan17-Dec-09 23:33
professionalRajpootRohan17-Dec-09 23:33 
GeneralRe: Image upload problem... Pin
Imran Khan Pathan18-Dec-09 2:33
Imran Khan Pathan18-Dec-09 2:33 
GeneralRe: Image upload problem... Pin
RajpootRohan19-Dec-09 0:22
professionalRajpootRohan19-Dec-09 0:22 
QuestionRegarding Animated File. Pin
shiva.kore17-Dec-09 20:38
shiva.kore17-Dec-09 20:38 
AnswerRe: Regarding Animated File. Pin
Abhishek Sur17-Dec-09 21:30
professionalAbhishek Sur17-Dec-09 21:30 
QuestionEnableEventValidation Pin
yesu prakash17-Dec-09 20:23
yesu prakash17-Dec-09 20:23 

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.