Search:
Type: Posts; User: HoraShadow
Search:
Search took 0.87 seconds.
-
Hello,
You could use Meta-refresh or Javascript to perform those actions in xx minutes, since this type of feature has to be triggered from client-side
<meta http-equiv="refresh" content="5;...
-
Hello,
Browsers get only one response to one request. Post-back IS the request, and the response is either a) your updated HTML code with the Thank You text and the invisible button, or b) asks...
-
Hello,
Well, in the code you posted, there's nothing related to deleting a directory
This is how you delete a directory:
Dim path As String = "C:\DirectoryToDelete\"...
-
Hello,
Thanks for the reply gep13!
I finally found the problem using the excellent tool IntelliTrace in Visual Studio 2010. It was indeed a loop in code in the logging class, which happened at...
-
Hello,
I'm developing an .NET Framework 4.0 WebApp with ASP.NET AJAX enabled
Both web servers, IIS and Development Server in my development machine crash with an 'unhandled CLR framework 4.0...
-
Hello,
If you can't use a task job like Webskater suggested, which is a pretty good suggestion btw, then the next best practice would be a Windows Service. For it to work, you need access to the...
-
Just finished Interview with The Vampire, by Anne Rice
-
Haha, alright, then how about if you post the lines the regex has to match?
Without having a comparison point of reference, well, let's just say it's pretty hard to help ;)
-
Hello,
Can you post the HTML and what it has to match?
I would also recommend to you the use of RegExBuddy when dealing with regular expressions. It's a lightweight application that let's you...
-
Hello,
Give NTFS write permission to the directory in which the files are to be created. The IIS worker process username by default is called IUSR_[machine name] .
Warning: Giving write...
-
Hello,
My guess, without being able to see the page, is that since the label is an ASP WebControl, by default it preserves it's contents in ViewState. HiddenField, an HTML control, does not...
-
Hi,
Let's give this a shot...
Open IIS -> go to Web Site -> Web Site properties -> directory security tab -> Anonymous access and authentication control -> Edit button
Once in...
-
If you go with Windows Explorer to your \bin folder, does it contain the latest .dll class file?
Manually copy/paste the library to the \bin folder and see if it works
-
Hello,
Please explain what do you need...
HoraShadow
-
-
-
Hello,
The #2 post in this thread has source code. It looks fine.
HTH,
HoraShadow
-
hahaha I hear ya... been there, done that and ran for it :p
-
Hello,
Look into Symmetric Cryptography classes in .NET Framework. It let's you encrypt and decrypt information.
HTH,
HoraShadow
-
Hello,
Well, the way I would do it would be prompt for confirmation, if the end user presses 'yes', then allow the PostBack to the server (all this is done JavaScript), and in the button_click...
-
Hello,
Why don't you just send the email in the button_click handler? You save one whole page that way, unless there's something else on the destination page that I'm not aware of.
Both...
-
Hello,
You could add runat="server" to the hidden fields and assign values from the code behind "cstmr.text" .
As a side note, this is not the best way to implement this. It will get the job...
-
-
Hello,
I definitely do not agree with "all exceptions, no matter what they are, end up in the same page" type of design. That's just lazy from my point of view.
You can throw different types of...
-
Hello,
You can perform the client side redirection, just as it is done in the provided example, or move the redirection server side, which would be the web control button posting back to the...
-
Hello,
You should read ASP.NET Page Life Cycle
Controls events are handled in the "Postback event handling" handler, which comes after Page_Load event and before Page_PreRender .
Moving the...
-
Hello,
SSL is a digital certificate that you buy from a CA (certificate authority, like verisign, GoDaddy, etc). That digital certificate is an encryption key then gets installed in the web server...
-
Hello,
Once in Firefox, enable Firebug, which can be accessed with F12 and check for JavaScript errors. Once Firebug is enabled, it will display any client side errors found in the Console tab....
-
Hello,
Yes, run the solution (F5) and copy the URL from internet explorer and paste it in FireFox. Code execution is identical in any browser, since it's 'server side'. Visual Studio attaches...
-
Hello,
What did the JavaScript debugger say?
HoraShadow
-
Hi MMock,
At first glance it looks fine...
I recommend that you use a JavaScript debugger utility, like Firebug for Firefox, which will clearly point out any interpreter errors.
HTH,...
-
Hello,
You can use SSL, which is designed specifically for that.
HTH,
HoraShadow
-
Hello,
By Secure... do you mean SqlInjection attacks secure? If so, since you are using Parametrize queries, it is "secure".
The question is pretty vague. Please elaborate more...
HTH,...
-
Hi,
If memory serves, DataReader must be disposed before it's used again, since it's already linked to the OledbCommand.
Please provide the actual exception the code gives.
HTH,
HoraShadow
-
Hi vbbit,
That's what rjv_rnjn pointed out in post #2 and Mendhak agreed on post #8. When you cascade delete, ALL information is deleted, no matter what. That's why they kept mentioning adding a...
-
Hello,
You can enable Trace and it will give you quite a lot of information regarding performance and times.
At page load event handler, add Trace.IsEnabled = True then run the page. At the...
-
Hello,
You could also store non-vital data in cookies and hit the database for vital data.
You can`t store objects in cookies, so you would have to design and write your own way to store from...
-
Hello,
I'm doing this from memory, so there might be a concatenation issue somewhere. Looks fine though.
Text='<%# "<b>" & String.Format("{0:d}", Eval("msg_dt")) & "</b> - " &...
-
Hello,
It's pretty much the same actually. The example uses a label control.
<asp:Label ID="lblTotalProducts" runat="server" Text=' "<b>" & <%#Container.DataItem("msg_dt") & "- </b>" &...
-
Hello,
Yes, it means exactly that.
I think the best way to explain this is by example. We have two tables, the usernames table and the messages table. When a username is DELETED, the...
|
Click Here to Expand Forum to Full Width
|