Wrox Programmer Forums
|
BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 26th, 2010, 04:02 PM
Authorized User
 
Join Date: Jul 2010
Posts: 27
Thanks: 2
Thanked 0 Times in 0 Posts
Default <%@ MasterType virtualPath="~/EAD_EditGrid.master"%> not recognised

Hi

in the users.aspx page there is the following line of code

<%@ MasterType virtualPath="~/EAD_EditGrid.master"%> which should allow to recognize the events defined in the master page.

these two methods allow the child page to catch the event and are defined in the master page

public delegate void ButtonClickedHandler(object sender, EventArgs e);
public event ButtonClickedHandler AddButton_Click;

unfortunately in the user page code behind file the following line of code is not read appropriately

Master.AddButton_Click += new EAD_EditGrid.ButtonClickedHandler(Master_AddButton _Click);

The AddButton_Click is underlined in red as welll as the EAD_EditGrid which is the master page.

i am using Visual Studio 2010 with NET framework 3.5.

Does anyone know why is this happening?

thank you for your support.

MattHoff
 
Old July 27th, 2010, 10:21 AM
Authorized User
 
Join Date: Jul 2010
Posts: 27
Thanks: 2
Thanked 0 Times in 0 Posts
Default problem solved

Hi there was a little problem in the framework controls that was not loading appropriately the custom controls to handle the menus and the validation error.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to print "<megjegyzes></megjegyzes> " in my xml out put anarleti XSLT 5 April 23rd, 2010 10:58 AM
How to theme the "Browse" button of "FileUpload" control? varunbwj BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 October 14th, 2009 01:22 AM
<deployment retail="true"> clarification jsymons BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 1 October 1st, 2009 02:48 PM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM
<authentication mode="Forms"/> msman88 ASP.NET 3.5 Professionals 10 August 30th, 2009 08:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.