|
Hi.
You guys know the type of functionality in CP where if you search for things in articles you can specify if you want the search terms to be highlighted in the results, right?
Does anyone know of an article or source code that does something like that?
I need to get it working in my project.
Thanks alot!
M
|
|
|
|
|
One way to do this would be to have a javascript function which would read the page and wrap the relevant text in spans (set the style of the span to have a background colour).
|
|
|
|
|
|
Than you.
I was searching around on the web as well, but probably not as efficiently as you were...;)
|
|
|
|
|
I am using a Gridview and I added to it a checkbox field that is dynamically bound to a bolean value, the thing is that the checkboxes are always disabled and I can't change there status at all. Is there any help with this?
Mohamed El Gohary
|
|
|
|
|
I have to Bind RadioButton control with a field in database.
as in this field i have two values like completed and notcompleted.
i have show checked radiobutton when it is completed with every row.
can any one tell me how can i do it.
ajeet
|
|
|
|
|
Hi Friends!
I developed a website in asp.net using c#, I created a master page and using it in all other pages. I also have some javascript functions in content page but there is no AJAX control or any kind of control related to AJAX. But someimes, specially when I send user to 'Home' page from another page then I get this stupid javascript error 'Sys is undefined' but when I refresh the page then there is no error. If anyone of you knows about it please tell me how can I fix it?
Waiting for your reply,
Kind Regards,
Abubakar
|
|
|
|
|
Sys is defined in the Microsoft AJAX Library, therefore I assume that there has to be any kind of a AJAX control on your site or at least some JavaScript that references Sys.
I suggest that you take Firefox with the Web Developer Add-on and when you encounter the error then have a look a all JavaScript that is loaded for the page and look for the reference to Sys. Maybe this way you can find the reason.
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
Ya Enzler, You are right, I just remember that as we are calling a webservice in javascript so we are using 'Sys' in a .js file. Here is the code which we are using for that;
PPMService.registerClass('PPMService',Sys.Net.WebServiceProxy);
Will u please tell me what should I do? I have noticed one thing more that if ur page remains untouch for some time then it also gives same error. Plz suggest a solution.
Regards,
Abubakar
|
|
|
|
|
A simple solution - but not necessarily the right one - is to add a ScriptManager (from ASP.NET AJAX) to the master page. Then the needed js files are registered on the client.
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
The problem is I am relatively new here in asp.net 2.0 and I didn't develop project, I am just fixing bugs. I have found this in masterpage;
<asp:scriptmanager id="ScriptManager1" runat="server">
but I could not find definiation of 'ScriptManager1'. Will u please tell me how can I add a ScriptManager in masterpage?
|
|
|
|
|
Ask someone of your development team or look at http://ajax.asp.net.
Basically drag and drop the ScriptManager from the Toolbar onto the design view of the Master page.
-^-^-^-^-^-
no risk no funk
|
|
|
|
|
This is the main problem that we all are a new development team. The guy who developed it is in Israel and on vocations. ScriptManager is already there in masterpage. I also added following line in <httphandlers> tag under web.config
<add verb="GET" path="ScriptResource.axd" type="Microsoft.Web.Handlers.ScriptResourceHandler" validate="false">
But still no difference. If I page remains untouched for some time or another page sends user to 'Home' page then I get this stupid javascript error. I am really tired with it and still looking for a solution.
Abubakar
|
|
|
|
|
Hi can someone help me or give a sample program using ASP.NET in creating a web based time-tracking system? The specifications are: 1. can created database for site services (example only)
2. can integrate the site assignment and last 3: can generate a report Thank you!
Jeremie
|
|
|
|
|
Are you asking for this[^].
Apurva Kaushal
|
|
|
|
|
Hi friends
I have one table in which i have one field for image path.
now i want to save these images in dir.
plz give some code or link for this
thanks in advance
pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Hello Imran
i think you want to upload the image from local machine to server then store it
USe ASP FileUpload control that is available in ASP.NET 2.0
Check google for the code you will get many optins
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hello Sandeep
Thanks for reply
But I dont want to use any control in page.
In page load event,I get image path from table and just want to save that Images in dir using code.
If U have any idea plz tell me.
Thanks again
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
So what toy want to do is to copy a image from one location to another?
Apurva Kaushal
|
|
|
|
|
Hello apurva
I have just image path as string.
I want to save this image in root dir as a picture format
got it?
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Imran Khan Pathan wrote: I have just image path as string.
This is some other physical location right?
Imran Khan Pathan wrote: I want to save this image in root dir as a picture format
And now you want to copy it form that location to the root folder of your application.
For copying you can use File.Copy method in system.io namespace
Apurva Kaushal
|
|
|
|
|
But Every user required permission to copy that file as it will through Exception if the user don't have valid permission
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Litsen
I am getting image path from the table just like as
string str="http://www.codeproject.com/images/Independence/codeproject225x90.gif";
and now want to save this image in folder as a picture.
I dont want copy of image path.Just I want to get image of that image path.
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
Imran Khan Pathan wrote: tring str="http://www.codeproject.com/images/Independence/codeproject225x90.gif";
Again question is the path of image is from local machine or the image is at any other server
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
The image path is from any other server
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|