Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. URGANT help in asp script call back

URGANT help in asp script call back

Scheduled Pinned Locked Moved ASP.NET
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    r_jaz
    wrote on last edited by
    #1

    Hi i'm using asp javascript call back to retrieve a text from the server and i want to highlight the keywords in the retrieved text using a highlight function written in ac# script on the client. Now i have a problem in calling the highlight function after getting control back from the server in the client script, the highlight function is never called after getting back!! here's the javasript code: function GetMessageFromServer() { CallServer(); } function ReceiveServerData(rValue) { //Label1 is a hidden label inorder to pass the // string retrieved from the server to the highlight function document.forms[0]['Label1'].Text=rValue; if(rValue!="") { //calling the highlight function <% if( ! (Label1.Text.Equals(""))) { lbl.Text=Highlight(Label1.Text,"test me please!!"); } %>; } } help is highly appreciated, Thanx

    P 1 Reply Last reply
    0
    • R r_jaz

      Hi i'm using asp javascript call back to retrieve a text from the server and i want to highlight the keywords in the retrieved text using a highlight function written in ac# script on the client. Now i have a problem in calling the highlight function after getting control back from the server in the client script, the highlight function is never called after getting back!! here's the javasript code: function GetMessageFromServer() { CallServer(); } function ReceiveServerData(rValue) { //Label1 is a hidden label inorder to pass the // string retrieved from the server to the highlight function document.forms[0]['Label1'].Text=rValue; if(rValue!="") { //calling the highlight function <% if( ! (Label1.Text.Equals(""))) { lbl.Text=Highlight(Label1.Text,"test me please!!"); } %>; } } help is highly appreciated, Thanx

      P Offline
      P Offline
      PlayByTheRules
      wrote on last edited by
      #2

      r_jaz wrote:

      URGANT

      You may get a faster response if you don't label your post as URGENT (or URGANT as per your preference)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups