Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I am trying to redirect another site on button click.

Answer Posted / gopakumar

There is a mistake in answer is that the link button
control doesn't contain the NavigateUrl property but we do
this task by doing this in the linkbutton control source
view is:

<asp:LinkButton ID="lnkbtn" runat="server"
OnClick="lnkbtn_Click"><a
href="http://www.google.com">Link</a></asp:LinkButton>
</div>

The OnCommand="link" is not needed.

<asp:LinkButton ID="lnkbtn" OnClick="lnkbtn_Click"
runat="server" >
<a href="http://www.google.com">Link</a>
</asp:LinkButton>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between custom controls and user controls?

894


What is asp net_sessionid?

1049


How to deploy/publish webservices?How many ways?Plz explain me

2230


How asynchronous call can be implemented using delegates?

960


Explain about secure socket layer?

888


What is caching? What are different ways of caching in asp.net?

1222


Which protocol is used to call web service?

946


In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?

934


Explain the concept of MVC Scaffolding?

963


How can we register exception filter globally?

945


What are sql joins?

934


What is user control in asp.net?

999


What is role-based security in asp.net?

998


Is asp.net different from asp? If yes, explain how?

969


What are themes and skins in 2.0, explain usage scenario?

896