asp.net-3.5

$('#<%= txtFirstName.ClientID%>'). What do $ and # do in this code?

$('#<%= txtFirstName.ClientID%>').show(); Trying to send ClientId to external Javascript file using server tags as a parameter <input type="text" ID="txtFirstName" runat="server" maxlength="50" class="DefaultTextbox" style="width:180px;" value="First Name" onfocus="ControlOn...

ASP.NET LinkButton OnClick Event Is Not Working On Home Page

I have a user control that handles logging a user in to my site. This user control is placed in the upper right corner of all pages as a Quick Login Box. The problem I'm having is that on my production server, the LinkButton click events I have provided for logging in and reset are not firing the OnClick event after a postback. Its like ...

Writing secure asp.net applications

I am on a project that involves processing financial information, and so I need to write secure asp.net pages using C# 2008 (https etc) Can anyone recomment any tutorials then can help me understand more about writing secure asp.net apps? Thanks ...

MS charts not working on server

I have started using MS charts in ASP.NET 3.5 with code behind in C# I worked with the charts which worked fine with localhost; but problem startd when i started working on the server i get an error in web config Parser Error Message: Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, P...

Update DataKeyNames field value in gridview

Hi All, I am using gridview for add and update process in database. Process Flow: Name  A   B   C  Command xx                        Add yy    12   13  13 Update zz    22   33  44 Update The first record does not have value in datakey field because there is no record in the database The Second record...

Security in asp .net

Hi, I have a query related to Login in ASP .NET website. When a user logs into system, his interface opens. But, when I click back from menu, it goes to Login page again. That is fine. But, when I click Forward from menu it opens User's interface back. This should not happen, it should ask to login again. I wrote Session.Remove(), but st...

Tips for making a asp.net web application run faster.

What all can we do to make a asp.net web application run faster than before. What are all the tweaking required for it ? ...

ASP.NET and storing dynamic data - XML or Database?

I have an ASP.NET application and need to store some settings. The settings are, among other things, titles on pages shown in my application. The titles are changed on a regular basis (every week or so) and I'm wondering on how to do this the smart way: Save the settings in the web.config (slow read time, and application has to be re...

Custom Tag in HTMl

Hi, I want a shopify like functionality in my app which I am developing. Shopify template engine support this syntax in theme files. <ul id="blogs"> {% for article in blogs.frontpage.articles limit: 3 %} <li><a href="{{ article.url }}">{{ article.title }}</a></li> {% endfor %} </ul> I also want this type of functionlity for min...

Make URL in ASP.Net user-friendly

I'm trying to develop my first site in ASP.Net using Web Forms. I have a form with some controls and a TextBox control. While now I use GETrequest. When user submits a form his browser expects to get long URL, something like http://mysite.com/search.aspx?__VIEWSTATE=%2FwEPDwUJNTE2NjY5jMY4D2QWAgICD2QWAgIDDW8wAh4EVGV4dAUBMWRkZKthQ0zeIP5...

Web Parts & User Instance without SQL Express

Hi, I'm having hard times with the SQL Error Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed. No matter what I do (yes, I have the SQL Express running in the Local account and deleted the SQLExpress folder on Local Profile), users under ...

<form> action when using Server.Transfer()

Hello I am using Server.Transfer() to transfer processing from one page to another. The problem is that the form action in the source of the page, having been transferred, refers to the destination page and not the original page as per the URL in the browser. Is there a way to make the action of the form reflect the URL in the browser,...

Server with Load Balancing is redirecting to wrong page

Hi! i'm having a problem using Load-Balancing on my server (using IIS 6). I have a Manager Website that works correctly most part of the time, but sometimes when i go to another page inside this manager, instead of redirecting to the correct page, it redirects to the login page of it. I don't think this is a timeout problem, because if ...

Can you determine the name of the route followed from your webforms page?

Hi there, I have a ASP.NET 3.5 webforms project I have enabled routing over. I also have in the project a number of controls doing different things based on what page they are currently being shown in. It would seem that the most straightforward way to control this different behavior is to discover which route was used to load the page...

What are some good ASP.NET 3.5 tutorials?

how to learn asp.net 3.5 in short time.. please refer some links and studying materials. ...

Trying to convert Global.asax 1.0 file to 3.5 Issues with Application_Error + Session and Redirect...

So in the Global.asax is this: protected void Application_Error(object sender, System.EventArgs { Session["CustomError"] = Server.GetLastError(); Server.ClearError(); Response.Redirect("~/ErrorPage.aspx"); } And in ErrorPage.aspx is this: private void Page_Load(object sender, System.EventArgs e) { Excep...

Controlling which WebMethods get exposed externally in a WebService

I couldn't think of a decent title, so let me first apologize for that. I have a WebService (call it A) written for my app so I can take advantage of ASP.NET 3.5 AJAX features. I use the generated JavaScript proxy to make AJAX calls. As a side effect, WebService A is exposed for anyone to add as a reference to another project, which i...

Not getting posted file in asp.net 3.5. FileUpload control

Hi all, this my code in my user control's designer file <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucImageList.ascx.cs" Inherits="Pariwaar.UserControl.ucImageList" %> <asp:ScriptManagerProxy ID="ajaxScriptManagerProxy" runat="server"> </asp:ScriptManagerProxy> <asp:UpdatePanel ID="UpdatePanel1" runat="server" Upda...

creating templates

I am a Application Developer in a Private Concern. I'm working on Web Portal project which the clients are asking for the model template of the design which cannot accept any events. I don't know how to create the template for my web design. Please help me to come out of this problem. Thanks in advance. ...

ASP.NET: Access Child control Inside IFrame in Parent Page.

I have a 1st page in which i have a IFrame control. Inside iFrame, i opened 2nd page. Now i want to access the control values of 2nd Page in 1st page Code behind. I am not able to access. I am using Dot Net Framework 3.5 Please help me for it... ...