asp.net

Making AJAX call back in ASP.NET with jQuery

I accept both C# and VB.NET If you visit this http://www.eol.org/pages/983558 and then click on the link like the image below you'll see in-line pop-up DIV which displays a busy status of Ajax callback before it displays the information. So, the information is not there yet until you click on the link. I'd like to do the same but...

Dynamically change the Flajaxian upload folder name

Hello, I am trying to dynamically change the upload folder name, but it's not working form me. Please help. I am using the Flajaxian S3 Amazon uploader. The code as follows <fjx:FileUploader ID="FileUploader1" runat="server"> <Adapters> <fjx:DirectAmazonUploader OnFileNameDetermining="FileUploader1_FileNameDetermining" Acc...

dotnet System.Web.Caching.Cache vs System.Runtime.Caching.MemoryCache

I've got a class that needs to store data in a cache. Originally I used it in an asp.net application so I used System.Web.Caching.Cache. Now I need to use it in a Windows Service. Now, as I understand it, I should not use the asp.net cache in a not asp.net application, so I was looking into MemoryCache. The problem is that they are not...

asp.net mvc and webforms shared authentication

I have few websites based on the WebForms and one based on MVC. All websites have the same settings for forms authentication in web config. The problem is that once logged in to WebForms website, I have to re-login for MVC websites, but when I log out from MVC website, I am automatically logged out from WebForms websites. How can I pas...

PostbackUrl messing up UpdatePanel async postback.

So here is the situation. I have a page with two custom controls. One of these controls contains an UpdatePanel, and this has worked correctly for a very long time. There is another user control which has two LinkButtons, that have recently been switched over to use PostbackUrl instead of the simple . Having a LinkButton with a Postbac...

Using a Tiff image on a webpage

I may be forced into using a tiff image on a webpage. Do most modern browsers handle tiffs. Are there any gotchas? ...

How can I use jQuery Ajax and PageMethods with instance variables?

One reason we currently use UpdatePanels for doing our AJAX is because our BL and DA layers pass around the Page.User.Identity for authentication. Is there a way to access this? ...

Asp.NET AJAX control update field on form

I have a form with several text fields, a couple of drop down lists, and a custom asp.net control. The requirement I have is that when the values of certain fields ( some are in the main form, some are inside the control ) the user will be alerted that the settings will not take place unless they also restart the processing and will hav...

Validating uniqueness with data annotations in asp.net mvc

Hi, I have various questions about validation using data annotations. I am using the following setup asp.net mvc 2 entity framework 4 data annotations Basically, I'm trying to get unique validation working and i'm a little confused. My models are as follows: public class Buyer { public int Id { get; set; } [Required(Erro...

Is this IIS configuration possible, and if not, what would you suggest?

Is it possible to configure an IIS website to provide domain credentials to an ASP.Net application if the user is logged into a particular domain, and use anonomous if they are coming in from the internet? Will I need seperate virtual directories, one with domain only and one with Anon only? I have an application follows different code...

adding an exam booking detail to database

how to add an exam booking audit trail to the database, where we can determine when and who has uploaded exam results ...

Getting javascript libraries from Google / Microsoft CDNs through SSL

Hi, I'm getting a couple of libraries from Google / Microsoft CDNs. ONLY one page on the system uses SSL but since I'm referencing libraries on the master page I'm getting the javascript libraries using the SSL so the single page that actually requires it doesn't throw security errors because accessing unsafe resources. I've read tha...

Why does IIS7 take a long time

It looks likes if I don't visit my low traffic site for a day, it takes a long time for the first page to load. I believe it's probably because IIS7 shuts down the application when it receives no requests for a certain length of time. How can I stop this from happening? I have a dedicated server so I have all the access required to c...

How to use the AdRotator to rotate through a list of links?

I was wondering, wether it is possible to use the Asp.net AdRotator to rotate through a List of links. This would be my business class. public class AdRotatorData { public String Name {get;set;} public String NavigateURL {get;set;} public String Description {get;set;} } I would like to bind a List to the AdRotator control and m...

How to convert DetailsView columns to uppercase

Hi all, I need to be able to convert all input fields in a DetailsView (Insert) to uppercase. How do I do this? My SQL query and the whole insert statement takes place in ASP.NET, and not in code behind so I'm not sure if I can dynamically do this in ASP. I've used Text-Transform in CSS to make them look uppercase for the user, but it s...

jqGrid multiselect is very slow with large local data and jQueryUI 1.8, jQueryUI 1.7 is fine

I am using jqGrid in an ASP.NET page and injecting the datainto a script block on the page and then loading from there. For this one use case it is necessary that we have a large amount of data visible on the screen at once. which involves 300~500 records with 30 columns on each row. Paging for this case is not a good fit. The user needs...

Error in formating of XML string with CDATA

I get this error "Start tag on line 1 does not match the end tag of 'document'". string rawXml = "<?xml version='1.0' ?>" + "<document>" + "<![CDATA[" + "<topic>" + "My test" + "</topic>" + "]]>" + "</document>"; Error occurres when I try to...

Can I use both DevExpress and Telerik on the same web page

Will there be any problems if I use DevExpress controls and Telerik controls on the same web page. Imagine I am nesting them insider one another. I am wondering if they would conflict each other during AJAX calls. ...

anyone know what changes if any were made to asp.net wizard control in framework 3.5??

HI, i would like to know what differences if any there is between the .net framework 3.5 asp.net control compared to the .net 2.0 framework version ...

Possible to turn off App_Code auto-compile?

Working with Visual Studio (I'm using 2008) I have started to notice that when you save a file in the /App_Code folder, the program will hang for a bit before returning control. After a bit of research, I have learned that there's an auto-compile feature at work, which I assume is what is slowing down my system. So the question is this...