I'm not currently using a hyperlink control.
i'm using just a textbox, and i would like for the contents of that textbox to be clickable (if possible). i would like them to be able to erase the clickable content in the textbox, and put a new number in. Then, after saving the changes, the contents of the textbox would be clickable again.
If thats not possible I'm thinking of putting a button to the right of each of the two textboxs, and making them invisible. and then making the buttons visible on the pageload event if there are valid contents in their respective box. Then on clicking the button, the handler would construct the url and do the response.redirect or whatever.
Is my first idea possible? If not is there a better approach than my second idea?
Main Topics
Browse All Topics





by: daniel_ballaPosted on 2007-12-12 at 12:32:28ID: 20459912
the obvious choice would be to use a LinkButton control instead of the Hyperlink and to add an OnClick handler to your LinkButton control and on that handler you would read the value of the textbox and compose the url string and then redirect to that url.