I use a GridView control which uses paging and inline editing. I am not using any other features (no sorting or anything fancy).
What browsers is this GridView control completely compatible with? Is there an "official" document/spec from MS?
...
Is there any reason why JQuery would not work when used in an ASPX page? We have been trying to get working a simple call like this:
$(document).ready(function() {
alert("This is SPARTA!!!!!!!!!");
});
An the alert box is never shown. I've had some experience with JS and ASP.Net before with buttons and I know that I have to return...
I was playing around with the Datetime.ParseExact method, and it wants an iformatprovider..
It works inputting null, but what exactly does it do?
Thanks :)
...
Hi
I have an ASP.NET app running in IIS that is hosting files all great but it blocks all *.upd files and says http 404.
If I turn directory listing on it lists the file just great but I cant download it any way...
Is there any way to fix this?
...
I am working with .Net 2.0 ASP.NET Web Application.
I am programmaticaly creating an assembly containing namespace and classes specified within xml file in the web application.
I have created a separate library that does that, I get the assembly and that's fine.
But I don't want to reference this as a precompiled component.
I want to ...
Hi all.
How to get ClientID of a TreeNode in a TreeView based on one of its rendered attributes,
for example, its title attribute (In my case it's unique)
,using either Server-Side or Client-Side code?
I go with this code, but it doesn't work, any suggestion?
// Retrieves TreeNode ClientID.
function GetTreeNodeID(nodeTitle)
...
I placed the scritmanager to masterpage. "scriptmanager1"
There is an updatepanel in the masterpage shows total. "updatepanel1"
In the contentpage I have nested listviews. the "listview2" inside the "listview1" has itemtemplate with a linkbutton called "addtoTotal"
I want to update the updatepanel1 inside the masterpage when user clic...
I've been trying to use SVN to deploy my asp.net site to production. My workflow is:
Setup:
Publish Site to FolderX,
Import FolderX to SVN,
Update web server production folder with the repository for FolderX.
Everyday:
Publish updated site to FolderX,
Commit Changes,
Update remote server with changes.
That's the theory, but when I pub...
Hi, is there any way to bring up a subheader row at changes in a field in an databound asp:repeater control e.g.
Instead of
country | colour | number
uk | red | 3
uk | green | 3
france | red 3
Do this:
==UK==
colour | number
red | 3
green 3
==FRANCE==
colour | number
red | 3
Many thanks for any help.
...
I have a need for a confirm message box from a button click, but only on some conditions. I am cheking two values on the aspx.page, and if one is higher than another, I need a confirmation from the user. Are there any ( simple) way of doing this ? I have been reading about javascript and alert messages, but I cant seem to figure out this...
I've just ported a Web service from Delphi.NET 2006 to Delphi Prism 2009 (running in the Visual Studio 2008 IDE). But I can't find where I'm supposed to set (or unset) the conditional compilation constants!
Am I blind, has this option been left out, or is it just not supported in VS?
[edit: thanks to Mohammed Nasman for the link] MSDN...
Hi,
We had an asp.net 1.1 application that we recently migrated to 3.5. We are facing some problems when we do code modification on the migrated application. Here is what is happening
In the asp.net 1.1 application we have the page directive codebehind="ePC.aspx.cs". This migrated fine.
We made some code changes to the .cs file. Sa...
I'm using a ModalPopupExtender to show a modal popup window with a bunch of input controls and a couple of validators with EnableClientScript set to true.
The issue I'm facing is, that the client-side validations get executed right after the modal popup is shown (via client-side code, not from server).
Is there a way to prevent this?
...
If I create a user control (EDIT:not a web control/server control) it's pretty trivial to get databinding. I just add a datasourceID property.
In code behind (vb)
Partial Public Class BandedControl
Inherits UserControl
Public Property DataSourceID() As String
Get
Return MyGridView.DataSourceID
End ...
I have bound fields in GridView to some dateTime property of data objects. The fields are displayed to the seconds level. It looks like 2009-2-3 18:00:00 PM.
I just want it displayed to the minutes. E.g 2009-2-3 18:00.
What is the best way to do this?
Edit:
I find use DataFormatString="{0:g}" is fine for me.
The format is 2009-2-3...
I am maintaining a public website (no authorization required) that uses web services over https to perform various operations. Most of the calls to the web services are invoked from javascript.
What has recently occurred to me is that a malicious hacker could, if he/she chose to, call the webservices directly in an attempt to play havo...
Hi I have two data tables say:
Table 1:
name age
---- ---
Bob 40
Table 2:
auto kids
---- ----
3 3
I want to merge the two tables to get something like
name age auto kids
--- --- --- ----
Bob 40 3 3
Is this possible? I tried merge but it does not seem to be working, thanks.
...
Where can I get started writing a media server in C# like PlayOn
http://www.themediamall.com/playon
UPDATE:
I have learned that PlayOn is a is a DLNA/UPnP media server but I am still looking for C# example implementation of this type of server. I am placing a bounty and will award it if you can point me to some sample code that I can ...
Possibly better suited for "Rack Overflow", but from a developer's point of view, what are the advantages and disadvantages of running IIS (serving both legacy classic ASP and .NET) as a 32bit process instead of a 64bit process on a 64bit windows host?
The main advantage of 32/64 (iis/server) over 32/32 seems to be the ability to go up...
Anyone willing to help me out with pros/cons on .NET Remoting, Web Services, and WCF? I have worked a bit with .NET Remoting and Web Services and I am architecting a new ASP.NET 3.5 web app where I will be using a SQL 2008 DB. Primarily I am wondering if it would be worthwhile to really look into WCF for this app.
In this particular i...