We are trying to develop an application to view and annotate PDF files in ASP.net.
The function involves capturing x,y coordinates from a click and placing the annotation on that specific location.
Are there available components to do this?
Thanks in advance.
...
I am just looking at the BlogEngine.Net source code and was intrigued at how it stores application settings.
Instead of using web.config or app.config which I am accustomed to, the source uses a static class object implemented using a singleton pattern to achieve the application settings. the information is still stored in a settings fi...
I have a multilingual ASP.NET site; one of the languages is Arabic (ar-SA). To switch between cultures, I use this code:
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture(Name)
Thread.CurrentThread.CurrentUICulture = New CultureInfo(Name)
When displaying the date of an article, for example, I just do this, and t...
I'm trying to deploy elmah. For inexplicable reasons, I'm getting an error: .axd files are explicitly forbidden. I've already fixed what I can control (my web.config) and solutions requiring collaboration from the system admin are not available (such as editing machine web.config or updating IIS mappings). I also verified that it works...
Update 1:
Cannot reproduce this on a co-worker's computer (same setup as mine) so I assume this is a problem with my workstation and not a general one.
I'd appreciate it if someone would close this question as I don't have enough reputation to do it myself.
@MatthewMartin. Thanks for your comments :-)
Update 2:
Unlike my coworke...
I am using master page on some pages. And that master page is loading the user control. So I want to disable or enable user control on some page load which has master page.
...
Hi,
How can I change a key's value in web.config which is defined between appSettings tags at code behind in asp.net
Thanks..
Regards...
...
hi,
I want to read an specific xml node and it's value for example
<customers>
<name>John</name>
<lastname>fetcher</lastname>
</customer>
and my code behind should be some thing like this ( I don't know how it should be tho :))
Response.Write(xml.Node["name"].Value)
blah blah. As I said It's just an example cuz I don't know how t...
I have a visual studio 2005 solution which has a web application and a class library project. The web application has a reference to the library project. I'd like the library project's code documentation XML to output to the web application's bin folder, along with the library's DLL. I can't seem to find any easy way of doing this.
...
Hi,
I have a XML File like that
<?xml version="1.0" encoding="utf-8" ?>
<Configurations>
<EmailConfiguration>
<userName>xxxx</userName>
<password>xxx</password>
<displayName>xxxxx</displayName>
<hostAddress>xxxx</hostAddress>
<sslEnable>xx...
Hello!
This UpdatePanel is contained by an UserControl. When the LinkButton is pressed arow should be added in another GridView. When an user is logged in this control is working well.
The problems appears when an user is not logged in and try to push that button. No event triggers.
Someone suggested me to give a permission for accessin...
For a current project, I was thinking of implementing WebDAV to present a virtual file store that clients can access. I have only done Google research so far but it looks like I can get away with only implementing two methods:
GET, PROPFIND
I think that this is great. I was just curious though. If I wanted to implement file uploading ...
I have a gridview control that can get loaded with multiple pages worth of data. When I switch pages, the columns widths will change to accommodate the largest value in the column for that page.
If possible, I would like to set the widths of each column to the widest necessary width for the entire dataset.
...
I'm wanting to use google maps and see a million ways to do it on the web. Some are javascript methods and some are asp.net server components with which I have hit and miss luck. What's the easiest and most reliable way using c# and asp.net?
I have my location data including geocodes in a database. I want to provide users a method to do...
Hi,
If you have a web application that will run inside a network, it makes sense for it to support windows authentication (active directory?).
Would it make sense to use AD security model as well, or would I make my own roles/security module that some admin would have to configure for each user?
I've never dealt with windows security...
Now this is all way simplified, but here goes:
I have a User Control that consists only of a single *.ascx file. The control has no code-behind: it's just a script with a few functions, like this:
<%@ Control Language="VB" EnableViewState="False" ClassName="MyControlType" %>
<script runat="server">
Public Function MyFunction() As ...
Hi,
I've got multiple UpdatePanel's on a page and i'm updating 2 of them manually by calling __doPostBack.
However the problem is the first call seems to be reset when the second call is made (it never updates the panel that i requested to update first).
I've got these calls wrapped in setTimeout, but it does not seem to help.
Any sugg...
What is the syntax to concatenate text into a binding expression for an asp.net webpage (aspx).
For example if I had a hyperlink that was being bound like this:
<asp:HyperLink id="lnkID" NavigateUrl='<%# Bind("Link") %>' Target="_blank"
Text="View" runat="server"/>
How do you change, say, the Text to concaten...
I am generating a return url link so when the user hits the close button on this page they return to this ReturnUrl.
ie
http://localhost:42605/Search.aspx?ReturnUrl=http%3A%2F%2Flocalhost%3A42605%2FStuff%2FViewStuff.aspx%3FProjectId%3D2246
This works fine in dev environment, but in uat environment I have
http://app-uat.com/Search.aspx...
I have a menu of report links in my master page. I need to append an ID to the end of each whenever the user changes a value on the child page. What's a good way to accomplish this?
UPDATE: I should have mentioned that the child update is happening inside an UpdatePanel, meaning the master page is not reloaded when the change happens.
...