User Profile

Collapse

Profile Sidebar

Collapse
s2008
s2008
Last Activity: Dec 31 '08, 03:58 AM
Joined: Dec 18 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I got the Answer myself...

    function InsertLink()
    {
    var txt= document.getEle mentById("<%=te xtbox1.ClientID %>");
    txt.focus();
    if ((document.sele ction.createRan ge().text.lengt h)>0)
    {
    newRange = document.select ion.createRange ();
    newRange.text = '<a href="http://www.google.com" target=_blank...
    See more | Go to post

    Leave a comment:


  • Hyperlink a selected text from a specific textbox

    Hello,

    In my page i have two textboxes and a html button. I'm using vb.net 2.0 . what i need is i want whatever text selected in the textbox1 to be hyperlinked when clicked the button... this is no problem.. i'm getting it easily.. But my problem is , if i select some text from the textbox2 and click the button it is also hyperlinked. i want only whatever text selected in the textbox1 to be hyperlnked and not in textbox2. Please tell...
    See more | Go to post
    Last edited by gits; Dec 29 '08, 12:09 PM. Reason: added code tags

  • s2008
    started a topic About Enter key in vb.net code behind

    About Enter key in vb.net code behind

    Hi,
    I'm using vb.net 2005. In my code behind i wrote like this code..
    [code=vbnet]
    Partial Class SearchTxt
    Inherits System.Web.UI.P age
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArg s) Handles Me.Load

    End Sub
    Protected Sub TextBox1_TextCh anged(ByVal sender As Object, ByVal e As System.EventArg s) Handles TextBox1.TextCh anged
    If Not TextBox1.Text...
    See more | Go to post
    Last edited by Frinavale; Dec 18 '08, 06:57 PM. Reason: added [code] tags
No activity results to display
Show More
Working...