|
damage ur keyboard.
its all right.
|
|
|
|
|
That can't happen. Why do you NEED to have them "log off"?
|
|
|
|
|
There are two basic problems
1 - you want to do something that's impossible
2 - your overall design sucks.
You're writing a web app, that means the user can disappear at any time. You need to deal with that, no option.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
How do you intend to stop them from navigating to a different site? If you want to force them to go through a log-off then a web based application is not the model for you.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Dear All
I'm using vs2005 password recovery control and it's working fine when i'm not setting the BodyFileName property to a text file and i'm getting this email:
Please return to the site and log in using the following information.
User Name: Just3ala2
Password: 9MxHfy?wiFu;[N
I want to customize the email body that is received but i donno how to access the User Name and the Password that are returned
Can any1 help me with that?
Best Regards
3ala2
|
|
|
|
|
Got it myself
Thanx to me
For username <% UserName %> is used
Fro password <% Password %> is used
Best Regards
3ala2
|
|
|
|
|
Tell you what - seeing that you can't 5 vote for yourself, I'll do it for you.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Friends,
I am using GridView control of ASP.NET 2.0. I want to format date column in the format of dd/mm/yyyy (it is showing me time and unwanted format).
How can I do that?
Thanks.
|
|
|
|
|
Hi atul
you have to write code in RowDataBound event of gridview.
like this
if (e.Row.RowType == DataControlRowType.DataRow)<br />
{<br />
e.Row.Cells[3].Text = Convert.ToDateTime(ds.Tables[0].Rows[e.Row.RowIndex]["BDate"]).ToShortDateString();<br />
}<br />
<br />
Pathan
|
|
|
|
|
Hi
try this
<ItemTemplate>
<asp:Label id=lblOwner runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Date","{0:dd/MM/yyyy}") %>></asp:Label>
</ItemTemplate>
trish
-- modified at 5:09 Tuesday 16th January, 2007
|
|
|
|
|
Thanks.
I got solution by adding this.
<asp:BoundField DataField=dREGDATE DataFormatString="{0:dd-MM-yy}" HeaderText="Reg. Date" HtmlEncode="False" />
Without giving HtmlEncode="False", date format is not working.
Wow !!
|
|
|
|
|
I lately had a virus attack (W32.Fujacks to be exact). I have taken measures to stop the virus and I am confident that the virus is gone. It so happens that most of my settings were changed by the virus. I run Windows 2003. Here is my problem:
When I open Internet Explorer 7 on my computer and try to browse a particular Website hosted on my computer, the an error page opens with Encoding set to Chinese instead of Unicode(UTF-8) The site is an ASP.NET site. Other Websites on my computer opens okay.
If I browse the same site from another computer on the network still having IE7 it opens just okay.
Just to clarify what I have done to stop the virus on my computer:
- I updated my Symantec and scanned my computer three times and symantec reported discovering the viruses and removing them successfully.
- Removed any files Symantec had quarantined in safe mode and clearing the Recycle bin.
- Removed the autorun.inf files that the virus had copied to the system drives.
- Run Windows Defender to scan for malware and spyware.
- Used CCleaner to clean my registry.
- Used Sbybot Search and Destroy 1.4 to clean remove any remaining malware and clean registry.
- Updated my Internet Explorer to IE7 (was previously using IE6)
- Copied iereset.inf from uninfected computer to my computer to reset my Internet Explorer
- Used Sfc /Scanonce to file-check all protected files on my computer.
That notwithstanding, I believe the virus might have changed some settings on my computer before I could stop it because I am not able to change some settings in normal startup mode but I can change them in safe mode: For instance; Every time I set Folder Options to Show hidden files and folders, the system resets itself to the contrary, I cannot edit registry (I am the Administrator on my computer)
Another thing I noted is that the Windows XP operating systems in our network that were infected came off smoothly after scanning and removing the viruses.
This may not be the best forum to ask for this kind of assistance but I dont know where else I can get a quick response. Please help if you can.
-- modified at 3:30 Tuesday 16th January, 2007
Another thing I just discovered is that the encoding problem exists only as long as I use 'localhost' on the url. If I use my computer's IP I can browse the site just fine. Could the web browser be sending the web request using the incorrect encoding?
|
|
|
|
|
Hi, All
Who have experience with used gcServer on .NET 2.0. Please share experience.
|
|
|
|
|
How to give an expression for a textbox which allows pincode with not to exceed 6 digits,Give me asnwer
thanks in advance
kissy
|
|
|
|
|
\d{0,6}
---
Year happy = new Year(2007);
|
|
|
|
|
Have you tried MaxLength?
|
|
|
|
|
Hi,
Is there a way you can detect if a user has logged in with his username/password on a local LAN network? Also, is there some event handler that can run, if this is true, once the user opens my web app? Do I need to do that functionality in the 'page_load' handler?
|
|
|
|
|
|
Hi,
I made a .net assembly which in which I put an activeX control called DSOFramer. I have converted this in a windows control library and compiled it and installed it in GAC.
This library contains the code to display and edit the office documents similar to DSOFramer control. This same code when tried with DSO Framer and windows application it is displaying the documents. After this,
I tried to put this control on a web form, by using
/* <object id="DSO1" classid="
"DSOControl1.dll#DSOControl1.FramerControl""
width="800" height="300" style="font-size:12;">
<param name="FileUploadURL"
="" value="http://localhost/ServerFileUpload/UploadFile.aspx" />
<param name="MaxSessionUpload"
value="10646" />
*/ tag as above.
But here its not displaying any word or excel file. Could anybody please tell me whats wrong with this and how should I achieve my target. Please tell me if you know. Please.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
i'm doing small web application C#,and there have some reports for each an application.i need to put computer ip address for corner of each report,when they took print out it should print that puticular computer IP address as well,how can i do that.
pls help me to do this.
thank you
-- modified at 0:14 Tuesday 16th January, 2007
|
|
|
|
|
The IP Address of the client machine or the Proxy is available in serverVariables collection.
|
|
|
|
|
i need IP Address of client machine.
thank you
|
|
|
|
|
Hi,
try this
Response.Write(Request.UserHostAddress())
but this will applicable for clients browsers...you may get IP on your machine as 127.0.0.1 which is default IP in IIS..
trish
|
|
|
|
|
Thank you for ur helping,but i need other's client IP Address,if they put print out it should print document and IP Address as well.
|
|
|
|
|
Hi
It will definately return Client's IP address..
But maybe it will return wrong IP where this site will hosted..
Just try access to access your page from some others browser..it will return correct static IP address of the machine!!!
try this ,if still confused then let me know..
trish
|
|
|
|