Hello,
I am loading a control to a page dynamically with LoadControl("src to file").
In the usercontrol i have a validator and some other controls that i would like to access from my page. I canät get it to work, null pointer exception.
Scenario is like this. I have a Edit.aspx page which loads the EditTemplate.ascx usercontroll. I wo...
i keep getting this error:
Exception Details:
System.NotSupportedException: Cannot
serialize member
HannaPrintsDataAccess.Customer.CustomerAddresses
of type
System.Collections.Generic.IList`1[[HannaPrintsDataAccess.CustomerAddress,
HannaPrintsDataAccess,
Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null]] because ...
Have a dropdown list with autopostback set to 'yes' have another dropdown list box that will be populated based on the selection of the first dropdown. It works fine until I put a submit botton on the form. When I do it appears to not do the auto postback until the submit button is pushed. Can you have a submit button on a form that h...
I've been pouring over this for hours and I've yet to make much headway so I was hoping one of the wonderful denizens of SO could help me out. Here's the problem...
I'm implementing a tree via the jstree plugin for jQuery. I'm pulling the data with which I populate the tree programatically from our webapp via json dumped into an asp:H...
I have several parameters for the select statement in an SQL datasource. Two are date values - an optional start date and end date. Here's the definition:
<asp:ControlParameter ControlID="txtDateFrom" Name="DateFrom"
PropertyName="Text" DefaultValue="1/01/1900" Type="DateTime" />
<asp:ControlParameter ControlID="t...
Recently deployed my web app on Windows Server2008, IIS7 (with Office installed).
After chasing (& catching) various other errors, I'm facing one I'm not sure even where to begin.
On Cassini (visual studio dev server) everything worked flawlessly (reading excel through excel interop).
On w2008 IIS it throws vague error:
Value cann...
A friend is asking about their ASP.NET site that has been getting hacked. It's on a hosted server - cheapo hosting.
I haven't seen it myself just yet, but I'm hoping for ideas on where to look once I do.
The symptoms reported are that links, some mangled, are appearing appended to the .ASPX file (aspx/html on the disk).
Before I lear...
I have a web application that has been built as two. One is physically located within the file structure of the other. I am trying to integrate the child app into the parent app and consolidate all classes to the parent, to begin large scale ASPclassic-to-ASP.NET conversion of this app. Also, I'm trying to do this without creating a n...
After seeing the Hanselman "You are doing it wrong" video I start to use the Web Publish feature of VS2010.
What I'm really missing is that the websites sometimes gives errors while the site is publishing because the feature does not copy the app_offline.htm file to the server.
I do not want to start using MSDeploy scripts, because I ...
Hi all.
Plz help.
I have this query and its result implements IEnumerable.
RoutesEntities routesModel = new RoutesEntities();
LocalesEntities localesModel = new LocalesEntities();
var routesQuery = from rs in routesModel.Routes.ToList()
join ls in localesModel.Locales.ToList()
on rs.LocaleID equal...
I have two update panels on my page. The first has a form that contains required field validators and a button that triggers the update panel and sends the info to a database. It also has a trigger for the button.
The second update panel holds a gridview that shows a few columns from the collected data. As of right now I have the gridvi...
As I began writing web applications with asp.net I started with small projects that used a Linq-To-SQL mapper for database access to a MSSQL Server.
After gaining some expierence I switched into a classic 3 tier with Graphic Layer, Business Layer, Data Layer. The only function of the Data Layer was to provide methods insert/update/delete...
Hello all,
I have an aspx page. That page in turn calls a UserControl(.ascx). I want this page (or control) to be https. Please let me know any specific conditions that are needed.
I have no idea how it can be achieved! Please send me any links or so. Thanks all. Appreciate your help :)
...
Their wsdl is here
https://www.wealthengine.com/ws2/search?wsdl
I can connect via http, and work with this WS, however when I change the link to https, It can't connect to this service.
Here is the error I get.
There was an error downloading
'https://www.wealthengine.com/ws2/search?wsdl'.
The underlying connection was closed:
...
Hello,
I have several text boxes in an ASP.NET Web Form. I want to ensure that users are not entering HTML into those text boxes. However, I'm not sure how to prevent HTML from being entered. Because of this, I decided that I want to only allow alphanumeric characters, spaces, exclamation point, sharp sign, dollar signs, percentage sign...
It seems like many app providers are using OAuth2 to allow API access, such as Twitter and Facebook. Does anyone use a good library to do OAuth2 processing that is general enough to use across all applications?
...
I am doing the basic drilldown that you learn in an intro to SSRS. No big deal, takes 30 seconds to set up and you should be on your way. My drilldown works fine when I preview in Visual Studio as well as on my report server website. But in my ASP.net application the report renders, I have the groups to start as collapsed. I click to exp...
Hey all,
I have an ASP.NET app that has a class that writes to the event log. Now it has been working fine when called from a WF Work Flow , as the WF runs under the app pool account (Network Service).
Now I want to use this event log class in an aspx page, which is where I am running into trouble becuase the aspx page is running un...
We have a public calendar for our company set up in an Exchange 2007 Public Folder. I am able to retrieve my personal calendar appointments for the current day using the code below. I have searched high and low online and I cannot find one example of someone retrieving calendar information from a Public Folder calendar.
It seems like ...
I have 2 websites running on localhost in different ports. As browsers do not differentiate port numbers when sending cookies, my forms authentication ticket from one site is being sent to the other
How do I solve this? I thought that a good solution would be to change the forms authentication ticket or one of the websites but I don't k...