473,756 Members | 2,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deleting an aspx panel control but online page still uses it.

I have done a fair amount of programming of ASP.NET 1.1 without
poroblem

I am now involved in my first project with ASP.NET 2.0 and I am having
difficulties with understanding the compilation or 'build' arrangement
or perhaps I am overlooking something else.

I am developing a project using the IIS local host configuration.

My actual problem is :

I put in a panel control and used it for a while, then decided to take
it out. Having deleted the panel control in the aspx page and carried
out many further 'build' operations and at varying times 'rebuild
website' and 'build website' operations the page concerned is still
in some respects acting as if the original panel was still there. It
is as if the browser is using a different aspx page to that in the
Visual WEb Developer Express application I am using to develop the
site. Or possibly using a different compiled dll file.

I have tried looking for a bin file but there was not one there. I
have now added a bin file using the 'Add ASP.NET folder' facility but
nothing goes into it and I cannot find anything to click to include it
in the project. In VS 2003 there was such a facility.

I would be grateful for any help anyone can give,

Best wishes, John Morgan
Jan 22 '07 #1
7 1853
Firstly, there are no dll files in ASP.NET 2.0. The files under App_Code
will get dynamically compiled by IIS. If you want to do "old style" web
applications then you can download a plugin for VS 2005 from Microsoft (goto
www.asp.net).

I cannot make an educated guess on the panel control issue since I do not
have enough details.
By "taking it out" do you mean to say that you programmaticall y deleted it
or did you remove the control in design view? If you removed it using the
design view, then it *should* work unless you have not deployed the changed
web page to your web server.

Hope I have helped.

--
With Regards
Shailen Sukul
..Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"John Morgan" <jf*@XXwoodland er.co.ukwrote in message
news:t7******** *************** *********@4ax.c om...
>I have done a fair amount of programming of ASP.NET 1.1 without
poroblem

I am now involved in my first project with ASP.NET 2.0 and I am having
difficulties with understanding the compilation or 'build' arrangement
or perhaps I am overlooking something else.

I am developing a project using the IIS local host configuration.

My actual problem is :

I put in a panel control and used it for a while, then decided to take
it out. Having deleted the panel control in the aspx page and carried
out many further 'build' operations and at varying times 'rebuild
website' and 'build website' operations the page concerned is still
in some respects acting as if the original panel was still there. It
is as if the browser is using a different aspx page to that in the
Visual WEb Developer Express application I am using to develop the
site. Or possibly using a different compiled dll file.

I have tried looking for a bin file but there was not one there. I
have now added a bin file using the 'Add ASP.NET folder' facility but
nothing goes into it and I cannot find anything to click to include it
in the project. In VS 2003 there was such a facility.

I would be grateful for any help anyone can give,

Best wishes, John Morgan

Jan 22 '07 #2

Thanks Shailen ,
I am grateful for your help.

The panel control has been deleted in design view and every reference
has been deleted in the code behind page I am using.

My appCode folder only contains vb class files. Should there be
anything else in there?

The page file giving the problem is in the root directory of the
project eg http://localhost/mydomain/webpage.aspx , to-gether with its
code behind file webpapge.aspx.v b

I have of course refreshed the page on each occasion after building
and have often also closed the browser and then reopened it .

I have checked that I am not using the wrong file eg opening up one
file in the browser whilst amending something different in the Visual
Web Developer.

The page seems to have worked as expected during development up until
to-day when my panel control deletion has given rise to the problem I
have described,

Best wishes, John Morgan

On Tue, 23 Jan 2007 09:56:00 +1100, "Shailen Sukul"
<sh***@ashlen.n et.auwrote:
>Firstly, there are no dll files in ASP.NET 2.0. The files under App_Code
will get dynamically compiled by IIS. If you want to do "old style" web
applications then you can download a plugin for VS 2005 from Microsoft (goto
www.asp.net).

I cannot make an educated guess on the panel control issue since I do not
have enough details.
By "taking it out" do you mean to say that you programmaticall y deleted it
or did you remove the control in design view? If you removed it using the
design view, then it *should* work unless you have not deployed the changed
web page to your web server.

Hope I have helped.
Jan 22 '07 #3
Please verify that the deleted version of the page is in the IIS directory
by checking the modified date on the file in the App_Code folder.

I still think that IIS is displaying an older page.
Also try an iisreset.
Also make sure that you are not using web controls in which case you will
need to deploy the acsx file as well.

Let us know how it goes.

--
With Regards
Shailen Sukul
..Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"John Morgan" <jf*@XXwoodland er.co.ukwrote in message
news:4j******** *************** *********@4ax.c om...
>
Thanks Shailen ,
I am grateful for your help.

The panel control has been deleted in design view and every reference
has been deleted in the code behind page I am using.

My appCode folder only contains vb class files. Should there be
anything else in there?

