Unable to "publish" files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am a programmer, new to VB.Net. I have a client with a website designed and built by someone else, that has handed it over to me to maintain. I have enjoyed/hated the challenges involved with .Net. Right now, I have an interesting problem that I hope y'all can help with.
I open the project from the web server in Visual Studios.Net 2000. I have a form page, and when a certain dropdown item is selected, it generates the items in the next dropdown box using a case statement.

Select Case UCase(lstCompany.SelectedItem.Value
Case "ValueA
xAddListItem(1stForms, "titleA-1"
xAddListItem(1stForms, "titleB-2"
etc

My delima comes that I need to make the display be "titleA-2" and "titleB-1". A simple change...that's what I thought too! I opened the file.aspx.vb that contains this code. Made the change to the text and saved the file. I then brought up the web page and my changes were not made. I thought, well this is a time issue, I'll let it refresh itself. So the next day, no change. I opened the project from the server and opened up file.aspx.vb. The code was exactly how I wanted it to be,with the new changes. However, it is not showing up on the website. file.aspx, file.aspx.vb, and file.aspx.resx are not included in the project. They never were, and tend to not work when I do try to include them. I am stumped and would appreciate any direction that could be given
 
Hi Stefanie,

Did you build the project (make the dll)?

(I asume it is not Visual.Studio.Net 200?)

Cor
I am a programmer, new to VB.Net. I have a client with a website designed
and built by someone else, that has handed it over to me to maintain. I
have enjoyed/hated the challenges involved with .Net. Right now, I have an
interesting problem that I hope y'all can help with.
I open the project from the web server in Visual Studios.Net 2000. I have
a form page, and when a certain dropdown item is selected, it generates the
items in the next dropdown box using a case statement.
Select Case UCase(lstCompany.SelectedItem.Value)
Case "ValueA"
xAddListItem(1stForms, "titleA-1")
xAddListItem(1stForms, "titleB-2")
etc.

My delima comes that I need to make the display be "titleA-2" and
"titleB-1". A simple change...that's what I thought too! I opened the
file.aspx.vb that contains this code. Made the change to the text and saved
the file. I then brought up the web page and my changes were not made. I
thought, well this is a time issue, I'll let it refresh itself. So the next
day, no change. I opened the project from the server and opened up
file.aspx.vb. The code was exactly how I wanted it to be,with the new
changes. However, it is not showing up on the website. file.aspx,
file.aspx.vb, and file.aspx.resx are not included in the project. They
never were, and tend to not work when I do try to include them. I am
stumped and would appreciate any direction that could be given.
 
Hi Stephanie,

I did give this as solution to Colleen (for another problem), however I do
not think it helps you.

But you can give it a try.

You can put this in the load event (not enclosed in a postback)

Response.Cache.SetExpires(DateTime.Now.AddTicks(500))

Cor
 
Back
Top