|
Hi there,
You may try to place the prefix ~ in the src attribute of the Register directive, it looks something like:
<%@ Register TagPrefix="uc1" TagName="HomePage" Src="~/HomePage.ascx" %>
|
|
|
|
|
hi thanks i did it but it does'nt work. even though i replaced .. with ~ but error still showing ../HomePage.ascx. interestingly when i placed the cotrole in same directry it is still showing ../HomePage error. can u tell me some other tips
|
|
|
|
|
Hi,
I am creating a screen saver application using ASP.net when ever the user is at default page ang has stoped there for more than 1 minute then a new I.E. window opens without toolbar & all stuff...like a normal screen saver, now my problem is I want to catch the last event the user as performed(like either the mouse click or key press) so that I can use the settimeout() function of javascript to launch the screen saver winodw.
can any body help me how to catch the time when the event has occured ???
Regards
Mohsin
|
|
|
|
|
|
Hi,
Thanks for the reply, dear i have another problem again can u help me out???
I am launching the screen saver (i.e. I am doing it by rotating couple of pictures in the I.E. window) and when this window is launched I close screen saver window on these events onkeydown="goBack()" onclick="goBack()" onmouseover="goBack()" where goBack()
function goBack()
{ winodw.close();}
Now the problem is as I am closing this window "onmouseover" event the window gets closed as soon it is opened because the mouse cursor will obviously be over the window.
So now I want to know is there any way I can hide the mouse cursor or fix it to any predefined x, y coordinates on the screen.
Regards
Enigma
|
|
|
|
|
i want to clear the the history of browser through
javascript .
If any function tell me please
Thanx
|
|
|
|
|
Hi:
For security reasons, much manipulation of web browser history stack may not be allowed by the web browser.
Of course, one way to secure your pages being stacked up, may to enqueue the calls from the page through javascript:location.replace in order that back button effects are reduced.
Did this help you out?
Deepak Kumar Vasudevan
Personal Web: http://vdeepakkumar.netfirms.com/
I Blog At: http://deepak.blogdrive.com/
|
|
|
|
|
|
Hi Norman:
Did you try appending
history.forward()
at the start page before anything else. This causes the script to be executed immediately.
When some there is something forward in the history stack relative to the current page (due to back button hit), then the statement pushes the browser to that URL.
Did this help you?
Deepak Kumar Vasudevan
Personal Web: http://vdeepakkumar.netfirms.com/
I Blog At: http://deepak.blogdrive.com/
|
|
|
|
|
thanks V. But no it didn't work. And, I don't understand why it would.
Anyway, here's what MSDN has to say about "history" object.[^]
I was hoping there's a "history.clear()" method. But, that probably won't make sense for obvious security reason.
Norman Fung
|
|
|
|
|
|
I have made a booking form and the first page is in html where i have my dropdown lists to be submitted. This information is then sent to the next page, which is a php page and this all works fine. My problem is I want to send information from 1 page to another page, which is not the next page along, so for example I want to send the amount of people to the confirmation page from the booking page, which skips out all of the pages between them. The code which I have so far is
Number of Passengers:
Echo" ";
Echo"";
1
2
3
4
5
6
7
8
9
This is to send the info from flightsquery.html page to the confirm.php page. This doesnt work, it puts on the form the dropdown list and has echo"" around it!!!!!!
Is there anyone that can help me, i desperatly need to know where i am going wrong as this is for my course and its driving me mad.
Oh is this is to view hiden info on a php page from a html page $_POST['NumPassengers']
To send from a php page to another php page is the code
$numPassengers = $_POST['NumPassengers'];
Echo"Click";
and
$_GET['numPassengers'];
or
$numPassengers = $_POST['NumPassengers'];
Echo"";
and
$_POST['numPassengers'];
Would appreciate it alot if someone could help me.
|
|
|
|
|
Echo"";
Echo"";
1
2
3
4
5
6
7
8
9
should be:
echo "
1
2
3
4
5
6
7
8
9
";
|
|
|
|
|
Does anyone know how to find the version number of a phpBB? I cannot access the site directly, I need to look internally at the php and tpl files, or the SQL database I use.
Thanks!
|
|
|
|
|
I've got a weird fault that happens on IE6 but not IE5 when trying to open an href link (to code used to open Excel spreadsheets). Basically the code where the error is raised (after clicking on link) is as follows:-
<a href ='/test/testing/testFile.asp?fileID=51511&ud=28362&fileno=4'><B>Ready</B></a>
The error (Description: Unspecified Error , Err no: -2147467259) that comes up is actually referring to the line highlighted below. Do you know why this would be the case? displayHelp does exist as a div tag.
function hideTips() {
var oDisplay = document.all['displayHelp'];
oDisplay.className = 'helpHide';
}
hideTips() is called by the code below which is loaded on a onload event.
function setBodyEvents() {
var oBodyTag = document.all['IDBodyTag'];
oBodyTag.onmouseover = new Function("showTips()");
oBodyTag.onmouseout = new Function("hideTips()");
oBodyTag.onclick = new Function("showActualTips()");
}
Any ideas as to what could be triggering this error or the solution to it would be greatly appreciated.
Cheers
|
|
|
|
|
Hi, I am new to this group . I'm having hard time in publishing tmodel on uddi server.
The sample code in C# is as follow:
static void Main(string[] args)
{
NetworkCredential cred = new NetworkCredential("usr","paswrd","dmain");
SoapHttpClientProtocol obj = Inquire.HttpClient;
obj.Credentials = cred;
Publish.Url = "http://localhost/uddi/Publish.asmx";
Publish.User = "adminstrator";
Publish.Password = "pswrd";
//Create tModel
SaveTModel stm = new SaveTModel();
stm.TModels.Add();
stm.TModels[0].Name = "Mytmodel";
stm.TModels[0].Descriptions.Add("en","Insert description here");
stm.TModels[0].OverviewDoc.OverviewURL = "Insert URL of WSDL here";
string sTModelKey = "";
//Send to UDDI
try
{
TModelDetail tmd = stm.Send();
sTModelKey = tmd.TModels[0].TModelKey;
}
catch (UddiException ue)
{
Console.WriteLine ( ue.Message );
Console.WriteLine("hello");
}
}
THE EXCEPTION OCCURS IS:
"request failed validation because the server was unable to de-serialize the message."
plzz if anyone can suggest me way to solve out.
Thanks & Regards
Abhinav
ABhinav
|
|
|
|
|
I'm trying to set up a PHP page to get a few things from an access database that i've got like 2 things in. Could some one please help me? PHP tutorials are not working? lol i get:
<?php
$conn=odbc_connect('fin','','');
?>
Gives me:
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data., SQL state S1000 in SQLConnect in c:\Inetpub\wwwroot\index.php on line 10
and
<?
$conn = new COM("ADODB.Connection") or die("Cannot start ADO");
// Microsoft Access connection string.
;$conn->Open("DRIVER={Microsoft Access Driver (*.mdb)};
;DBQ=C:\\inetpub\\wwwroot\\php\\mydb.mdb");
$conn->Open("DRIVER={Microsoft Access Driver (*.mdb)};
DBQ=C:\\inetpub\\wwwroot\\db1.mdb");
// SQL statement to build recordset.
$rs = $conn->Execute("SELECT myfield FROM mytable");
echo "<p>Below is a list of values in the MYDB.MDB database, MYABLE table, MYFIELD field.</p>";
// Display all the values in the records set
while (!$rs->EOF) {
$fv = $rs->Fields("myfield");
echo "Value: ".$fv->value."<br>\n";
$rs->MoveNext();
}
$rs->Close();
?>
Gives me :
Fatal error: Uncaught exception 'com_exception' with message 'Source: Microsoft OLE DB Provider for ODBC Drivers
Description: [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x564 Thread 0x72c DBC 0xb63404 Jet'.' in c:\Inetpub\wwwroot\index.php:13 Stack trace: #0 c:\Inetpub\wwwroot\index.php(13): com->Open('DRIVER={Microso...') #1 {main} thrown in c:\Inetpub\wwwroot\index.php on line 13
i don't know what to do...
|
|
|
|
|
|
Hi Folks!
I know it might seem weird, and it might be impossible to do due to security related and other reasons, but I need to know if is there a way to do the following:
I have a web-application made in asp, which shows a listing of registers, in which one the user can download a file (it's basically a Electronic Document Managing - like app). The user can download the file, edit it locally, and then, upload it to the server replacing the old one. But my customers are complaining that this operation is very annoying due to the download-edit-save-then-upload cycle. They asked me to make it possible to them to download the file, edit it in a browser-embedded editor (like Word, etc.), and whenever they finished editing the file, just by saving the file by the editor, the file would be automatically uploaded (?!?)
Well, I know it's kinda silly, but the customers are complaining a lot about that, and I want to know if someone has did some kinda thing like that, and how.
Thanks in advance,
Julio
|
|
|
|
|
I have done something like that, bt not exactly, as the back-end data is in xml.
I have developed a web page, with text fields where the customer can edit/add information. The back end asp page would then replace the information in the xml.
It is pretty straight forward using xml/xsl.
In Brief, the customer sees the information on the browser, and he has an "edit" link per every item - clicking on this, would take him to the edit page where he can change the information and hit save. There is also a global "Add" which will allow him to add a new item.
The advantage of xml is that you are not tied to any editor, per se an using xsl you can transform it to any format.
If you are interested - let me know - and i'll try explain more.
|
|
|
|
|
Thanks Niansah, I appreciate your help.
Unfortunately, I am tied to editors. I agree XML/XSL would be a great choice, but, again unfortunately, I can't change the way my costumers edit their files because it'll be greatly intrusive, as they have hundreds of files uploaded already.
Nevertheless, thanks for your reply.
Cheers
|
|
|
|
|
What format are the files in that they want to edit?
|
|
|
|
|
I have 3 frames. Top, middle, bottom.
I process some info in the top frame, store it in a session var.
I then want the app to write the information out in the bottom frame. Int he bottom frame I read the session var and write it out but I can't see it.
In general I seem to have a more fundamental conceptual problem. How does a frame know when to activate? In the above example, when I finish gathering the info I want in the top frame I then want the lower frame to write it. But how do I tell the lower frame that I am finsihed preparing the data and now you should to write it?
Within the top frame I tried Response.Redirect(bottomframe) BUT that displayed the bottom frame where the top frame was. Obvisoulsy this is not what I wanted. I wanted the app to write the contents in the bottom frame.
Thanks in advance
Brian
|
|
|
|
|
You need to tell the bottom frame to reload its content, when you are done in the top frame. This can be done with JavaScript, but unfortunally - I can't remember the excat syntax just at this time.
I would think it would be something like "parent.[framename].location.href = [pagename];"
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
For some URLs (e.g.http://v3.espacenet.com/origdoc?DB=EPODOC&IDX=WO2005028634&F=0&QPN=WO2005028634), the content length for the HttpWebResponse I get with request.GetResponse in empty. The response.GetResponseStream() also empty.
Here is the code snippet:
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(pageAddress);
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
StreamReader sr = new StreamReader(resp.GetResponseStream());
string pageData = sr.ReadToEnd();
The Content Type for the response is "text/html; charset=iso-8859-1" and the HttpStatusCode was OK.
What am I missing?
|
|
|
|