|
I have following Query #
1. How to remove the 'X' Close button from Windows Pop-up for IE browser Window ?
2. Is this possible with Modal Window ?
3. Is there any sample code available for the implementaion of above feature ?
Sachin A
|
|
|
|
|
|
Hi,
I am looking for an advice regarding learning new technologies. Currently, I am working with vb.net and asp.net at work and almost bored with same routine loop work. Usually I have spare time at work to learn something new everyday. But the only challenge is “what is the best to learn”. i.e. I want to spent my time learning something useful that is worth spending time on. Recently, I did lot of research on AJAX and in fact used in my most of the projects as well. I found this technology really useful but the only problem I encountered that did find many resources to learn more.
Any Suggestion/Comments will be much appreciated.
Thank you in advance.
Waheed Ashraf
|
|
|
|
|
Good! Seems that U are Technical Enthusiastic
U can learn Asp.net2005 and Sqlserver 2005, xml, Sharepoint Portal too including Azax
"Aim to go where U have never been B4 and Strive to achieve it"
http://groups.yahoo.com/subscribe/dotnetforfreshers
http://himabinduvejella.blogspot.com
|
|
|
|
|
i folks,
Consider the following JavaScript function:
function removeParam(str, name)
{
var rgx = new RegExp('(' + name + '=\\w*)|(' + name + '=\\w*;)');
rgx.global = true;
rgx.ignoreCase = true;
var matches = rgx.exec(str);
if(matches == null)
return str;
var i;
for(i = 0; i < matches.length; i++)
str = str.replace(matches[i], '');
return str;
}
and the following call:
var cookie = 'vid=39; vid=38; ASPNETSESSION=WHATEVER; vid=39';
alert(removeParam(cookie, 'vid'));
I actually would like to remove "vid=(whatever number)" from the above
string, so that it results in the following string:
ASPNETSESSION=WHATEVER
would someone please helps me to fix the problem? I've got no idea
what's wrong with the above pattern I've written.
Thank you for your time.
Mehdi Mousavi - Software Architect [ <a href='http://mehdi.biz'>http://mehdi.biz</a> ]
|
|
|
|
|
Perhaps you should mention what the problem is? It would greatly simplify fixing it...
I don't think that your replace is working the way you think. At least you should skip the first item in the array, as it contains the entire matched string, not a matched group.
Why don't you just use the RegExp object in a replace?
function removeParam(str, name)<br />
{<br />
var rgx = new RegExp('(^|; )' + name + '=\\w*(?:; )?');<br />
rgx.global = true;<br />
rgx.ignoreCase = true;<br />
return str.replace(rgx, '$1');<br />
}
I simplified the expression a bit, and made it aware of the beginning of the string or the separator before the name, so that it doesn't mess up other values. Otherwise removing the "on" property from "on=42; ASPNETSESSION=WHATEVER" would result in "ASPNETSESSI".
Reservation for typos, though. The code is not tested.
---
b { font-weight: normal; }
|
|
|
|
|
BUSINESS PROPOSAL LETTER.
We have all brands of Mobile Phones,Ipods,Sidekicks,Nextels phone,Laptops for sell at cheap and
affordable prices, they ranges from Nokia/Samsung/LG/Sony Ericsson/Motorola/Alcatel/panasonic With Bluetooth, all Brands and Models of Nextel Phones,we want you to get back to us with your quote so that we can begin a good business relationship. Note they are all Brand New T2 Euro specs, unlocked, no operator logo, come in their original sealed box, With 1 year
international warranty from the manufacturer, English & Spanish manual, Finland made. We want to assure you that you will never regret buying from us because the delivery will be to your doorstep via FedEx Courier service.And the Tracking number shall be sent to you upon acknowledgement of your payment. Kindly acknowledge the reciept of our mail and get back to
us at vallenmobiles@hotmail.com
PLAY STATION 1 AT JUST $100USD
PLAY STATION 2 AT JUST $140USD
We also have al kinds of xbox 360s for sale
Apple 20 GB iPod Nano......$60.00USD
Apple 4 GB iPod Mini Pink M9435LL/A ......$70.00USD
Apple 40 GB iPod photo......$80.00USD
Apple 4 GB iPod Mini Silver M9160LL/A ....$70.00USD
Apple 60 GB iPod Photo M9830LL/A......$100.00USD
Apple 60 GB iPod photo .....$55.00USD
Apple 30 GB iPod Photo M9829LL/A.......$95.00USD
Apple 512 MB iPod Shuffle MP3 Player......$50.00USD
Apple 4 GB iPod Mini Blue M9436LL/A.......$70.00USD
Apple 2 GB iPod Nano.....$90.00USD
Apple 60 GB iPod Vidoe....$150.00USD
Apple 30 GB iPod Vidoe......$110.00USD
Apple 60 GB iPod Vidoe....$150.00USD
NEXTEL 1930 ................$120USD
NEXTEL 1960 ...............$130USD
NEXTEL i870 ...............$140usd
NEXTEL 1860 ...............$110USD
SAMSUNG SCH i830 .............$220USD
SAMSUNG SGH D720 .............$170USD
SAMSUNG D500 .................$160USD
SAMSUNG i300 .................$170usd
SAMSUNG K800i.................$180usd
MOTOROLA V3 RAZ ................$150USD
MOTOROLA MPX 220 ............... $120USD
MPX 300 .........................$150USD
SIDEKICK 2 ....................$120USD
SONYERICSSON W900 ..............$190USD
SONYERICSSON W800...............$170usd
SONYERICSSON P910...............$140USD
SONYERICSSON P800 ...............$130USD
SONYERICSSON K750i ..............$110USD
NOKIA 8800 .....................$170USD
NOKIA 9500 .....................$190USD
NOKIA 9300 .....................$180USD
NOKIA N70 .....................$150USD
NOKIA N80 .....................$170USD
NOKIA N90 .....................$190USD
NOKIA N91 .....................$210USD
NOKIA N92 ....................$230USD
NOKIA E60 .....................$160USD
NOKIA E61 .....................$180USD
for more details contact vallenmobiles@hotmail.com
|
|
|
|
|
Your company must be real quality if the only advertising you can afford is spamming web forums.
|
|
|
|
|
vallentino wrote: Apple 20 GB iPod Nano......$60.00USD
I'll take that one, please. $60 sounds like about the right compensation for having to read your ad while browsing forums on a coding site - you just send me the iPod and we'll call it square, eh?
|
|
|
|
|
I have three web pages here, page A, B and C. When buttons on page A and B are clicked, page C will be displayed. But the displayed contents on page C coming from Page A and B are little bit different. I want to know that page C comes from page A button click or page B button click. I’m thinking about to use static variable to remember which button is clicked. Could you give me suggestion? Thank you so much.
|
|
|
|
|
hi there,
use Query String would be an option...
<< >>
|
|
|
|
|
Yes, it works well. Thank you very much.
|
|
|
|
|
It works well. Thank you very much.
Jane
|
|
|
|
|
Hi I have a problem that refers to dubbelclick on a button.
I want to prevent the server code to run again after a second postback.
I can not solve this with javascript because my clients doesn't always allow javacript.
I know that a thread on the server doesn't die because of a second postback while the first thread is running but the connection to the client doesn't seemes to work for the first thread after a second postback.
Often this isn't a problem but I want to redirect the client to a new page after saving data to the database.
I created a function to see if it is a second postback or not so that is not my problem.
I think the answer is in the threads.
If you have any Idea or question please tell me.
Thanx!
-- modified at 8:56 Tuesday 18th April, 2006
|
|
|
|
|
The only way to do this is with Javascript - by disabling the button after the first click.
You could also add a message kindly asking users not to double press the submit/save button for those that have JS switched off.
|
|
|
|
|
There must be a way.
You can not trust a user to follow directions. If they click more then once the data will be stored twice.
I can with cash and a hiddenfield check if it is a second click on the button during the first postback but I somehow lose the connection to the client with the first thread.
I have done two different test and sometimes it is the same thread that executes the code on the server side for both postbacks. I don't know why. If it is the same thread then it's easy but not if it is different threads.
Do you know why it is different threads sometimes?
How can I get hold of the first thread and merge it with the second.
Thanx!
|
|
|
|
|
Store on server the time of last data submit. When user submitting form you can calculate difference between current time and last submit time. If this difference is less than 1 second, you must ignore this submit.
Best regards, Alexey.
|
|
|
|
|
That is almost how I did it but thats not my problem.
My problem is that the first postback don't have the connection to the client if a second postback occures.
Lets say that I have to store some data in my database and then I get an Id back from the database and I have to use that in a response.redirect. If there is two postbacks then the first one with the response.redirect will not do anything because the second postback is the one with the connection to the client.
It doen't matter if I don't do any thing with the second postback it is stil the one with the connection to the client.
I think the solution is to merger the threads or something but I don't know how.
Thanx for your answers!
|
|
|
|
|
Hello, I have a WebService where I have added som methods, when I try to update the excisting WebService by just copying the new files into the folder only the old methods work.
If I brows the asmx file in the IIS the new methods are in the list, but if I invoke a new method a page shows with a yellow bar at the top saying "Youre security settings do not allow Web sites to use ActiveX controls installed on youre computer......."
It seems to me that the webservice is using som old DLL files stored some where on the server.
Anybody with any idees to where these dll files may be located?
Spaz
-- modified at 10:12 Tuesday 18th April, 2006
|
|
|
|
|
Hi all,
I have this script where i generate DIVs dynamically and put them one under another by setting their style.top property.
Now when i add any thing to the top most positioned DIV and increase its height, it expands and overlaps the DIV below.
Is there anyway, in which i can make these DIVs like normally generated DIVs, so that they push down other DIVs when their height is increased.
Or is there a workaround for this problem.
Thanks in advance.
*** Who said nothing is impossible? I have been doing it for a long time ***
|
|
|
|
|
Try using "z-index" CSS property.
Best regards, Alexey.
|
|
|
|
|
Can you please explain a bit more as to what z-index property exactly does and how its presence impacts surrounding elements ??
Thanks in advance.
*** Who said nothing is impossible? I have been doing it for a long time ***
|
|
|
|
|
|
CoolASL wrote: and how its presence impacts surrounding elements
It does not.
---
b { font-weight: normal; }
|
|
|
|
|
If you position them absolutely there is no way that they can adjust to the size of other elements. Just put them in the normal flow of the page.
---
b { font-weight: normal; }
|
|
|
|