15,891,657 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ed Guzman (Top 20 by date)
Ed Guzman
3-Feb-11 14:25pm
View
You are welcome :-)
Ed Guzman
2-Dec-10 14:09pm
View
Why should you modify the code? I am confused. Are you writing an application or a gadget that other application will use?
Ed Guzman
22-Nov-10 23:15pm
View
Why not printing first 5, then 15, then 10? or maybe different order? :-)
Ed Guzman
21-Nov-10 15:00pm
View
You amused me with the question :-).
Ed Guzman
16-Nov-10 12:55pm
View
I did not noticed the topic is MVP, sorry :-).
My answer was just for a regular ASP.NET
Ed Guzman
15-Nov-10 8:42am
View
While deploying it you do not stop the Application object on the server site.
The application object is destroyed only when you stop WWW service, stop IIS, stop your website through IIS, application crashes, or you just change your web.config, telling your application to collect the changes.
There are some more events, i just don't remember on the top on my mind.
Ed Guzman
13-Nov-10 17:31pm
View
it means that you have to add:
using System.Web.Security;
Ed Guzman
11-Nov-10 6:51am
View
I looked through your code. The outcome is the same as mine, it handles post-backs through changing the "action" property of the form. I liked the way you handle: through form.browser rather than through basepage. I never used the form.browser before, need to try :-)
Good job.
Ed Guzman
9-Nov-10 8:42am
View
Very neat idea. I will try it too
Ed Guzman
8-Nov-10 19:49pm
View
I am not sure about master page rendering. The master page is just a wrapper around a page, but it worth trying.
Let me know if you get it working. I agree that using a base page just for this purpose is a bit too much. Fortunately, I have a lot of different useful things in the base page. Let me know if how you handle this.
Ed Guzman
8-Nov-10 17:17pm
View
I wrote a piece of code to handle this. I will place it into the different answer.
Ed Guzman
8-Nov-10 16:04pm
View
:-) ok. One of the simplest implementation of delegates:
you want to use one variable and dynamically changed its behavior based on the logic of your program.
This variable has not value, it has functionality. And you can change the functionality on the fly, just re-assigning different function into this variable.
Good luck.
Ed Guzman
8-Nov-10 15:59pm
View
The one I referenced makes the transfer rather then redirect. You will never see the underlined URL. I could send you a dll and a sample of web.config. Let me know and good luck.
Ed Guzman
8-Nov-10 8:51am
View
Then you have to drill down what happens when you change from one theme to another, what settings are changed and when. There are too many unknowns for making any decisions. If you want to change a theme when reloading a page then the PreInit event is the right place to do it. Actually the only place to do it.
Ed Guzman
7-Nov-10 8:42am
View
Look at the aspx page and add the code I gave you into it, not into .vb
Ed Guzman
12-Oct-10 14:11pm
View
GridView Par = (GridView)e.Row.FindControl("ParamGV");
Par.SelectedIndexChanged += new EventHandler(ParamGV_SelectedIndexChanged);
void ParamGV_SelectedIndexChanged(object sender, EventArgs e)
{
}
Ed Guzman
11-Oct-10 20:27pm
View
I agree, this sounds strange. If you tried already place the file onto the root directory it definitely should have the access, but just double check. Let me know if it works.
Ed Guzman
11-Oct-10 20:22pm
View
What I am trying to say is that your private delegate
void CopyFileDelegate(string srcDir,string DesDir)
has the signature that accepts 2 parameters and you use this delegate in BeginInvoke method of a textbox. Which is incorrect, because according to Microsoft this Delegate should be parameter-less. Definitely there is a way to pass parameters but not the way you tried. That is why your code was not compiled at the first.
Ed Guzman
10-Oct-10 15:11pm
View
Actually the first parameter of the TextBox.BeginInvoke method is System.Delegate, and according to Microsoft this is a delegate to a method that takes no parameters.
Ed Guzman
10-Oct-10 10:40am
View
Correct, when you instantiate a delegate (using new keyword), you just point to the name of the function without parameters
Please read my article
<a href="http://www.codeproject.com/KB/cs/delegatespart1.aspx">http://www.codeproject.com/KB/cs/delegatespart1.aspx</a>
Show More