Wrox Programmer Forums
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics 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 April 14th, 2009, 08:43 AM
Authorized User
 
Join Date: Jun 2008
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default postbackurl help

hi, i got master page in root of my project. Then i create a postbackurl in 2 webforms and retrieve all the control i want. This method still work when all the webforms in root. when i create a folder and i put in 2 forms, then it cannot retrieve the control. Here my problem

error message =child request for handler 'ASP....'
Dim ct As ContentPlaceHolder
ct = CType(PreviousPage.Master.FindControl("ContentPlac eHolder1"), ContentPlaceHolder)

This coding in root, it work, when i apply this method inside sub folder it cannot work. how i find the control in subfolder when the forms using master page???
 
Old April 23rd, 2009, 08:56 AM
Authorized User
 
Join Date: Jun 2008
Posts: 17
Thanks: 1
Thanked 0 Times in 0 Posts
Default

This problem happen when i create straight in sub folder... when i create this method in root which can work, then i cut and paste to the sub folder, it still working... I should bang to wall already... maybe some path mapping to master page need to change when i straight create in sub folder .... Problem solve...





Similar Threads
Thread Thread Starter Forum Replies Last Post
PostBackUrl + OnClick JessyEzzy ASP.NET 2.0 Professional 9 September 21st, 2008 09:13 PM
Question For Button.PostBackUrl potato ASP.NET 2.0 Basics 2 March 19th, 2007 10:24 AM
PostBackUrl to a new window? binici ASP.NET 2.0 Basics 0 January 8th, 2007 07:11 PM
FormView and PostBackURL timeware ASP.NET 2.0 Professional 1 August 11th, 2006 10:22 AM





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