I'm working on a site that will send out a significant number of emails. I want to set up both header and footer text, or maybe even templates to allow the users to easily edit these emails if they need to.
If I embed the HTML inside C# string literals, it's ugly and they would have to worry about escaping. Including flat files for the...
I'm architecting an web based application which will make use of web services. It has been recommended that I look into the use of the ASP.NET MVC Framework. All of the information I'm finding on the MVC discusses it's use with web pages, but I have found nothing regarding web services. Can the MVC be used for web services? and if so,...
I'm creating (really, re-creating) an app that has existing user and other data in MS-Access databases. The data will be moved to SQL Server, and part of that involves migrating users. I want to use EF to do ORM, and I am pretty sure I know what the data model will be in SQL Server. I am new to EF but not to ASP.NET, and I'd like to t...
I have a form that I need the user to be able to type something in a textbox, after they tab out have them enter in the same value in another textbox in proximity to it to assure they entered it in correctly. After that the second textbox is to disappear and they will continue to the next field without ever having a postback.
Anyone hav...
I'm doing a custom authentication method that uses a light session object to hold a user's authorization details. Now I want each page (mainly child pages of masters) to be able to tell whether a user should have access to the page.
Should I create a page class and derive the child pages from that?
What's the best way for the applicat...
I've seen many examples where they just use the "asp" prefix. Is this a good practice?
(The reason I'm asking is because the templates that create the default for a new website appear to be problematic. There's an apparent naming collision on the BulletedList control.)
...
I have a usercontrol that move dynamically on the CreateChildControls method some web controls.
When using this control into a page like :
<myControls:MyUserControl runat="server" ID="myUserControl" />
It works flawlessly.
But if I want to add that userControl dynamically into a page like :
<asp:UpdatePanel runat="server">
<Cont...
For those who still have lots of legacy code as I do in .NET 1.1, has anyone found a solution for this issue:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=90240
Details are usually as follows:
Microsoft (R) Visual Basic .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.432...
I have built a custom control that has a small amount of JavaScript. The JS is maintained as an embeded resource. When my control is rendered, I added it to the page as follows:
Page.ClientScript.RegisterClientScriptResource(
GetType(), "Resources.MyControl.js");
The control works just fine but when it is rendered inside of an upd...
How do I redirect permanently in ASP DOT NET? I'd like to do a 301 redirect from one page on my site to another page.
...
Hi stackoverflow,
I'm having problems with finding my controls in my dynamically created literal control. I want to be able to grab the value in the label with the fnameID(x) id. Any help would be appreciated. Thanks!
ASPX:
<div>
<asp:Panel ID="Panel1" runat="server">
</asp:Panel>
</div>
<asp:Button ID="Button1" runat="server"...
Are there any scheduling components, commercial or otherwise, for ASP.Net MVC? Our company currently uses the Infragistics WebSchedule controls, but they don't appear to support MVC.
Thanks!
++++Edit
I think I may have been a bit unclear, I am not looking for a task scheduler, rather I am looking for a web calendar/appointment/schedul...
Hello everyone. I have a question. How can i invoke a web service and get the result from a C# desktop application. I am making a desktop app and I want it to be able to connect to my online ASP.net web services. How is this possible?
...
i can bind the dropdownlist in the edit item template. The drop down list is having null values.
protected void grdDevelopment_RowDataBound(object sender, GridViewRowEventArgs e)
{
DropDownList drpBuildServers = new DropDownList();
if (grdDevelopment.EditIndex == e.Row.RowIndex)
{
drpBuildServers = (DropDown...
I have created a class file in the App_Code folder in my application. I have a session variable
Session["loginId"]
I want to access this session variables in my class, but when I am writing the following line then it gives error
Session["loginId"]
Can anyone tell me how to access session variables within a class which is created i...
We're seeing lots of virtual memory fragmentation and out of memory errors and then it hits the 3GB limit.
The compilation debug is set to true in the web.config but I get different answers from everyone i ask, does debug set to true cause each aspx to compile into random areas of ram thus fragmenting that ram and eventually causing out...
This link for unity framework on msdn states
"You want to be able to cache or persist the dependencies across postbacks in a Web application"
http://msdn.microsoft.com/en-us/library/dd203319.aspx#
I am not sure what all the above statement means.
I am looking for an example how we can do this using Unity - not sure how Unity will resol...
Hi friends
I'm working in chat application, I used HashTable for containing User and Operator as a Key & Object of ChatRoom Class as a value of HashTable. Main problem is that When user or Operator close browser or disconnected without logout then It is automatically logout on the end of the session.
Please help me related to that and ...
I've searched the IIS7 MSDN database but can't find any concrete material on how to create custom C#.NET extensions for IIS7, I know that previously in IIS6 you had to write an ISAPI extension in C++ if you wanted to say plug in your own scripting language for websites (this is sort of what I want to do) but in IIS7 you're supposed to be...
Can somebody please recommend a good multi-column combobox control for use in a Web Form? I'm quite disappointed to not find any multi-column support on the DevExpress ASPxComboBox control, unless I'm missing something.
...