|
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
<< >>
|
|
|
|
|
I am trying to validate a text box as the user keys in the dollar amount. Using the below function, if the user keys in "a", it does the alert If I key in 10aa, I get the alert but if I key in 10a, I don't get the alert.
Any ideas about what I am doing wrong.
Thanks
John
function TestForNumber( obj, event )
{
var curChar = String.fromCharCode( event.keyCode );
var inpStr = obj.value + curChar;
result = inpStr.match( '^[0-9]+\.?[0-9]??[0-9]?$' );
if ( ! result )
{
event.returnValue = false;
event.cancel = true;
alert("Unapplied cash can only be numerical data")
}
}
|
|
|
|
|
Check out the script here[^].
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
Thanks for the reply, but can't view it. Javascriptkit.com's server has been down for two days
|
|
|
|
|
I am trying to write this program It would be helpful to the user if they could be informed, as they are typing in their values, which day of the week they were currently
entering data for, and also if this information was provided in the
output.
can anyone help
<HEAD>
<TITLE> Exhibtion Attendance
</TITLE>
<SCRIPT >
/* Program to display exhibition attendance figures*/
var attendArray = new Array ('Monday','Tuesday','Wednesday','Thursday','Friday');
document.write('Array program to provide daily exhibtion attendance figures');
for (var day = 0; day < attendArray.length; day = day + 1)
{
attendArray[day] = window.prompt('Enter attendance figure for ' + (day + 1 ),'')
};
document.write('<BR>' + '<BR>');
document.write('Confirmation of daily exhibition attendance' + '<BR>' + '<BR>');
for (var day = 0; day < attendArray.length; day = day + 1)
{
document.write(attendArray[day] + '<BR>')
}
</SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>
-- modified at 7:05 Sunday 12th February, 2006
|
|
|
|
|
I am working on a project where I need to upload a logo that can be used with different t-shirt styles, colors and the logo must be able to resize on fly and maintain transparency color.
-My original idea was to use aspimage by using either DoMerge or AddImageTransparent but aspimage won't let me load gif file
http://www.serverobjects.com/comp/Aspimage.htm
-then I decided to go with .png (by keeping t-shirt in background in the table) but png has some compatibility issue since IE doesn't support variable transparency or alpha channel (which means I have to specify only ONE transparency color to begin with)
-then I look for info about asp.net but it turned out that asp.net doesn't support transparency
-then I finally found this SevenObjects that let me Create Thumbnails & Maintain GIF Transparency
http://www.dnzone.com/showdetail.asp?NewsId=327&savePass=1&strUserID=denden&strPassword=4edz7c&Submit=Login&offset=0
but I couldn't find any documentation on how to use it.
so here are my questions
1) How do I create .gif or .png thumbnails on fly which maintain transparency color
2) Are there any components or solutions to merge transparency gif with different image?
2) Here is the best example of exactly how I need it --> http://www.comboutique.com/shop/t_shirt_minute.html
customer select the design and tshirt style then it dynamically display output which maintain transparency of design so it can merge with different tshirt (how to do this in asp?)
or any solution on how to acomplish this is great help and sorry about my poor english ^^
|
|
|
|
|
Dear All
How to Starting Programming with Web Service.
Pls, intro to concept and implementation.
Best Regard.;P
Beginning Programmer.
|
|
|
|
|
Hi,
I have a very serious problem. I have been hunting the net for past 1
month, but the out come is nill.
My problem is I have to display calander items of a PST file from a ASP
page, but there is no Exchange server. I have IIS installed & running
well.
Can anybody help me solving the problem.
I just want the way I can get connected to the Outlook Pst file.
I have several documents which tells me how to get connected using
WScript.
But I cannot modify that to get the solution for my problem
I know to access outlook we need :
Set objOutlook = CreateObject("Outlook.Application")
but whenever the line is written on the page the IIS server crashes -
as if it is trying to go through an infinite loop.
This line works perfectly fine with standalone VBScript & VB6.
I need a replacement of this code that can help me connecting to the
pst files with no exchange installed.
Please help me........
|
|
|
|
|
Hi,
I am looking for some information on best practices on how I might solve the following challenge:
I have a ASP-based security core to handle all user security and now I have come to the point of building modules to be used in the system and am aiming to have a kind of plugin skeleton which can be dynamically loaded and run by the core, something like, I imagine it to work like this but not sure how to accomplish it:
Skeleton file is loaded and Load() method executed
Load() method would handle display and execution of the module
Unload() method would unload the module
Any help/pointers on this would be gratefully received.
|
|
|
|