User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 423,355 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 5,175 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 432 | Replies: 4 | Solved
Reply
Join Date: Feb 2008
Posts: 13
Reputation: vishakha_ate is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
vishakha_ate vishakha_ate is offline Offline
Newbie Poster

Please Help!! Its Urgent

  #1  
Jun 23rd, 2008
Hi friends,
Need you help.

I m using some search criteria and searching the data from database.
now i got the data from database as per search word. and displaying all information on web page.
now i want to change the background color of that word as when we search in daniweb and we get the word highlighted .

Please help me...
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 125
Reputation: bala24 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 11
bala24's Avatar
bala24 bala24 is offline Offline
Junior Poster

Re: Please Help!! Its Urgent

  #2  
Jun 24th, 2008
How are you displaying the search results on the page ?
Michelangelo

"The best place to find a helping hand is at the end of your own arm"
Reply With Quote  
Join Date: Feb 2008
Posts: 13
Reputation: vishakha_ate is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
vishakha_ate vishakha_ate is offline Offline
Newbie Poster

Re: Please Help!! Its Urgent

  #3  
Jun 25th, 2008
Originally Posted by bala24 View Post
How are you displaying the search results on the page ?


m displaying the data in on its related page.

Suppose in MAster i have four tables to be searched
i have one dropdown in that m showing the data to be Search In
if i give blog int that dropdown then it ll search a data in blog table and show the blog page.

In blog page m using Gridview.
in that one column and itemtemplate in that.

Now in item template i have label and all and now on that label i have to hightlight the search data.
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 125
Reputation: bala24 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 11
bala24's Avatar
bala24 bala24 is offline Offline
Junior Poster

Re: Please Help!! Its Urgent

  #4  
Jun 25th, 2008
Hey, I haven't Done this ever but found something that might help you.

Try this link. Its got a pretty neat solution.
http://www.experts-exchange.com/Prog..._23002305.html

Hope this helps.
Michelangelo

"The best place to find a helping hand is at the end of your own arm"
Reply With Quote  
Join Date: Feb 2008
Posts: 13
Reputation: vishakha_ate is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
vishakha_ate vishakha_ate is offline Offline
Newbie Poster

Re: Please Help!! Its Urgent

  #5  
Aug 5th, 2008
Originally Posted by bala24 View Post
Hey, I haven't Done this ever but found something that might help you.

Try this link. Its got a pretty neat solution.
http://www.experts-exchange.com/Prog..._23002305.html

Hope this helps.

Thanks bala!!
I solved it today by just replacing the page data string by other. which works neatly
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 12:03 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC