asp.net-2.0

How to display a grave accent in a textbox

On a postback I'm setting the value of one of my textboxes to a grave accent. This is causing a bunch of the HTML that follows to be shown in the textbox instead of the grave accent. What am I doing wrong? ...

Which is better in asp.net 2.0?

Hi, can anyone tell me themes are better or CSS style sheets are better in asp.net for design? Please explain the concept also with an example. Thanks Rupa ...

How to create a stateful XML WebService in asp.net ?

Without getting into the 'Stateful services are bad' discussion... How do you create one? From the lack of helpful search results.. it seems either I'm searching for the wrong terms or it is being actively discouraged. The best link i could find was this one on MSDN To give a brief context of what my current app looks like. Rails Web A...

How to get all available culture names in ASP.NET application

My ASP.NET application is localized (by using resources) to many cultures. What I need is to find all these cultures (in runtime) and for example fill a DropDownList. I have code which does that in windows applications - buids collection of available cultures by seeking satellite assemblies. But what about web apps? It's possibe to fin...

IIS7 is throwing a 500 error intermittently. Can anyone help me diagnose it?

Sorry for the vague title, as I really can't explain this problem succinctly. Basically I have Windows Server 2008 x64, IIS7, ASP.NET 2.05, and I have a site running in a Classic AppPool (and no I cannot run in Integrated). When trying to load an *.aspx file for the first time (i.e. after installing site, restarting the server, etc) I...

javascript timer

hello I am developing online exam application using asp.net, in the start exam page i have created a javascript countdown timer, how can i move to next page automaticaly after timer reaches 00 and here is my code long timerStartValue = 1000 ; private int TimerInterval { get { int o =(int) ViewState["timerInterval"]; ...

Cannot enable viewstate?

Hi All, I have a web apllication with wizard control with 4 step index. Each having a dynamically editable grid which need to put only valid data & goto next. In one step which have 2 columns which are not require to be editable because it has set its value from previous field by calculation, done with javascript. But problem is that ...

Why are the Configuration options not available in Visual Studio 2008?

I have a simple Web Handler project, and for some reason I cannot choose it's configuration either from the drop Down on the standard bar (It is greyed out), or from the Build Menu (there is no "Batch Build" or "Configuration Manager" menu entries for this one project). All the rest of my projects work fine, and it is a fresh clean buil...

iframe tag in asp.net

Hello I use an iframe tag in my asp.net page, but when i place any other controls in that page, after running the page except iframe tag no other controls displaying in that page, can anyone help me? Thanks in advance sangita ...

Disable a checkbox created at runtime

In my asp.net application i have created checkboxes at runtime. I want to disable the checked checkbox when i click on a button. How do I achieve this? Here is my code: protected void Page_Load(object sender, EventArgs e) { for (int i = 0; i < 12; i++) { tr = new TableRow(); tr.BorderStyle = BorderStyle.G...

ASP.Net: Element <name> Is Not A Known Element

I've been trying to use the AutoComplete Extender from the ASP.NET Ajax Control Toolkit, however I've been having tons of trouble getting it to actually work. To install the AjaxControlToolKit, I've placed it inside my application's bin directoy, then I just dragged and dropped the control into the form. However, it keeps saying, "Ele...

Preventing Double Clicking with Server Side Validation

I am trying to prevent users from double clicking on the submit button for a page I'm updating. The problem is that there is server side validation that has to be done to determine if the user has to do any updates before we can move on. I currently have the following code on my submit event for my form. <asp:Button ID="SubmitPayment" ...

Has anyone used the ASPxperience Suite of tools?

Just wondering if any one has used the free controls available on ASPxperienceDemos and can vouch for them being good for use even under high stress situations. We are building an internal web app and it will be getting upto 350 concurrent users during peak hours. More specifically the following controls ASPxLoadingPanel ASPxDataVie...

ajax treeview asp.net

Hi, I am looking for a treeview control for ASP.NET 2.0 that supports AJAX. Can be commercial or free. Any recommendations? Thanks in advance ! ...

Why might this ASP.NET profile section fail to dynamically compile?

When the following profile section is in my web.config, the first page request fail with FileNotFoundException and a bunch of error coming from the compiler (from the look of the stack trace). When the properties section is removed, everything works again (until I try to reference something from the Profile of course). The rest of the w...

Crystal Reports + Asp.net 2.0

Hi all: I having a problem in crystal reports xi release 2 + visula studio 2005 with sp1 the error it's giving is this: Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specifie...

ASp.NET: suggest a best option to allow the user to download the data in the datagrid in the client side in Excel format.

Hi, Please suggest the best option to allow the user to download the data in the datagridView from the page in excel format to the client machine. I have a dataset that is binded to the datagrid view.Even it can be downloading the data in the dataset to an excel in the client side. PLease suggest whether this it is possible to generat...

How can I create a form button that will partially function as web browser's Page Back?

I have multiple forms in a web application that have buttons which are currently not functioning the way I want them to. When the buttons are clicked, they will perform some behavior and then perform a Reponse.Redirect to some calculated location. The problem is the calculated location right now is wrong. I'm thinking about replacing ...

Does AutoEventWireup="true" cause dynamic compilation in ASP.NET?

I've precompiled my application out of frustration with the dynamic compilation and shadow files often not working, requiring clearing the ASP.NET temp files, learning about malformed tags and run time, etc. Does AutoEventWireup cause run time compilation or does the auto event wireup happen at compile or pre-compile time? ...

ASP.NET 2.0: Cannot Convert VarChar to Int

I have an ASP.Net form, where it grabs a value from a textbox: <asp:TextBox ID="txtID" runat="server" maxlength=9></asp:TextBox> The ID HAS to be 9 numbers. After it grabs it, I want to insert it into a database (SQL Server 2005), so I build a parameterized string, 'The Query cmd.CommandText = "insert into table (aid) values ('@aid'...