problems with asp:hyperlink
-
Hello! I´ve got a few problems with the
asp:hyperlink
control. 1. with anchors one can reference html-elements on a page like this for an examplea href="#myDiv"> test /a
To make the browser scroll to the element. If I try the same with anasp:hyperlink
it adds the entire url and then concatenates#myDiv
at the end, resulting in that the browser no longer scrolls to the element. How do I stop this? 2. I´ve got an anchor with a really strange-looking url (used for a thickbox):#TB_inline?height=260&width=416&inlineId=hiddenlogin&modal=true
When I convert the anchor to anasp:hyperlink
it adds#TB_inline
at the end of the url which makes the url unusable. How do I prevent this from happening? -
Hello! I´ve got a few problems with the
asp:hyperlink
control. 1. with anchors one can reference html-elements on a page like this for an examplea href="#myDiv"> test /a
To make the browser scroll to the element. If I try the same with anasp:hyperlink
it adds the entire url and then concatenates#myDiv
at the end, resulting in that the browser no longer scrolls to the element. How do I stop this? 2. I´ve got an anchor with a really strange-looking url (used for a thickbox):#TB_inline?height=260&width=416&inlineId=hiddenlogin&modal=true
When I convert the anchor to anasp:hyperlink
it adds#TB_inline
at the end of the url which makes the url unusable. How do I prevent this from happening?livez wrote:
I´ve got a few problems with the asp:hyperlink control.
Huh... i wonder where one might find answers to questions on such things...[^] :rolleyes: Before you head over there though, take a look at your post: it's unreadable. If you plan to be doing even casual web development, you should really learn how to escape things like angle brackets. Failing that, use the checkbox titled "Ignore HTML tags in this message (good for code snippets)" to push your post through as plain text.
Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'