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 typical session identifier?

1030


What is a uri query?

995


What is session start?

967


Is there any limit for query string? Means what is the maximum size?

952


When was asp.net released?

1023


Difference between singleton and singlecall.

971


when a request is made in Life cycle of ASP.NET page .

959


How you can add an event handler?

970


Where the cookie value is stored?

937


What is .net remoting?

1045


What is asp.net caching?

1014


What is http pipeline in asp.net?

977


What is the web.config file in asp?

1162


What is the postback property in asp.net?

984


What is the difference between ASP.NET Webforms and ASP.NET MVC?

1155