ASCX made on VS 2003 didn't work on 2005

Discussion in 'ASP .Net Building Controls' started by Alberto, Nov 9, 2005.

  1. Alberto

    Alberto Guest

    Hi All,
    I have a web user control which simulates a message box, made on VS 2003. I
    used to call it inside my Web Form declaring it as:
    Protected WithEvents MensagemBox1 As MensagemBox

    And inside the code I used to call my ascx as:
    MensagemBox1.Show("Blablabla", MensagemBox.MensagemBoxStyle.Critical,
    MensagemBox.MensagemBoxButtons.OKOnly, "Title", 200, 400)

    This code used to work inside VS 2003, but it doesn't work inside VS 2005.
    Does anyone passed by a similar problem, or has a workaround for this?
     
    Alberto, Nov 9, 2005
    #1
    1. Advertising

  2. Are you getting an error message of some kind? If so, what is it?

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://SteveOrr.net


    "Alberto" <> wrote in message
    news:...
    > Hi All,
    > I have a web user control which simulates a message box, made on VS 2003.
    > I
    > used to call it inside my Web Form declaring it as:
    > Protected WithEvents MensagemBox1 As MensagemBox
    >
    > And inside the code I used to call my ascx as:
    > MensagemBox1.Show("Blablabla", MensagemBox.MensagemBoxStyle.Critical,
    > MensagemBox.MensagemBoxButtons.OKOnly, "Title", 200, 400)
    >
    > This code used to work inside VS 2003, but it doesn't work inside VS 2005.
    > Does anyone passed by a similar problem, or has a workaround for this?
    >
    >
    >
     
    Steve C. Orr [MVP, MCSD], Nov 10, 2005
    #2
    1. Advertising

  3. Alberto

    Alberto Guest

    Hi,

    No error messages... it simply doesn't appear...
    I would really appreciate if you could help me.

    Regards,
    Alberto

    "Steve C. Orr [MVP, MCSD]" wrote:

    > Are you getting an error message of some kind? If so, what is it?
    >
    > --
    > I hope this helps,
    > Steve C. Orr, MCSD, MVP
    > http://SteveOrr.net
    >
    >
    > "Alberto" <> wrote in message
    > news:...
    > > Hi All,
    > > I have a web user control which simulates a message box, made on VS 2003.
    > > I
    > > used to call it inside my Web Form declaring it as:
    > > Protected WithEvents MensagemBox1 As MensagemBox
    > >
    > > And inside the code I used to call my ascx as:
    > > MensagemBox1.Show("Blablabla", MensagemBox.MensagemBoxStyle.Critical,
    > > MensagemBox.MensagemBoxButtons.OKOnly, "Title", 200, 400)
    > >
    > > This code used to work inside VS 2003, but it doesn't work inside VS 2005.
    > > Does anyone passed by a similar problem, or has a workaround for this?
    > >
    > >
    > >

    >
    >
    >
     
    Alberto, Nov 11, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike John
    Replies:
    2
    Views:
    367
    Ray Dixon [MVP]
    Jul 23, 2003
  2. Holger (David) Wagner
    Replies:
    2
    Views:
    1,945
    Holger (David) Wagner
    Jul 3, 2004
  3. =?Utf-8?B?RXNraW1v?=

    C# Databinder.Eval didn't work quite right...

    =?Utf-8?B?RXNraW1v?=, Nov 5, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    3,476
    Scott Allen
    Nov 7, 2004
  4. Athel Cornish-Bowden
    Replies:
    5
    Views:
    490
    dorayme
    Aug 14, 2011
  5. Alberto

    My ASCX made on VS 2003 doesn't appear on VS 2005

    Alberto, Nov 4, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    107
    Alberto
    Nov 4, 2005
Loading...

Share This Page