I have an AJAX-heavy ASP.NET web application developed using .NET 4.0, using TFS as our source control. We recently upgraded our dev tools to use VS2010 and TFS 2010 exclusively, but now every time a file is checked out, we see visual studio reloading all the symbols, and all the sessions being dropped.
After putting some error logging ...
Recently we got a project which can be developed either in J2EE or Asp.Net (no restriction from client). Client is asking to give best solution to maintain the project in long run.
Here I don't want to discuss about "Java vs .NET" but need to know which one is preferable to reduce maintenance cost. If I choose any of these technologies...
I couldn't find something similar in SO.
In ASP.NET, is there any way that on cue I can cause a partial postback with Javascript in an UpdatePanel?
I tried __doPostBack() but it does a full postback.
I can trick it with a dummy button and fire click() then handle the partial postback that way, but I want a more graceful way than trick...
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
D...
I have one ASP.NET application which includes one gridview. This gridview contains 4 template columns of checkboxes and 2 template columns of link buttons. If I click on the first checkbox, then both of the link buttons should be enabled, otherwise they should be in disabled mode. This functionality is working fine. But my problem is, at...
i have used JQuery date picker in form- form contains just one text box and when we clicks on it--> it pops up the JQUERY datepicker.
In other web form in same project --> i have used script manager, Update panel and one textbox --> when click on it - am not getting JQUERY Datepicker Popped.??
What will be the issue.?? Any problem with...
Hi , I have a treeview which is creating its nodes from database....I want to maintain the expand collapse state of the treeview after postback
...
hi all,
I have implemented easyslider in my site,
it is working fine in mozilla but giving problem in IE,
I have scrolled some images one after another using easyslider,
but in IE all images are scrolled at the same time.
Plz have a look at demo site:
" http://dev1.maxnet-tech.com/maxnetecommerce/CategoryFeaturedProducts.aspx?ParentC...
Hi all,
I've seen there's a general browser issue when we try to set the Content-Disposition header like "inline;filename=file1.doc": the browser shows the file, but when we try to save the file, the filename property isn't honored and the browser uses the page's name as the file's name (instead of file1.doc). Here's another thread disc...
Hi everyone!
I want to set colspan for the header row in the grid view to look the same as on the image below:
Html code is:
<html>
<body>
<table border="1">
<tr>
<th colspan=2>Header</th>
</tr>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
...
I have a web-forms aspx page (reportviewer) inside a mvc application and I need to create a link to it (ActionLink asks for controller,action pair) and send to it a string and an int,
anybody knows how ?
...
new to EF - please bear with me.
Due to the way the database was designed, in my model I have a User entity. The Contact entity inherits from the user entity, and the Profile entity inherits from the Contact entity.
How can I get a list of Profiles, and, how do I create a Profile?
I am able to get a list of Users no problem.
Your he...
I'm trying to create ASP.NET buttons programmatically inside an update panel in my SharePoint instance, but because of the page life cycle, I can not attach server side events on buttons.
Here is the code;
TableCell tcellbutton = new TableCell();
b.Click += new EventHandler(b_Click);
b.CausesValidation = true;
tcellbutton.Controls.Add(...
Hi, on my webpage the user must select out of a radio button list/dropdown list of types of computer locations - i.e. network share, FTP, HTTP. I want a different popup to come up for each option in the list, and in that popup will be some input fields to enter the network path, FTP address/username/password, HTTP url etc. I'm guessing I...
I develop user control Date of Birth, which contains 3 DropDownList.
I need to make data binding, but I dunno how.
public partial class DofControl : System.Web.UI.UserControl {
public const int YearsCount = 100;
int _year;
Months _month;
protected void Page_Load(object sender, EventArgs e) {
...
What would be the best database/technique to use if I'd like to create a database that can "add", "remove" and "edit" tables and columns?
I'd like it to be scaleable and fast.
Should I use one table and four columns for this (Id, Table, Column, Type, Value) - Is there any good articles about this. Or is there any other solutions?
May...
I wanna connect to aspnetdb but it makes an error says "Login failed for user"
this is the connection string in web config :
<add name="UserProfiles" connectionString="Data Source=KIA;Initial Catalog=aspnetdb;Integrated Security=True;"
providerName="System.Data.SqlClient" />
and this is my code:
SqlConnection connection = new SqlC...
Hi
I am trying to sent an email to some addresses
i did that using the System.Net.mail
the problem is that i need to make the mail message different for each recipient
because i need to put a link inside the email that contain the id this user, the problem is
the large number of recipient that i cant use a loop to invoke sending function...
Is it possible to keep the same Method name for both insert and update in ObjectDatasource?
I am using Save() method for insert and update.But ObjectDataSource fires Update but does not
fire insert.
...
Hello
I'm working on an ASP.NET MVC 2 project and I would like to know how could I clear the Session state each time a new request is initiated by a browser. I want to use the Session state as long as the user stays on the page but once he closes it, I want to discard all Session variables, so next time when the page is requested I can ...