I have a potential project where I would be working on developing the "Data Access Layer" of a reporting application using ADO.Net and LINQToSQL.
I have not specifically worked on a Data Access Layer project (middle tier), so I was wondering if anyone here could provide a sample / example / resource, where I can get an idea of what th...
I’ve gone through this link. (http://connect.microsoft.com/VisualStudio/feedback/details/544562/cannot-send-e-mails-with-large-attachments-system-net-mail-smtpclient-system-net-mail-mailmessage)
It is not possible to send an e-mail with an attachment larger than 4 MB in .NET Framework 4.0. The same code works for small and large files i...
Hello.
I'n new to asp, i would like to know how to receive form variables,
for example:
<form id="test" method="post" action="test.aspx">
<input type="text" name="the_name"/>
<input type="submit"/>
</form>
how can i receive properly the the_name value ?
thanks
...
I am using ASP.NET 4.0 WebForms and making use of the control. However I want to add 3 textboxes, email, password and dateofbirth. email and password come standard as username and password, but if I had a third textbox for date of birth (above the login button but below the email and password), in my code behind, the ID of this control ...
I have a web form used for importing data from a CSV file. It contains a result panel and a result label, which either show a success message or an error message after the import process. Let me say here I know the page should not be doing the import, but this is legacy code and the client expects only small changes.
My problem is tha...
Hi in my asp.net app i want to list some websites with respective dynamically captured site image.Show me some way with C#...
...
Most often I use it when I am accessing a property of a composite control that depends on a child control. But I have also added it to OnInit of a control so I could make sure a hidden field was added correctly. Just a minute ago I called it in RenderControl because I was having an issue rendering a calendar extender and it fixed it. ...
Hello guys.
I have requested to fix login problem on the classic asp site.
Configuration is 2008 server and IIS 7.0
I've found that admin directory of the site has basic authentication, however there is no any NT Accounts for requested loginName.
I don't want to create any Windows account for this site and I know that basic auth is ins...
I'm building a poll widget using ASP.NET controls and Linq-to-Sql for a high traffic site. The widget is, actually, already built. But, it does not use caching yet.
This poll can work in a multi-poll mode which means that each page load the control will hit the database to find any polls that the current user has not taken. There are al...
For a discussion forum, does it work better to index each entry inside a discussion thread as a separate lucene document or simple concat all entries within a discussion into one big block of text and index a whole discussion thread as a single lucene document?
...
I've got an ASP.NET (VB) page with two listboxes. Standard stuff - select an item on left, hit add button and it moves to right, etc. I've also got two buttons to move items up or down in the resulting list. My problem is that if I go to the 2nd to the last item (or any in that range) and move it down in the list the list resets the s...
Quick question, but is it best practice to wrap a service proxy class in a using statement? Meaning, in VS, we generated a proxy for a WCF service. For the service class, should it be wrapped in using? I don't believe it implements IDisposable and there is no Dispose() method. Thanks.
...
Hi,
I have a page that does an AJAX request. This request can take a while to complete, sometimes over a minute. This is not an issue.
During the AJAX request I am unable to load any other pages on the website. This is the same for any web browser.
I understand that there are connection limits in the browser, IIS and ASP.NET - but all...
I want to redirect to an action, and post to the action instead of get (and post the key: ID, with value 100).
is this possible?
...
I have a function that returns a list of email addresses from a SQL stored Proc based on an ID called. It is using StringBuilder and returns one column. For most IDs there are 4 or less email addresses and this format is fine. However we are now getting more IDs with 10+ email addresses and this is making the page too long.
The function...
Hi, I am looking for an accordion menu code sample to load it from the xml file rather than hardcoding the file names in the mark-up. Can you please share the link if you are aware of any such menu controls? (something like the one at this link http://www.i-marco.nl/weblog/jquery-accordion-menu/. it will be nice if I can pin it to the le...
I am trying to populate an (editable) gridview in ASP.NET with a table from SQL. I have a SQLDataSource set up for this. I also need to have this gridview be filterable based on parameters entered in textboxes. I have tried using ControlParameters for this and it works but the problem there is when all textboxes are empty I want it to di...
I've just tried to deploy my first web application to IIS on my Windows 7 Home Premium notebook. After creating the application, I had to change to the Classic App Pool, then set that pool for framework 4.0. Now I get the following error:
HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served b...
I have an ASPX page in my Application. ASPX pages from other applications in different domain
can call this page. But how do I return a value to the calling ASPX page in a different application?
How an ASPX page can return a value to calling page in a different app?
...
Background: I've wrote a small library that is able to create asp.net controls from a string.
Sample text:
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et
{{asp:hyperlink|NavigateUrl="/faq.aspx";Text="FAQ";}}
{...