|
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
|
|
|
|
|
Finally I got solution
Thanks to everyone
Regards
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
I have a stand alone application (messenger). I was asked to the messenger to have the fallowing possibility:
from a link with a phone number parameter to make a call in the application. If the messenger is not installed, to take the client to the official web site. If the product is installed to see if it is open. If it is open and the user is logged in to make the call.
My idea is the client to check the registry and see if the product is there, which solves the first part. If there are certain keys in the registry next step is from the processes to see if the product is active. If active somehow send instruction to call the function : CallNumber( phonenumber phnum)
Can you give me any leads on how to do all this, any other solution to the task?
The project is done in C++
Thank you very much
|
|
|
|
|
|
I am not sure where to post it, but ASP.NET is one of the offered technologies I can use to solve the problem
|
|
|
|
|
Hi,
I am using MS.NET 1.0.
In my project I cann't find the Crystal report item in Add new item.how can add crystal report to my project??
But, in Help Menu i saw the crystal report as in installed item list.
shall I add any other ( lik add reference ) for this??
plz help..
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
I am using filter attribute in css class and want to apply css class on data grid header but it doesnot apply.
Any suggestions
Do good and have good.
|
|
|
|
|
I am uploading a csv file in which one cloumn is of 16 digits having value
1230000000000000 but when i upload this file on server this value becomes 1.23E+15.
and i am using below code to read this file. my problem is it is reading the value as 1.23E+15. please help me.
string strConn = "Provider=Microsoft.Jet.OleDb.4.0;" + "data source=" + path + ";" + "Extended Properties='text;HDR=Yes';";
string strSql = "Select * From " + filename;
DataSet lobjDtset = new DataSet();
OleDbConnection objConn = new OleDbConnection(strConn);
OleDbCommand objCmd = new OleDbCommand(strSql, objConn);
pstrError_Code = "0";
try
{
objConn.Open();
OleDbDataAdapter myData = new OleDbDataAdapter(strSql, strConn);
myData.Fill(lobjDtset);
return lobjDtset;
}
catch (Exception ex)
{
throw ex;
}
Rickey
|
|
|
|