The page file giving the problem is in the root directory of the
project eg http://localhost/mydomain/webpage.aspx , to-gether with its
code behind file webpapge.aspx.v b

I have of course refreshed the page on each occasion after building
and have often also closed the browser and then reopened it .

I have checked that I am not using the wrong file eg opening up one
file in the browser whilst amending something different in the Visual
Web Developer.

The page seems to have worked as expected during development up until
to-day when my panel control deletion has given rise to the problem I
have described,

Best wishes, John Morgan

On Tue, 23 Jan 2007 09:56:00 +1100, "Shailen Sukul"
<sh***@ashlen.n et.auwrote:
>>Firstly, there are no dll files in ASP.NET 2.0. The files under App_Code
will get dynamically compiled by IIS. If you want to do "old style" web
application s then you can download a plugin for VS 2005 from Microsoft
(goto
www.asp.net).

I cannot make an educated guess on the panel control issue since I do not
have enough details.
By "taking it out" do you mean to say that you programmaticall y deleted it
or did you remove the control in design view? If you removed it using the
design view, then it *should* work unless you have not deployed the
changed
web page to your web server.

Hope I have helped.

Jan 23 '07 #4
I would clarify that-- actually there "are" dll (assembly) files compiled
under ASP.NET 2.0 (Web Site project model, not Web Application Project model).
They would either end up in the bin folder, or in the Temporary ASP.NET
Files folder under the Framework directory. Yes, there is no
"myApplicationN ame.dll" assembly in the /bin folder as there would be under
VS.NET 2003 or the new 2005 Web Application Project model.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Shailen Sukul" wrote:
Firstly, there are no dll files in ASP.NET 2.0. The files under App_Code
will get dynamically compiled by IIS. If you want to do "old style" web
applications then you can download a plugin for VS 2005 from Microsoft (goto
www.asp.net).

I cannot make an educated guess on the panel control issue since I do not
have enough details.
By "taking it out" do you mean to say that you programmaticall y deleted it
or did you remove the control in design view? If you removed it using the
design view, then it *should* work unless you have not deployed the changed
web page to your web server.

Hope I have helped.

--
With Regards
Shailen Sukul
..Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"John Morgan" <jf*@XXwoodland er.co.ukwrote in message
news:t7******** *************** *********@4ax.c om...
I have done a fair amount of programming of ASP.NET 1.1 without
poroblem

I am now involved in my first project with ASP.NET 2.0 and I am having
difficulties with understanding the compilation or 'build' arrangement
or perhaps I am overlooking something else.

I am developing a project using the IIS local host configuration.

My actual problem is :

I put in a panel control and used it for a while, then decided to take
it out. Having deleted the panel control in the aspx page and carried
out many further 'build' operations and at varying times 'rebuild
website' and 'build website' operations the page concerned is still
in some respects acting as if the original panel was still there. It
is as if the browser is using a different aspx page to that in the
Visual WEb Developer Express application I am using to develop the
site. Or possibly using a different compiled dll file.

I have tried looking for a bin file but there was not one there. I
have now added a bin file using the 'Add ASP.NET folder' facility but
nothing goes into it and I cannot find anything to click to include it
in the project. In VS 2003 there was such a facility.

I would be grateful for any help anyone can give,

Best wishes, John Morgan


Jan 23 '07 #5

I have stopped and restarted IIS but that seems to make no difference.

I have drilled down into the ASP.NET 2.0 folder through Temporary
ASP.NET down through further directories to a file called
App_Web_fbokafx v.dll which bears the same time as I last compiled it,
just now.

Whilst following up both of your helpful messages I have discovered
that :
1. If I access the file using my local IIS address
http://jfm/orlando/webpage.aspx I seem to be accessing an older
version of the file. (Using firefox browser)

2. If I access the file using the browser icon on Visual Web Developer
then I seem to be accessing the updated file as it is responding as
expected. with no panel.

I am not sure what this implies.

I reallly am grateful to you for your help,

