|
Hi all
I have a form that updates the image for a user, when i update the image, the old image still appear, the update does not take effect from the first page load
I need your help
Nour Abdel-Salam...
A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
|
|
|
|
|
I recommend reading the post on how to ask questions at the top of this forum. My answer right now is, your code is broken. Describing the problem with some actual code, would elicit a more specific response.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
post the portion of the code for clear idea,
but as per my understanding, you are loading the image to some temp file on the server, i.e. userimage.jpg and you have displayed that image on the page. and when user changes you are just replacing that image with another user image, so the name remains same every time.
if this is the case then, your browser will not know, that image is changed, as the name of the image is same, with same size. so it will not request the image from the server next time, and loads the image from the history (temp internet files folder on client pc). this will happen until the image/content is not expired. (you can set this timeout value in <% Register ...> Tag on the aspx page )
to avoid that just put the username or random number before/after the image name i.e. <username>image.jpg
or use the direct memory binding instead of file base assignment.
|
|
|
|
|
The same question you asked previously also... and you got some asnwers also... then why are you starting a new thread with the same question ? wait for someone to reply... and dont think that it is 2-3 pages old, so nobody will answer...
|
|
|
|
|
if you have an answer just write it
otherwise close your mouth...
Nour Abdel-Salam...
A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
|
|
|
|
|
nour123 wrote: if you have an answer just write it
otherwise close your mouth...
OK, if you want to be rude...
nour123 wrote: Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
You TRAIN people where you work, but you can't work out these simple questions, you post them here over and over and when the person who has ALREADY answered you, also points out that you're asking repeatedly, you're rude to him as if you EXPECT an answer, as if it's your RIGHT that we do your work for you, so that you can be paid more than you're worth while simultaneously taking work away from the people with actual dev skills, the very people you rely on to do your work for you ? What the hell is wrong with you ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
nour123 wrote: if you have an answer just write it
otherwise close your mouth...
Ok, I have an answer for you then... go back to flipping burgers where you belong.
|
|
|
|
|
fALCON?
Nour Abdel-Salam...
A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
|
|
|
|
|
nour123 wrote: otherwise close your mouth...
Brother, you'd do well to heed your own advice. The rules for asking questions here are clearly posted; what you hope to achieve by ignoring them is hard to fathom.
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
REGARDS
Nour Abdel-Salam...
A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
|
|
|
|
|
nour123 wrote: if you have an answer just write it
otherwise close your mouth...
This forum is not for people Trainer like you
|
|
|
|
|
if you don't understand, i'll repeat it clearly
if you have an answer just write it
otherwise close your mouth(shutup)
please don't reply because i'll not read...
hahaha
Nour Abdel-Salam...
A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
|
|
|
|
|
hello,
i have created an application who's platform are asp.net1.1,windows XP,Access 2002 and its working fine in my PC.
When i aploaded it on a server who's platform is .NET Framework 2.0,windows server 2003,Access 2003 and when i am browsing a page who has database connectivity it throws an error as 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine".
I tried installing latest MDAC on the server but still showing the same problem.
Thank you.
coolsatty
|
|
|
|
|
So, after several days, you still can't make this work ? I bet your client is very happy with their choice of provider. Did you bother doing the things that people suggested the last time you asked this ? If you did, you should say so here, b/c people are just going to suggest the same things otherwise.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I have this reg expression on javascript that checks for poboxes. how can I chnage it to map only for starting string and not anyqwhere on the string b/c if address is seAPOrt then it treats as a po box:
var poboxPattern = new RegExp("(APO|A\.P\.O\.|A P O|FPO|F\.P\.O\.|F P O|POB|P\.O\.B\.|POBOX|P\.O\.BOX|PO BOX|P O BOX|P\.O\. BOX|POST OFFICE)");
Please help
|
|
|
|
|
Put ^ at the start of the pattern to match the start of the string.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
thank you. excellent. how can that be con verted in c#?
|
|
|
|
|
The string literal actually looks exactly the same.
In the Javascript you need to escape the backslash characters with a backslash character:
var poboxPattern = new RegExp("^(APO|A\\.P\\.O\\.|A P O|FPO|F\\.P\\.O\\.|F P O|POB|P\\.O\\.B\\.|POBOX|P\\.O\\.BOX|PO BOX|P O BOX|P\\.O\\. BOX|POST OFFICE)");
In C#:
RegEx postboxExpression = new RegEx("^(APO|A\\.P\\.O\\.|A P O|FPO|F\\.P\\.O\\.|F P O|POB|P\\.O\\.B\\.|POBOX|P\\.O\\.BOX|PO BOX|P O BOX|P\\.O\\. BOX|POST OFFICE)");
However, in C# you can also use a @ delimited string so that you don't need to escape the backslashes:
RegEx postboxExpression = new RegEx(@"^(APO|A\.P\.O\.|A P O|FPO|F\.P\.O\.|F P O|POB|P\.O\.B\.|POBOX|P\.O\.BOX|PO BOX|P O BOX|P\.O\. BOX|POST OFFICE)");
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi there! I have an issue and I hope I can get some advice how I can fix this. Here is my issue:
I am creating a web site, and on one page, I have a gridview. I want the gridview to be populated from a code from the Page_Load method, actually a query according to the username, so I can retrieve the data what I need for the logged user and populate in the gridview. Is it possible to do that? I am using VS2005. Thx ahead, Laziale
|
|
|
|
|
|
thx for the reply, I was trying to find some nice example, but without any success so far. Can you point to me some nice example or write few lines of code how it should be done? I will appreciate a lot, thx ahead, Laziale
|
|
|
|
|
|
One thing to consider. If you populate it in the page load, then any events that may fire, will fire after you populate it. The prerender event is generally the right place to put data into databound controls, it fires after button events.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Pls Help Me!
I need one source code for build creat user and login with asp.net
in c#
|
|
|
|
|
alirezajo0n wrote: I need one source code for build creat user and with asp.net
in c#
Is it your home work and you want to do it by us ?
Try to do it your self, using Eiter ASp.Net Login control or just use simple textbox for user name and password, authenticate user from Database ( Read ADO.Net ).
|
|
|
|