I have been supporting a web application at work for our Call Center unit for about 2 years now. The app is written in ASP.NET 3.5 with SQL server 2005 database. I’ve been asked to expand the call detail section to allow agents to edit the current call note with the ability to revert back to its previous version. Now, that’s all cool but...
Hi,
The below code works but I am not sure how?
OnClientClick='<%# CreateConfirmation(Eval("EventName"),DataBinder.Eval(Container.DataItem, "EventDate", "{0:ddd, d MMM}")) %>'
Public Function CreateConfirmation(ByVal EventName As String, ByVal EventDate As String) As String
Return String.Format("return confirm('Are yo...
I remove an item from the session using Session.Remove(), then redirect to another page. If I click back, then reload, the item is suddenly back in the session. Shouldn't Session.Remove() take it out of the session for good?
...
Hi
I have two projects:
ASP.Net 3.5 website (frontend, UI)
VB Class Library (dataaccess logic)
Where should I save my connectionString, so that I can use if from the class library? And how does this affect where it is placed when I deploy/publish?
Note:
I don't want to pass it to every function in my VB Class
...
I'm new to ASP.NET and to SQL Server. I'm from the PHP/MySQL world, so I'm pretty confused with this stuff. I need help because I'm trying to make a simple blog as a first serious exercise. I can't figure out how to connect to my sql server from my c# code. my sql server is on the same machine as IIS. When i use SQL Server Management Stu...
How do you make individual tables and/or columns read-only so the edit button won't show in ASP.NET's Dynamic Data framework?
I'm using it against an entity data context.
Is it possible?
...
I have a website that is built in ASP.NET 3.5 & SQL Server 2005, using the sql membership provider, and presumably forms authentication.
Since security needs on my site are very low, I would like to authenticate once, and then keep the log in persisted indefinitely (without giving the user the choice).
What is happening is that the use...
We are trying to use the Facebook Toolkit API which is built with 3.5. We copied over the dll from ASP.NET 3.5 and try to run the site. It works for the most part but when calling the following function in one of our pages, the follow error shows up.
Method not found: 'Void System.Xml.XmlReaderSettings.set_MaxCharactersFromEntities(Int6...
I'm getting the following error when trying to run the Facebook Connect toolkit on a server with ASP.Net 2.0 installed - I manually moved over System.Core and System.xml.Linq to the server from the 3.5 DLLs.
Most other things seem to run, until I try to access the "users" object - more specifically, the getinfo() method.
This is the er...
I have a asp:listview which uses the SelectedValue of the FormView.
I have editing working with the listview fine, and insert will insert a record but it doesnt insert the SelectedValue of the parent FormView...
What am I missing?
...
I have an EmptyDataTemplate in my asp:ListView which I want to use to insert a new record.
I have Inserting working in the InsertItemTemplate... I thought I could copy the InsertItemTemplate into the EmptyDataTemplate, on clicking Insert this gives the error
Insert can only be called on an insert item. Ensure only the InsertTemplate h...
Hi there!
I've seen some .NET sites that obviously are using some sort of URL-rewriting method, but the one that intrigues me the most are ones that look like:
http://www.somesite.com/pages/an-example-page.aspx
I have previously used "UrlRewritingNet.UrlRewrite", but that requires that the database primary key integer be located somew...
I have a classic ASP style #include from a ASP.NET file as:
(!-- #include file= "../../maininc.aspxinc" --)
(Guess it is actually an IIS server-side include?)
It is some strange caching going on. It seems like the original file is cached so that changes in maininc.aspxinc has no effect.
IIS6
Expiration headers off as far as i can se...
I am building a large application and I ususally use a simple session to store private global information however as the application could be rather large I belive this could be a problem due to the amount of memory sessions it could have.
Is there a better way to store such variables?
For example, when the user logs in I want to stor...
Hi there!
I'm working on an ASP.NET 3.5 site that is intended to be an intranet application. How would it be possible to create a kind of "plug-in" architecture, such that I can add additional functionality to the site without recompiling the site? I'm thinking of additional functionality as developing separate modules that can be comp...
I have a DataContext (Linq to Sql) with over 100 tables, is it possible to get a list of all those tables and lets say print them to the console? This might be a silly question.
Thanks.
...
Hi All,
Can I disable right click on my web page without using javascript because most of the browser allow the user to disable javascript.
...
Hi All,
I have a user control which has a textbox on it, now this usercontrol is on another user control which I am using on aspx page how can I get value of the textbox on the first user control.
...
I've a following requirement for my asp.net page:
User can add a textbox dynamically on a page A by clicking on link "Add a new category" hyperlink
He clicks submit button on page A and gets redirected to page B.
When he clicks on page A link from this page, the textboxes that he added should be persisted.
Can someone help me with th...
I'm trying to access the ListView class from System.Web.UI.WebControls in my class library.
So I added a reference to System.Web and expected it to then show up but unfortunately it didn't. Now I can only assume it is because the ListView is part of the 3.5 release not 2.0. So I checked my class library to make sure it is targeting 3.5 ...