asp.net

What is the major difference between GridView/DetailsView/FormView in ASP.net

GridView/DetailView/FormView will be used for displaying tabular data. Let me know about what are the differences these three also where we use? ...

ASP.NET wiki with AD authentication

I am exploring the options of establishing a wiki site for my company's division of developers, numbering over a hundred. We are a pure Microsoft (Certified Partner) shop, so it is natural to base an implementation on ASP.NET and IIS for familiarity's sake as well as extended learning opportunities. It looks like Screwturn wiki does not...

create your own settings in xml

I'm in a ASP.NET project where I need to give several parameters to the administrator that is going to install the website, like: AllowUserToChangePanelLayout AllowUserToDeleteCompany etc... My question is, will be a good thing to add this into the web.config file, using my own configSession or add as a profile varibles? or should I ...

RADGrid and ValidatorCalloutExtender

Hi there - I'm using a RADGrid inside a WebUserControl and am having some issues with the Validator Callout Extender. The Grid uses edit in place and I have setup an EditItemTemplate for one of the fields that contains a drop down list which in turn has a required field validator attached to it. The validator works as expected, howev...

PHP to ASP.NET - call_user_func() equivalent?

I'm wondering if there is an equivalent function to PHP's call_user_func() in ASP.NET application. I'm looking to do a conversion from a PHP application to ASP.NET as a means of teaching myself the language, by taking a CMS I built professionally and trying to recreate it in this other language. The reason I need a function similar to t...

JavaScript include declaration fails to find file

There has to be something utterly simple I'm overlooking here, but for the life of me I can't get a JavaScript file to include properly from my master page. My declaration in the <head> element looks normal enough: <head runat="server"> <title>Untitled Page</title> <script type="text/javascript" src="/_private/scripts/jquery-1....

Need suggestion for ASP.Net in-memory queue

I've a requirement of creating a HttpHandler that will serve an image file (simple static file) and also it'll insert a record in the SQL Server table. (e.g http://site/some.img, where some.img being a HttpHandler) I need an in-memory object (like Generic List object) that I can add items to on each request (I also have to consider a few...

Date in Dropdown list box

I have 3 drop down list having Date,Month ,Year.So when Updating I want this 3 Field to be a single Datafield in Sql Database. Iam using Asp.Net 2.0 Version(VB.Net).(Now these 3 Dropdown list values are saved as 3 Datafields in sql Database) ...

How to create custom validator in Asp.net using ActiveRecord

i want to create custom validator for checking fields exists in multiple tables ...

how to work with untyped Dataset in CrystalReports in Vs2005

hello friends anyone know how to create crystalReports with the help of UntypedDataset.what is the step for it .pls Explain me with the help of any Example. thanks ...

Flexible design - customizable entity model, UI and workflow

Hi All, I want to achieve the following aspects in the software I am building: 1. Customizable entity model 2. Customizable UI 3. Customizable workflow I have thought about an approach to achieve this, I want you to review this and make suggestions: Entity objects should be plain objects and will hold just data Separate Entity model ...

How to create SubDomains and redirect to them in ASP.NET?

How do I create subdomains in ASP.NET? I have few links on my homepage(Home.aspx) Example: Link1 and Link2 I need to create two sub domains link1.example.com and link2.example.com and redirect to them. I will be using Response.Redirect for navigation. Questions: Do the files need to reside in different directory or something? Can I ...

Create an "all-in-one" function using DS in C#

In my web app I use several asmx (Web Services) from the same provider, they have one for this, other for that, but all require a SOAP Header with Authentication. It is simple to add the Authentication: public static SoCredentialsHeader AttachCredentialHeader() { SoCredentialsHeader ch = new SoCredentialsHeader(); ch.Authentica...

ASP.NET/DataList: Client-side postback by clicking list elements

Hi, I have a DataList control that displays a set of elements. Can anyone point me in the right direction on how I can add some client-side functionality for submitting/doing a postback when the user clicks an element in the list (e.g. anywhere in the that is the root of the list element. I've seen some examples by adding a hidden Link...

asp:RangeValidator on DateTime with format dd/MMM/yyyy

Hi, Is it possible to use the ASP.Net Range validator when the format string is dd/MMM/yyyy? Kind regards, ...

Search Engine Site Map Asp.Net

If possible can anyone tell me how can I implement a search engine sitemap with asp.net. My website has content that expires frequently and new stuff comes in, that's why I wanted it updated whenever the search engine crawler comes to my site. I came across http://weblogs.asp.net/bleroy/archive/2005/12/02/432188.aspx which tells me tha...

Live Search using ASP.NET MVC and AJAX

I am looking to implement a live search in my MVC app similar to this site when you type in a question and results come up that are similar or like the search on http://www.krop.com/ I have the search code all working and results updated. I just need to know how to add the AJAX to the MVC framework (I know this site was built using it) ...

Sending data between an asp.net page and a pop up page?

What are the different ways of communication between asp.net page and a popup page? Query strings etc. Which is most secure? ...

Make a call to a external mvc controller

Hi I want to know if its possible and how to do the following , i have a basic MVC application (ASP.Net) that i have modified to work for me. Now the application already handles authentication perfectly fine but i need to use this authentication in another app. Without creating a webservice is it possible for me to make calls to the app...

foreach in ASP.net with nested runat="server"

For the following code: <% foreach (Entities.Core.Location loc in locations){ %> <div class="place_meta"> <img src="~/static/images/stars/star_25_sml.gif" runat="server" class="star_rating"/> </div> <% }; %> I would like to display the star rating image for each location object displayed. However, only the first location object's star...