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 / anju

Hi Anjani, 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" OnCommand="link"><a href="http://www.google.com">Link</a></asp:LinkButton>
</div>

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between overriding and overloading?

1002


How do sessions work?

951


Can master pages be nested?

935


Which is better viewstate or session?

938


Is asp.net mvc still used? : Asp.Net MVC

982


What is the difference between “Web.config” and “Machine.Config”?

1139


What is http pipeline in asp.net?

980


What do you mean by authorization?

946


How can exception be handled with out the use of try catch?

1010


Explain diff between dataset and datareader?

986


Can any body provide me the sample web application in asp.net

1969


What are the asp.net security controls?

1167


What is the difference between typeof() vs gettype()?

1111


Can you nest updatepanel within each other?

980


Why we use asp.net for website development?

904