asp.net

Editor Control in asp.net?

Is there any editor control in asp.net like the one above? The one above was created in javascript in asp but I want something similar in asp.net. ...

Will redirect avoid double posting?

Probably not but i want to ask. Will redirect avoid double posting? I know there are better ways to avoid it but how do most double post happen? from my understanding its when the current page doesnt load and the user hits refresh, not bc of clicking post multiple times. I figure redirect info are so small that when the user hits refresh...

When to use ASP.NET MVC vs. ASP.NET Web Forms?

One of the common questions asked regarding ASP.NET MVC is why should you use it over ASP.NET Web Forms? The answer generally includes ViewState and clean URLs, amongst others. Towards the end you'll find a blurb about using the right tool for the job and that they serve different purposes. However, I don't believe I've ever seen what...

rendering multiple Calendars bloats html, bogs down page

note: I am using the Infragistics control because this is inherited legacy code, but I am not above rewritting with an ASP.NET control if that is a better solution. I have a Repeater control that uses an Infragistics WebDateChooser to select a date for a record. Let's say each item in the Repeater represents a customer, and I am selecti...

asp.net JQuery .hover event gives out "object expected" error

This is what I have On my .master page i have the following <script type="text/javascript"> $(document).ready(function() { $(this).hover(function() { $(this).addClass("ui-state-hover"); }, function() { $(this).removeClass("ui-state-hover"); } ).mousedown(function() { $(this).addClass("ui-state-active"); ...

asp.net Form Generator

Anyone know of a product/solution that creates web forms on the fly? I want to allow my users to create their own web forms. Any help is appreciated. C# or VB solutions accepted. Edit: What I'm trying to create is something like wufoo.com (thanks o.k.w). I don't want to have to build my own form builder from scratch. ...

Where are Web Application Project Assembly references stored?

Where are assembly refernces stored for a web application? In a Web Site, I see assembly tags written to the assembly node in the web.config when you add a reference. I am just curious as to how the Web Application Project makes the connection to get the correct local dll? I manually add the reference and the application builds, but ...

Validator Disappears on PostBack Inside Composite Control

This should be a simple problem to fix, as it uses the same way I fixed my last problem with FooControl (below). Basically, I want to add a derived validator I made to this composite control. It works fine but on postback it just disappears in the markup, making me think it's lost its ViewState. I am probably doing something wrong with...

What's the most professional COLOR design for Master Page?

end-user. aliceblue? ...

How to handle error from MVC controller on JqGrid inline editing.

onSelectRow: function(id) { if (id && id !== lastsel<%= count %>) { $j(gridName).restoreRow(lastsel<%= count %>); $j(gridName).editRow(id, true); lastsel<%= count %> = id; ...

Modifying GridView data using Jquery doesn't persist back to Server events

Hi, So i have an ASP.NET GridView control in which each column is a 'BoundField'. I did not create a TemplateField(ItemTemplate/EditItemTemplate), because i was planning on using JQuery to convert the BoundField row to a 'Edit' field by just converting the text in each cell to a textbox or textarea when that row was clicked. This is done...

Programming References Anyone?

Since I started working I go to StackOverflow for everything. But as we all know it is good to have many ways to skin a cat. where is your other favorite website to visit for programming Reference? ...

Where should I start if I have to get into SharePoint as well as ASP.NET?

I am a fairly experienced Programmer - but my field has been Lotus Notes. So i am not familiar with OOP. I want to get into Sharepoint Development and wanted to know where to start. The basic understanding that I have (after reading some of the answers to similar questions here) is that I will have to study C# and ASP.NET. What I want to...

Ajax upatepanel on user control, parent's inline style not rendered by IE

Hi, I have a asp.net page, the main content section displays the custom html content from the database. To the right of it, it has a few user control that lets the user make drop down selections and go to its perspective links. So it's something like this: <asp:Content ID="Content3" ContentPlaceHolderID="mainContentPlaceHolder" Runat...

Is there a way to to find out if a caller is highly trusted WITHOUT potentially throwing an exception?

Hi! The following code works but it uses a security demand, which in my application all too often often leads to a SecurityException being thrown. As you can see the code handles this just fine but I'd like to speed it up if possible. Any suggestions on how to improve things would be greatly appreciated! using System.Security; using ...

How can I hide ‘code behind’ files in asp.net? i.e. files with .cs extension

And creates dlls for all code behind files. ...

Linq to Sql - Retrieving the value of an identity column BEFORE inserting new register.

Hello, I'm wondering if there is a way to retrieve the identity value from an identity column before saving a new register. When I run this query: "SELECT IDENT_CURRENT ('alpa_Animais') AS AnimalID" directly, using the SQL Server Management Studio I get this value. Does anyone know if there is a way to get this from a method inside a w...

Debugging two web applications in asp.net

I have a solution file containing multiple web applications and components. Mostly these web applications operate independently of one another, but I need to be able to response.redirect from one application to another. This works, and the new page runs, but I can't step into the code in the second web app and debug it. I have both we...

Publishing an ASP.net Webservice

I have a solution with a number of projects in.. One of these projects is a web application, another is a web service. The web app references the web service, and uses the methods in there. In production, the web application will be hosted on one server, while the xml web service will be on another. My question is, how do i deploy this...

"Validation of ViewState MAC failed" - What does this error mean?

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. I am using localhost btw. ...