|
hi,
Can anyone help me in -> how to search a word or text in a web page ? .
I using ASP & Sql Sever 2000.
vivek
|
|
|
|
|
You mean how to search the database?
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
-- modified at 7:39 Tuesday 14th February, 2006
|
|
|
|
|
just simple using SELECT query....
<< >>
|
|
|
|
|
Dear all
I used the method showModalDialog("url") to diaplay a modal dialog box.But i am gettin displayed with both the dialog box and browser window of the specified URL.
I need only dialog box to be displayed.
Please help me to resolve this problem
Daewoo
|
|
|
|
|
Show your code.
---
b { font-weight: normal; }
|
|
|
|
|
uid=window.showModalDialog("mod.htm","","dialogWidth:260px;dialogHeight:300px");
Daewoo
|
|
|
|
|
That doesn't do anything but showing the dialog.
Do you mean that the browser window still is shown while the dialog is open? If so, that is normal, and there is nothing you can do about it.
---
b { font-weight: normal; }
|
|
|
|
|
Dear Guffa sir,
The problem is as follows:
First,You consider the main window where showDialog is written and now it pops
a dailog window but along with this, the url mentioned in showModalDialog is
getting opened in a browser window too.
Please resolve this problem.
Regards
Rukesh D
Daewoo
|
|
|
|
|
The code that you have shown doesn't do that. You must have some more code that is executed.
---
b { font-weight: normal; }
|
|
|
|
|
well you might use the close method after viewing the dialog, but I dont think its possible to view only the message.
----
Dim Sleepy as Boolean = True
If Me.Sleepy = True Then
Goto Sleep
End If
----
|
|
|
|
|
Hi
In one .aspx page, the width of a cell is 150 px. During testing I entered a very long string like "THIs a verrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrryyyyyyyyyyy long string". Now the problem is that the cell auromatically widens to accomodate the content. But, I want it to wrap the extra text to next line.
How can I do this? Please advice.
Thanks
|
|
|
|
|
Wrap the whole control in a <table> or <div> that has a fixed width.
|
|
|
|
|
|
My pages works fine on the local development PC but after uploading I get this error when accessing the ASPX page that displays some dynamic graphics using canvas.
Any ideas from this error msg below what I can do to fix this? It seems like it does not see or use the DLL? Does this need to be ïnstalled/registered on the IIS server I have uploaded to?
Thanks.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: File or assembly name DreamweaverCtrls, or one of its dependencies, was not found.
Source Error:
Line 1: <%@ Page Language="C#" %>
Line 2: <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls" Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutral" %>
Line 3:
|
|
|
|
|
Are your DreamweaverCtrls installed on the server?
|
|
|
|
|
Suppossing I have an ocx file, is there any way to determine if this control has been signed?
I'm using mozilla, so maybe I'll need some c++ API.
Can someone help
Thanks,
Kishor
|
|
|
|
|
How can I enable SSL and Https on ISS Web Server?
I'm using WinXP SP2.
Thanks,
Hung.
Hung
|
|
|
|
|
hi all,
how can i delete temp files used in session when the session ends?
the user does not have to authenticate for the session. but a temporary invoice is created as pdf and shown as link on page after it is emailed off. when the session ends i would like to delete this file to not clutter up server.
any ideas please?
kind regards.
g00fy
|
|
|
|
|
If there is any event that happens when the session times out, you can use that.
If you would have mentioned what platform you are using, I could have been more specific.
---
b { font-weight: normal; }
|
|
|
|
|
sorry i just assumed this was asp.net forum
im using c# too
the session_end doesnt fire, i know this only fires when the session times out and not when the browser is closed, but the file is not being deleted. and the event isnt fired
any ideas please.
i was thinking of firing a thread on application start to handle all the cleanup by associating a sessionid with the file and if that session id wasnt current then it would delete the file, but i think i would (to be safe) have to sleep the thread for at least 30 mins as they could leave the page with the link open indefinetly.
sleeping a thread for this long doesnt seem right. so i abandoned that thought.
regards,
g00fy
|
|
|
|
|
Are you really sure that the event isn't fired? Can't it be that the code that you have put in the event handler isn't working? As the event isn't running as the result of a request, there are some things that you can't use in the code, like Server.MapPath.
You shouldn't need a separate thread to handle this, as there already is a thread running that fires events when the sessions end. Make your code work with the system instead of trying to build a copy of it.
---
b { font-weight: normal; }
|
|
|
|
|
this code in session_end doesnt delete the file, and it definityle exists, it should always but just to be sure i check, in case of creation errors.
string file = Convert.ToString(Session["temp_invoice"]);
if(File.Exists()) File.Delete(file);
any ideas, please
thanks for your help so far.
kind regards,
g00fy
|
|
|
|
|
Then it might be a file permission issue.
In ASP, the Session_OnEnd event runs directly under the IIS process that uses a different user account. The same might apply to ASP.NET.
Try to set change permission to the folder for the IWAM_[machinename] account also.
---
b { font-weight: normal; }
|
|
|
|
|
I want upload 1 file by use asp page.
I don't know the way to do.
Can any one help!
|
|
|
|
|
Hi Lien,
just do a quick search from this site, below are some links migh be what you need
Ex 1
Ex 2
Hope this helps
<< >>
|
|
|
|