best wishes, John Morgan
On Mon, 22 Jan 2007 16:25:52 -0800, Peter Bromberg [C# MVP]
<pb*******@yaho o.yabbadabbadoo .comwrote:
>I would clarify that-- actually there "are" dll (assembly) files compiled
under ASP.NET 2.0 (Web Site project model, not Web Application Project model).
They would either end up in the bin folder, or in the Temporary ASP.NET
Files folder under the Framework directory. Yes, there is no
"myApplication Name.dll" assembly in the /bin folder as there would be under
VS.NET 2003 or the new 2005 Web Application Project model.
Peter
Jan 23 '07 #6
Seems like firefox is caching it.
Try and clear its cache.

Also try other browsers and see if you get the same behaviour.

--
With Regards
Shailen Sukul
..Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"John Morgan" <jf*@XXwoodland er.co.ukwrote in message
news:t7******** *************** *********@4ax.c om...
>
I have stopped and restarted IIS but that seems to make no difference.

I have drilled down into the ASP.NET 2.0 folder through Temporary
ASP.NET down through further directories to a file called
App_Web_fbokafx v.dll which bears the same time as I last compiled it,
just now.

Whilst following up both of your helpful messages I have discovered
that :
1. If I access the file using my local IIS address
http://jfm/orlando/webpage.aspx I seem to be accessing an older
version of the file. (Using firefox browser)

2. If I access the file using the browser icon on Visual Web Developer
then I seem to be accessing the updated file as it is responding as
expected. with no panel.

I am not sure what this implies.

I reallly am grateful to you for your help,

best wishes, John Morgan
On Mon, 22 Jan 2007 16:25:52 -0800, Peter Bromberg [C# MVP]
<pb*******@yaho o.yabbadabbadoo .comwrote:
>>I would clarify that-- actually there "are" dll (assembly) files compiled
under ASP.NET 2.0 (Web Site project model, not Web Application Project
model).
They would either end up in the bin folder, or in the Temporary ASP.NET
Files folder under the Framework directory. Yes, there is no
"myApplicatio nName.dll" assembly in the /bin folder as there would be
under
VS.NET 2003 or the new 2005 Web Application Project model.
Peter

Jan 23 '07 #7
I have now tried MS Explorer and I get the expected updated modified
pages. As I said previously I also get the expected modified pages
when clicking the browser icon in Visual Web Developer.

I have cleared the cache in Firefox, cllosed the applicatio and then
reopened it and I still get the old page turning up. I have tried
entering the url that I get in the Visual Web Developer Browser
(http://localhost/....) and this too gives the old page.

I suppose I can proceed using the Visual Web Developer browser or
Explorer but it is puzzling as to Firefox behavious - and it reduces
one's conficence somewhat if one cannot get to the cause,

Anything further you can add would be appreciated but I realise you
cannot devote too much time to my own particular problem.

By the way I you mentioned earlier >If you want to do "old style"
web
applications then you can download a plugin for VS 2005 from Microsoft
(goto
www.asp.net).<<

Do you think that would be a retrogade step? What do I lose by that?

Best wishes, John Morgan

On Tue, 23 Jan 2007 14:06:02 +1100, "Shailen Sukul"
<sh***@ashlen.n et.auwrote:
>Seems like firefox is caching it.
Try and clear its cache.

Also try other browsers and see if you get the same behaviour.
Jan 23 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
9381
by: james | last post by:
I cannot get my UserControl's browsable properties to show up in the designer properties panel. I have then public virtual bool TestProp { {get return testProp; } set { testProp = value; } } but it doesn't show up in the designer. By the way, this used to work in the 2002 version, now in 2003 I am getting all kinds of problems like this
4
12868
by: William LaMartin | last post by:
Is there a way to place an aspx page on a panel contained on another aspx page? I can display an HTML page on the panel using a literal can figure no way to put and aspx page there.
7
1332
by: BoltonWolf | last post by:
Hi, I was wondering if someone could give me a bit of advice on achiving something. I have a page with a panel on it. Is it possible to then load content into the panel from a second aspx page. The web site I am writing is a reporting tool for a database, and I don't want to write a completely new web page for each report I
10
2445
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and load as a 3rd partial class. This would be handy so i can generate standard code into one of the partial classes, while having my custom code untouched
6
4607
by: Martin Bischoff | last post by:
Hi, I'm creating temporary directories in my web app (e.g. ~/data/temp/temp123) to allow users to upload files. When I later delete these directories (from the code behind), the application restarts and all active sessions are terminated. This error is also described in detail here:...
5
2690
by: George | last post by:
VB.net 2003 standard, XP windows home edition. Installed first application OK today. When I removed the application via Control Panel, there were no problems and the app folders were deleted. But when I installed the app from a CD-ROM (Release folder is in D:), when I remove the app in Control Panel these problems occur: Control Panel does not delete the application folders. When I try to delete them I get message "Cannot delete file:...
6
6129
by: Abel Chan | last post by:
Hi there, I am trying to use ASP.NET to populate list of files with hyper link from a specific directory. The following code works well but it populates the list to the top of the web page. I have header and footer defined on the web page. How could I write the list to the body session like a specific area, a table or a list box control? Thanks in advance.
6
1357
by: Dan | last post by:
Hi again, I tried to create a second server-form in an aspx file, but there can be only one. Independantley of it's useful or not, why is it so? And why can't i create a form directly in vb.net (from the code-behind page) assuming i first deleted the form tag in the aspx file? Thanks
1
2359
by: Jai | last post by:
Hi All, As When I am displaying my html page which contains images also inside content placeholder with panel control.....it is only showing text and not the Images.....................please suggest me...how can i do this..... I want to display html page(with images) inside a panel,and that panel is in contentplaceholder(master page)...............
0
9271
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10031
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9708
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8709
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3805
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3354
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2665
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.