Databound controls do not work when published to a production serv
I have two projects I am attempting to publish to a production environment.
When I run the project and\or pages they run fine on my development
machine(the pc with vs.net that the app\pages were written on). When I copy
the project to a production IIS web server, the pages load properly on the
first load for each page. I have multiple list boxes that are databound
programatically on the page load event.
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
If Not Me.IsPostBack Then
On any postback event when run from the production server, the list boxes
are cleared out and the app is useless. Why are these clearing out in
production, but not on my dev pc?
If I load the listboxes on every postback, I lose the user selection prior
Re: Databound controls do not work when published to a production serv
Dave Stewart wrote:
> I have two projects I am attempting to publish to a production
> environment. When I run the project and\or pages they run fine on my
> development machine(the pc with vs.net that the app\pages were
There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-savvy person here who can
answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-savvy people hang out. I suggest
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
|All times are GMT. The time now is 09:46 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.