Alex,
Great to hear that you solved it!
Repopulation not taking place is almost always due to viewstate not being
enabled (for the page, the placeholder a dynamic control is in, the dynamic
control itself, a regular control, a panel a regular control is in, etc.)
I suggest looking at all levels of viewstate you may have pertaining to this
particular control. It's probably disabled at some level.
About placing code in my repository: If you'd like to submit some to share
with others that would be great! Of course I'll give you credit for
anything included.
Sincerely,
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"Alex" <alex@hotpop.com> wrote in message
news:c5c70ed9.0308140627.74251513@posting.google.c om...[color=blue]
> Hey,
>
> I found what the problem was!
> Ok, this is the set up I *had*. My project files resided on
> \\server\myPersonalSpace
>
> On the IIS box (different server) I had set up a Web Site poiting to
> the folder on myPersonalSpace. I was invoking the file from DW which
> has a site defined poiting to myPersonalSpace.
>
> When I moved all the files from myPersonalSpace and dumped in the
> folder in wwwroot, and re-defined the site in DW to point to this
> folder. Everything worked.
>
> It was the fact that the IIS server was running the files accross the
> network that caused the problems. Now I have a nice set up with a
> codebehind class, and a Database layer (dll in bin directory).
>
> Works much better, but I do have another interesting problem.
>
>
> marketerList.DataSource=data.GetList("spu_getMarke ters", "Marketer");
> marketerList.DataBind();
>
> GetList is your typical method that runs a stored proc. marketerList
> is a dropdownlist containing names of marketers. The list is populated
> first time it is loaded. When the page is posted back, my lists don't
> get populated anymore.
> Of course, it's not running the stored proc as I bypass it through
>
> if(Page.IsPostBack)
> { //Do nothing }
> else
> { GetList...}
>
> I can't see why it's not preserving state between requests. I haven't
> defined an "action" in the form tag. Any ideas?
>
> Thanks a lot,
> Alex
>
> PS. I'll be sure to check out your code repository ;)
> PSS. And i'll release what I write as well....assuming I get
> permission....
>
http://www.alexpop.com -- The first ever website I wrote.
>
http://www.abridgegolf.com -- The last one I did.[/color]