F# and ASP.NET
Hi, is it possible to write ASP.NET (MVC) applications with F# code? If yes, how? What possible benefits would this provide? Thanks. ...
Hi, is it possible to write ASP.NET (MVC) applications with F# code? If yes, how? What possible benefits would this provide? Thanks. ...
I am using Visual Studio 2008 ASP.NET Development Server and EPiServer CMS, FF3 and IE7 Edited Question - Removed irelevant distractions as I now realise it has nothing to do with dynamic content. Every so often javascript files I am working on are not getting fully downloaded. The file I am currently having a problem with is only 49 l...
I need to load data in the gridview dynamically. That is when the user clicks the page number 2 then those records only has to be displayed.. I made a stored proc to return only those records whose page number is sent.. It will also return me the number of records too.. Now i want to create a placeholder which will create the page number...
I have a question about how to keep the current ASP.net/User's session during the duration of a user's visit. What is the best way to keep the current User object? Currently I am keeping it as a session object in the Session management in ASP.net. I do have Context.User.Identify.User keeping the email address/PK, but is there a better ...
I am currently trying to get my head round DI and IoC. Blogs and article are all well and good but I'd like to see some real working source code however I am currently stuck with web forms at work for the time being and most open source projects that I know of that are implementing these kind of development practices seem to be based on ...
In continuation to last question - My site goes slow and stops access certain services externally if we check the Process monitor we see that it is normally due to the ‘w3p.exe’ process – which is the background process for running the website – it regularly reaches 99/100% - killing the process/restarting the WebPublishing service reolv...
Hi guys, I plan to develop a solution based on Sitecore CMS which would allow the client company to manage their documents in a Sharepoint-fashion (versioning, diffs??). Of course, we're after limiting the number of licences required for the project, and the client doesn't yet have licences for MOSS, so we couldn't simply use the Siteco...
How can we take decision for viewstate and hidden field in ASP.NET. In my case i am using page cross post back and by using public properties of first page i am accessing them in second aspx page. After getting public variable in second aspx page i need to access those value in second page but as soon as i do postback in second page, ...
Hi i have deployed one of our asp.net website at windows 2003 server. When i request default page then always first responseof session takes more time. I think due to image rendring/ css and javascript . Is there any way to make response as fast as possible. Also in my default.aspx i am using 6 web parts and 6 user controls one for eac...
Hi all, i do Postback in my Page1.aspx to another page. If a press F5 key in Page1.aspx its appears the message (To display the webpage again, Internet Explorer needs to resend the information you've previously submitted. If you were making a purchase, you should click Cancel to avoid a duplicate transaction. Otherwise, click Retry to d...
Problem: I want to validate some ASP.NET-checkboxes using the jquery validation plugin (found at: http://bassistance.de/jquery-plugins/jquery-plugin-validation/) What it's all about: It's not possible to set the name attribute of ASP.NET checkboxes (or is it?). It'll automatically be set, when the control is rendered and can be retrie...
hi i have a asp:TableCell and want to bind date to this on the basis of condition such that if date is DateTime.MinValue it should display empty value else the date. i want solution in asp.net(3.5) C#. thanks ...
I have the following function + code to parse and query a webservice request then in theory store the results in the application (as it only needs to refresh once a day, which luckily is when the application refreshes). //tocommondata is a reference to the common stuff in the webservice var dCountries = toCommonData.PropertyCountries; /...
I want to add a hyperlink to a social bookmarking site om my webpage which requires me to include the name of the page it is being sent from. Example of what I am trying to achieve: Current page is: http://www.testpage.com/testpage.aspx?test=34 Hyperlink I want to create on the above page: http://www.stumbleupon.com/submit?url=http:...
How can one access cache objects in handler class? public void ProcessRequest (HttpContext context) { //Cache["asd"] = "asd"; //context.Response["1"]="sfd"; context.Response.ContentType = "text/plain"; context.Response.Write("Hello World"); string ss=(string)context.Cache["aasd"]; string sss=(string)context.Sess...
I am creating an Excel file with Response.write in my C# file and it takes 1-2 mins to create the file. I would like to make use of UpdateProgress to indicate that the file generation is in progress. But when I use UpdateProgress, the file is not getting generated. Please let me know if I am missing anything here. ...
i want to add ASP.NET pages in sharepoint having the same theme, so i watched this video http://msdn.microsoft.com/en-ca/library/bb418732.aspx however, i found that in the video, they added something through site features "sample feature custom application page" which i cant find on mine. on my site features there is only "team collabora...
Hi, In my application I am using a dataview for having the filters to be applied where the filter options are passed dynamically.if there are 2 filter parameters then the dataview should be filtered for parameter1 and then by parameter two. I am using a method which is called in a for loop where I am setting the count to the total no.of...
I have a UserControl A which contains a dropdown a placeholder At runtime the placeholder will be populated with some UserControl B. There are certain times which I need to trap the javascript onchange event in the dropdown to call a javacript function in B (to do a clientside update of B). What is a good design/practice for how to...
I am hooking the window.onbeforeunload event in an aspx page. I need that not to fire if I page a GridView that's in an UpdatePanel on the same page. I have tried hooking the PageRequestManager's initializeRequest event but this fires too late, i.e. after onbeforeunload. I have also tried checking PageRequestManager.get_isInAsyncPostBa...