Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey All

I want to use a link button that will reload and display another web page on my same page display

<asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/uploaderNew.aspx">Sri Lanka Law Reports</asp:LinkButton>


above is my code, is this right?
Posted
Updated 7-Nov-10 22:05pm
v5
Comments
Dalek Dave 8-Nov-10 3:33am    
Edited for Grammar and Readability.
Hiren solanki 8-Nov-10 4:06am    
Edited for code blocks.
shakil0304003 8-Nov-10 4:25am    
Not clear!!!

If there are two linkButton in a page, one is PostBackUrl & other has on click event, then the linkbutton has postbackurl, it does not work. So, change the PostBackUrl linkbutton to hyperlink or others.
 
Share this answer
 
Comments
[no name] 9-Nov-10 4:52am    
you copied the other guy's answer and then downvoted it so youres would be on top - thats 2nd copied answer you have - why not you just stop.
[no name] 9-Nov-10 4:52am    
he answer 20 minute before you
shakil0304003 11-Nov-10 11:51am    
JFergulbpos, i never vote in any question or answer. You can complain it to the administrator & they can see it. I have no low mentality like you. he answer 20 minutes before me, so what? Is he said why this problem occur? In your profile you told you are a CEO. But in your activities, it likes, you are not a technical person. You low voted all of my post. But i did not vote any of your post. Because i am not like you.
Why do you want to use a linkbutton? if you want to display another page, cut out the serverside processing and use a hyperlink..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900