Groups > Asp .Net > Getting started with ASP.NET > Re: Nothing appears after first postback




Nothing appears after first postback

Nothing appears after first postback
Thu, 3 Apr 2008 17:18:27 +0000
Hi All,

I have developed an application. I works as desired using asp.net development
server (for example while debugging or when you give something like
localhost:<port>/Default.aspx)

But the problem starts when I try the same with localhost/Default.aspx that is
using IIS. (I am using windows XP)

Following is the problem:

After login the required page is shown. Now if I select anything from dropdown
list there is post back and then nothing will come up.

I waited for 5 min, but nothing.

Please help me.
Post Reply
Re: Nothing appears after first postback
Thu, 3 Apr 2008 17:27:27 +0000
tingu:After login the required page is shown. Now if I select anything from
dropdown list there is post back and then nothing will come up. 

What code do you have in the SelectedIndexChanged event of the DropDownList?

Thanks
Post Reply
Re: Nothing appears after first postback
Thu, 3 Apr 2008 17:35:54 +0000
it runs a sub to populate other dropdown lists. in fact even if i click a butoon
or anythis that causes postback it will not show anything. While the same code
will run perfectly while using asp.net development server on the same machine. 

I am new to this...
Post Reply
Re: Nothing appears after first postback
Thu, 3 Apr 2008 22:48:13 +0000
Ok...

There seems to be some problem with IE7 as this application works on firefox
using localhost/default.aspx.

Now I will have to find out why it is giving problem in IE7
Post Reply
Re: Nothing appears after first postback
Thu, 3 Apr 2008 22:51:57 +0000
You may need prevent the postback from firing unintentionally during postback. 
On your form_load, put the code below:

if not ispostback

  ' your code goes here

end if

Can we see some code?
Post Reply
about | contact