Query is generated on one page and then that page calls other page and displays the result
At first when you mentioned this I thought you were just saying that the page was displaying different Web User Controls...
Since you are displaying 2 different pages of course there's going to be a flash: a whole new ASPX page is being displayed. It doesn't matter if you use Ajax or not...because the whole page must be rendered.
I have a gridview on 1st page and I am dynamically creating a link button with name info inside the gridview. When I click on info link corresponding information is fetched from database and displayed on 2nd page. In above code, if I mention updatemode="conditional" then I have to explicitely mention update() method.
Remove the UpdatePanel, it's not needed (I'm sorry I mentioned it earlier, I didn't read your question properly). UpdatePanels are used to postback a portion of your page. You are displaying a whole new page, so this doesn't apply to your situation.
I don't know how to call update() method from another page and from that info link which is also contained inside gridview and being dynamically generated in front of each record(row).
Can you please guide me regarding this?
thks
I think it'd be easier to move your update() method somewhere that both pages can access it (maybe a create a Utils class that has a public method that both can refer to).
-Frinny