|
Smilies are just like exclamation marks. If you use them too much, they become totally meaningless.
You can only limit the size of a window if you use window.open to open it.
---
b { font-weight: normal; }
|
|
|
|
|
Hi(Papa)
U mean in .NET we don't have any feature to fix size of our webpage when we are designing it?
Thanks alot.
|
|
|
|
|
That has nothing to do with .NET. The browser won't let you take control over the size of the main browser window. If you want a window with a specific size, you have to open a new window.
---
b { font-weight: normal; }
|
|
|
|
|
Hi everyone
I'd like to disable "Back" button on my browser for my users on my webApllication or webSite.
How can I do this??
If U know plz answer me as soon as possible
Thanks alot
|
|
|
|
|
You can't disable back button.But you can restrict the back button functionality
// go forward
window.history.forward();
while pressing back it will automatically forwards once.So the same page retains.
while the history.forward() method lets you access the next URL in the history list (equivalent to hitting the browser's "Forward" button).
|
|
|
|
|
Hooooraaaaa
I'm very delighted and so happy to find my answer.
If U were near me I would kiss U
Thanks alot.
|
|
|
|
|
Hi
Where Should I add this code?
In my webpage htmlSource?
Thanks
|
|
|
|
|
Hi
How to send dropdownlist back???
Thanks in advance
|
|
|
|
|
|
|
|
|
|
|
This is not a programming question.
Please post it in the lounge.
----------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|
|
Hi,
I am creating one survey page. where user are given a list of option. there are five options for each question. user need to select not more than 2 checkboxes out of 5 options. i am just wondering what would be the simplest way to achieve this.
thanks
|
|
|
|
|
|
Hi I tried to follow one of the article from 4guysfromrolla. i created a DLL file based upon thier article and copied into my project in the bin directory and did exactly as they said but i got following error.
www.4guysfromrolla.com/webtech/tips/t040302-1.shtml
-------------------------------------------------------
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 validate.dll, or one of its dependencies, was not found.
Source Error:
Line 1: <%@ Register TagPrefix="CustomValidators" Namespace="CustomValidators" Assembly="validate.dll" %>
Line 2: <HTML>
Line 3: <body>
Source File: c:\inetpub\wwwroot\TrainingSurvey\WebForm1.aspx Line: 1
Assembly Load Trace: The following information can be helpful to determine why the assembly 'validate.dll' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = validate.dll
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/TrainingSurvey
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: validate.dll
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/trainingsurvey/e51b964e/455a08a7/validate.dll.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/trainingsurvey/e51b964e/455a08a7/validate.dll/validate.dll.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/TrainingSurvey/bin/validate.dll.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/TrainingSurvey/bin/validate.dll/validate.dll.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/trainingsurvey/e51b964e/455a08a7/validate.dll.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/trainingsurvey/e51b964e/455a08a7/validate.dll/validate.dll.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/TrainingSurvey/bin/validate.dll.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/TrainingSurvey/bin/validate.dll/validate.dll.EXE.
please help.
|
|
|
|
|
|
hi to all,
I have a grid view (ASP.NET 2.0) that displays a list of products, when i click the delete image the row is deleted, then in the RowDeleted handler i attempt to delete the products images folder.
and i get a message say the directory is locked by another process. I assume the process is the browser, but i dont see why if the row is deleted.
How do i get around this problem, so I dont have unwanted fs directories laying about.
this is my code
protected void gridProducts_RowDeleted(object sender, GridViewDeletedEventArgs e)
{
if (e.Exception == null)
{
string code = (string)e.Values["ProductCode"];
string path = SiteConfiguration.ProductImagesUploadDirectory;
path = Server.MapPath(path);
path = Path.Combine(path, code);
if (Directory.Exists(path))
{
Directory.Delete(path, true);
}
}
}
kind regards,
g00fy
|
|
|
|
|
I don't think it's the browser, but you can use the SysInternals tools[^] to check which application/process is holding the directory.
|
|
|
|
|
Be careful when Using Directory.delete in ASP.net 2.0 Here is a link explaining why http://vikramlakhotia.com/Post.aspx?postID=6
Vikram
|
|
|
|
|
hello everyone,
i have posted a message since 2hrs long can anyone plz help me in writing the code
king regards,
Balla
Balla mehar murali ,software development , hyderabad
|
|
|
|
|
|
hi.
i want send alarm by sms to my client but i don't have any idea.
plz get some info about send sms by asp.net
tanx
thinking,feeling and then acting...
|
|
|
|