Click here to Skip to main content
15,885,309 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP.Net Logout issue Pin
august_star4-Jun-12 21:28
august_star4-Jun-12 21:28 
Question2010 web form problem Pin
sc steinhayse31-May-12 11:22
sc steinhayse31-May-12 11:22 
AnswerRe: 2010 web form problem Pin
R. Giskard Reventlov31-May-12 15:20
R. Giskard Reventlov31-May-12 15:20 
AnswerRe: 2010 web form problem Pin
taha bahraminezhad Jooneghani3-Jun-12 2:48
taha bahraminezhad Jooneghani3-Jun-12 2:48 
Questioncalling a function from a hyperlink Pin
wiins31-May-12 8:08
wiins31-May-12 8:08 
AnswerRe: calling a function from a hyperlink Pin
jkirkerx31-May-12 13:30
professionaljkirkerx31-May-12 13:30 
GeneralRe: calling a function from a hyperlink Pin
wiins31-May-12 22:15
wiins31-May-12 22:15 
GeneralRe: calling a function from a hyperlink Pin
jkirkerx1-Jun-12 6:57
professionaljkirkerx1-Jun-12 6:57 
I see things like that in news reports, or wikipedia, in which a term will be presented within an article of explanation, and you can click on that term, to go to a detailed explanation of that term.

I don't know if I'm on the right track here, but this is what I know about it.

Example:
<p>Oligarchy (from <a href="/wiki/Greek_language" title="Greek language">Greek</a> <span xml:lang="grc" lang="grc">ὀλιγαρχία</span> (oligarkhía); from ὀλίγος (olígos), meaning "a few", and ἄρχω (archo), meaning "to rule or to command")<sup id="cite_ref-0" class="reference"><a href="#cite_note-0"><span>[</span>1<span>]</span></a></sup><sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span>[</span>2<span>]</span></a></sup><sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span>[</span>3<span>]</span></a></sup> is a form of <a href="/wiki/Power_structure" title="Power structure">power structure</a> in which <a href="/wiki/Political_power" title="Political power" class="mw-redirect">power</a> effectively rests with a small number of people. These people could be distinguished by royalty, wealth, family ties, education, corporate, or military control. Such states are often controlled by a few prominent families who pass their influence from one generation to the next.</p>

To the best of my knowledge, the example is created in something like ckEditor, in which the content is composed online, and selected words are highlighted, and a custom control button is clicked to wrap the word with a HTML tag, that provides a pre-selected function or formatting feature.

However, it is done in Javascript, inside the editor during creation. To automatically pick out words, and wrap them in HTML tags, it can be done server side, in which you would have to iterate through the words, find the start and stop of the word position number, and replace the word with an HTML tag wrapped version of the word.

If you need to do it on the server side with raw text, you could check for the word, and do a replace.
if (string.contains("raw word") {
    string.replace("raw word", "<a href="word.aspx">raw word</a>)
}

GeneralRe: calling a function from a hyperlink Pin
wiins8-Jun-12 4:46
wiins8-Jun-12 4:46 
GeneralRe: calling a function from a hyperlink Pin
jkirkerx8-Jun-12 10:53
professionaljkirkerx8-Jun-12 10:53 
Question'cmbGender' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value Pin
mudunurusv30-May-12 23:36
mudunurusv30-May-12 23:36 
AnswerRe: 'cmbGender' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value Pin
Sandeep Mewara31-May-12 0:43
mveSandeep Mewara31-May-12 0:43 
QuestionGridview in Repeater Pin
zeeShan anSari30-May-12 4:33
zeeShan anSari30-May-12 4:33 
AnswerRe: Gridview in Repeater Pin
Sandeep Mewara30-May-12 10:17
mveSandeep Mewara30-May-12 10:17 
GeneralRe: Gridview in Repeater Pin
Apocalypse Now31-May-12 15:17
Apocalypse Now31-May-12 15:17 
GeneralRe: Gridview in Repeater Pin
Sandeep Mewara31-May-12 16:42
mveSandeep Mewara31-May-12 16:42 
GeneralRe: Gridview in Repeater Pin
Apocalypse Now1-Jun-12 15:19
Apocalypse Now1-Jun-12 15:19 
AnswerRe: Gridview in Repeater Pin
wikizhao31-May-12 22:26
wikizhao31-May-12 22:26 
AnswerRe: Gridview in Repeater Pin
taha bahraminezhad Jooneghani3-Jun-12 2:09
taha bahraminezhad Jooneghani3-Jun-12 2:09 
QuestionFind index or row in gridview with RadioButton Pin
Franco Cipriano30-May-12 4:03
Franco Cipriano30-May-12 4:03 
AnswerRe: Find index or row in gridview with RadioButton Pin
Sandeep Mewara30-May-12 10:11
mveSandeep Mewara30-May-12 10:11 
GeneralRe: Find index or row in gridview with RadioButton Pin
Franco Cipriano30-May-12 10:35
Franco Cipriano30-May-12 10:35 
GeneralRe: Find index or row in gridview with RadioButton Pin
Sandeep Mewara30-May-12 10:41
mveSandeep Mewara30-May-12 10:41 
GeneralRe: Find index or row in gridview with RadioButton Pin
Franco Cipriano31-May-12 4:44
Franco Cipriano31-May-12 4:44 
GeneralRe: Find index or row in gridview with RadioButton Pin
Sandeep Mewara31-May-12 5:06
mveSandeep Mewara31-May-12 5:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.