|
|
Posted 21/10/2003 16:47:00 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 21/10/2003 18:00:00
Posts: 4,
Visits: 1
|
|
The button to update the article is not calling the sub proceedure <asp:button text="Update Article" CssClass="frmbutton" id="subButton" onClick="UpdateArticle_Click" runat="server" /> The sub never gets called. As a matter of fact, when I drop another button the the form its click event does not get called either. I have checked to make sure that the buttons are within the form tags and that the form is marked with run at server. Any Ideas? (I have full source)
|
|
|
|
Posted 21/10/2003 17:23:00 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 05/01/2009 11:53:33
Posts: 1,959,
Visits: 3,027
|
|
Hi Daniel, Could you tell me if the AutoEventWireup="false" has been accidentally added to the page directive in the editarticle.aspx page. Is so please remove this. This will stop the events from firing on the page. I've tested this locally and all seems to work ok with a default installation. Hope this helps,
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
Posted 21/10/2003 17:35:00 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 21/10/2003 18:00:00
Posts: 4,
Visits: 1
|
|
| That was it. Do I need to look for that in the other pages as well?
|
|
|
|
Posted 21/10/2003 17:41:00 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 05/01/2009 11:53:33
Posts: 1,959,
Visits: 3,027
|
|
Nope by default this is removed on all pages with code-behind. It is possible you may have re-introduced this command when working with the document in VS.NET. You should keep an eye out for this as VS.NET has a tendency to reformat code. Pleased it worked 
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
Posted 21/10/2003 17:44:00 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 21/10/2003 18:00:00
Posts: 4,
Visits: 1
|
|
I ran a search and it shows up 45 times. Just to clarify. I should delete it from all the pages? 
|
|
|
|
Posted 21/10/2003 17:51:00 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 05/01/2009 11:53:33
Posts: 1,959,
Visits: 3,027
|
|
Yes remove this from all pages within the knowledge base. I'm not sure how you re-introduced this but please check my original email with the default projects i'm sure you will find it is not there 
 Kindest Regards,
Ryan Healey Director / Developer
Explore our products... http://demos.instantasp.co.uk/
|
|
|
|
Posted 21/10/2003 18:03:00 |
|
|
Forum Newbie
      
Group: Customers
Last Login: 21/10/2003 18:00:00
Posts: 4,
Visits: 1
|
|
|
|
|
Posted 21/10/2003 18:13:00 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 05/01/2009 11:53:33
Posts: 1,959,
Visits: 3,027
|
|
|
|
|
Posted 25/05/2006 21:56:11 |
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 25/05/2006 21:49:31
Posts: 1,
Visits: 1
|
|
| I have the same problem, but will all edit buttons on all my pages. However, I do not have the afformentioned code. Any other ideas? Ryan
|
|
|
|
Posted 26/05/2006 13:39:15 |
|
|
Support Supremo
      
Group: Customers
Last Login: 13/11/2008 12:44:07
Posts: 568,
Visits: 2,507
|
|
rpeterson (5/25/2006)
I have the same problem, but will all edit buttons on all my pages. However, I do not have the afformentioned code. Any other ideas? Ryan I would like to suggest you to try adding the key below to your web.config: <pages autoEventWireup="true" enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" /> and delete any autoEventWireup="false" in all .aspx and .ascx files.
|
|