Cartoon guy Posted September 13, 2003 Posted September 13, 2003 Hello everyone, I am very new to asp.net, I have an html link and I have a asp label. I want when the html link is clicked, a text to be displayed in the asp label. I know how to do this with a asp button. But that is not what I need. If I posted this in the wrong forum, feel free to move it. Thank you in advance. CG:rolleyes: Quote
Moderators Robby Posted September 13, 2003 Moderators Posted September 13, 2003 Use a Link Button because an html link does have viewstate nor will it runat server. Quote Visit...Bassic Software
Cartoon guy Posted September 13, 2003 Author Posted September 13, 2003 Thank you Thank you for the quick reply. I have a world map, with image map on every country. So I want to desplay text on a asp label right under it when a country is clicked. Is there any way of knowing when a html like is clicked? Quote
Moderators Robby Posted September 14, 2003 Moderators Posted September 14, 2003 You'll need to do it in a JavaScript function. (on the client side) If you're coordinating which country they clicked as well as getting the country's name from the server then you may want a control that will PostBack. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.