skmMenu not working with formfileds

Discussion in 'ASP.NET / ASP.NET Core' started by Malin, Sep 1, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Finally, I managed to solve the problem. A bit irritatating that the problem was because of a specific control, a control which was the first I suspected and therefore changed. It was an "<input type=submit id=submit". As I said, I suspected this control right from the start and I changed it to an asp:button but with no luck. But now after many hours I realized that I should ALSO have changed the id of the asp:button to be something else than "submit". Of course that name is not good for buttons. As soon as I changed the name everything started to work perfectly.


    (I have this old site that I take care of and I have transformed it to asp.net but I haven't changed all controls to asp.net controls since it would require a lot of work. Therefore I have many controls such as "<input type=submit" with the runat=server added. Unfortunately they constantly causes me trouble.)[​IMG]


    Malin

    ~Postingat the DASP-forum since thebeginning ~
     
  2. Hi

    I have a problem with skmMenu. It works perfect as long as I don't have any "<input type=text", asp:textboxes and so on. When the webpage contains controls such as textboxes the menu slides out under the controls instead of above and on top of this the "Menu1_MenuItemClick" event doesn't work at all. When I delete all textboxes, buttons etc from the webpage everything works but when I put them back the problem is there again.

    What am I doing wrong? Does anyone know?



    Malin

    ~Postingat the DASP-forum since thebeginning ~
     
  3. I have solved the problem with themenuitems disappearing under the controls but the:


    this.Menu1.MenuItemClick += new skmMenu.MenuItemClickedEventHandler(this.Menu1_MenuItemClick);

    ..still does not fire.

    If I remove the textboxes everything works fine. The error appears before postback (when I click a menuItem) and it is a scripterror:
    Error on page: Object doesn't support this property or method.

    [​IMG]






    Malin

    ~Postingat the DASP-forum since thebeginning ~

    Post Edited (Malin) : 9/1/2005 1:30:36 PM GMT
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    converting from asp to asp.net is really a big pain!! but i think it's worth the time as .net is so much cooler!!

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page