16,015,635 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 .NET 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 sujanir (Top 10 by date)
sujanir
1-Mar-11 22:33pm
View
Thanks for going through my post & replying. Yes, IIs user has full permissions.
sujanir
24-Feb-11 17:51pm
View
Thanks for that. I shared the folder and gave full permissions to "NETWORK SERVICE". This allows the documents to be read. But fails at the point of creating a new directory under the folder (or) writing files on to this folder. Any thoughts?
sujanir
5-Dec-10 16:03pm
View
http://support.microsoft.com/kb/310244
This link has good info on codign with outlook Interop DLL. Grab it before Microsoft changes the link.
sujanir
15-Nov-10 17:12pm
View
Thanks for the answer. The issue lies in the url that I pass and not in the javascript. The url that I pass is absolute url path & resides in one of the servers. This is a text file. IE does not recognise absolute url paths; it removes all forward slashes and therefore the page shows an error.
The work around that I have is to map the path to a local drive and use that instead.
sujanir
10-Nov-10 15:17pm
View
Perfect, Works well now! Thanks very much.
sujanir
9-Nov-10 22:34pm
View
Thanks for that.
Yes, Iam using a modal dialog and I was not aware of postback issues in popup forms. Can you point me to an example code on Iframe/popup inside iframe.
sujanir
2-Nov-10 23:33pm
View
This works! Could you explain as to why it does not work in ItemCommand event but works in Databound event.
I can confirm by debuggging that the Item Command does fire when I click on the button, and it also finds the button control inside the formview.
sujanir
2-Nov-10 20:08pm
View
1. I purposely omitted a ";" to find out if ASP.NET even processes the javascript. ASP.NET showed a javascript error & so it does process javascript. I have put back the semicolon and the result is the same - nothing happens.
2. I dont understand what you mean by using literal instead of register.
Thanks Aidin.
sujanir
2-Nov-10 18:33pm
View
Thanks aidin. I tried that but nothing happened. I tried below code on form load, I deliberately introduced an error in the javascript code. While .net was quick to spot errors in my javascript code, when I corrected the same and ran without errors, it ran fine but without executing the same.
StringBuilder csText = new StringBuilder();
csText.Append("<script type=\"text/javascript\"> function DoClick() {");
csText.Append("alert('test') ");
ClientScriptManager cs = Page.ClientScript;
cs.RegisterClientScriptBlock(typeof(Page), "script", csText.ToString());
button1.Attributes.Add("onclick", "javascript:DoClick();");
sujanir
2-Nov-10 18:14pm
View
I tried below code on Page_Load of web user control. This ran without errors but did not do anything.
I think AJAX interferes in running client side javascripts. May be i should try an AJAX popup control. i wonder how much functionality can be embedded in such a control?
ClientScriptManager cs = Page.ClientScript;
StringBuilder csText = new StringBuilder();
csText.Append("<script type=\"text/javascript\"> function DoClick() {");
csText.Append("alert('test'); } ");
cs.RegisterClientScriptBlock(typeof(Page), "script", csText.ToString());
Show More