Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am papulating a data grid from the data base with in my Page Load method I use the If(!IsPostBack) to check the PostBack and decided to populate or not

The Problem is when ever the user clicked any button the page is posted back and the Page Load is Called not One time but twice.

 

First time when the page load method is called all things are hapened usually but when the Page load is called second time The (!IsPostBack) is evaluated to true where it should be evaluated to false.

 

Can any body help me

:confused:

Asif Raza Ashraf

Senior Software Engineer

Electronic Solutions Pakistan

Islamabad

Posted

Yes Several Pages of my Application are using the Response.Redirect("") and Server.Transfer("") I am not able to remove them so is there any other option to overcome this deficulty. Secondly I am facing this Problems in most of the Pages that Page is Posted Back Twice. Can You please tell me that is there any problem with Response.Redirect("") and Server.Transfer("")

Thanks...

Asif Raza Ashraf

Senior Software Engineer

Electronic Solutions Pakistan

Islamabad

Posted

Actually I have to call an other page from the current page which shows the results about the user's choice .

On the First page the user select some different options and on the Next Page I have to show the results from the user's choice . I have no idea except to use the Response.Redirect() or Server.Transfer().

If You have any other idea to do the same thing then please guide me

 

Thanks

Asif Raza Ashraf

Senior Software Engineer

Electronic Solutions Pakistan

Islamabad

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...