asp.net 2.0 / jQuery / AJAX
<script type="text/javascript">
//updated to show proper method signature
var prm = Sys.WebForms.PageRequestManager.getInstance();
prm.add_endRequest(hideMessage);
function hideMessage(sender, args)
{
var ctl = args.get_postBackElement();
//check if ctl is the disired control
//hide user notifi...
I am using the ajax calendar tool. I like its function, but I would like to restrict the user to an option of selecting a time frame starting with Today, and ending with 6 months prior. How do I do this?
...
I have a _Click event that is firing when a chart is clicked on. In this event I immediately cast the sender to type Chart. I often follow this paradigm but feel icky each time that I do.
In this particular instance I am also immediately running out to find a corresponding UpdatePanel so I can add a dynamically rendered GridView to it...
I created a template class to be used by GridView and it works fine, but if i enable sorting the column headers do not turn into links.
...
Does anybody have an idea how to use he "publish website" command on VS 2008 and be able to track changes so as to only sent to the hosting server the modified files?
When the command is called, the destination folder files are wiped and replaced with the result of the new build (assembly file are created as well as some marker files).A...
I'm looking to get a more thorough understanding of the ASP.NET page lifecycle. I'm in the process of building custom form controls and have found my knowledge in this area to be lacking.
Are there any resources, tutorials, etc. that you've used to better understand this area?
Are there any tools you've used to improve your knowledge i...
Similiar to:
http://stackoverflow.com/questions/170309/three-way-merge
http://stackoverflow.com/questions/460198/best-free-3-way-merge-tool-for-windows
I am running 2 websites. One is running .net 3.5, the other is not. On the site that is running 3.5 I also have the older version. Right now, I am going through the 3.5 and the 2.0 lo...
I have a dynamic data ASP.NET application with a requirement to give some users tables X, Y, and Z and others only X and Z. All 3 of these tables are using the standard ListDetails page templates, and we really want to avoid creating custom pages for x, y, and z. What is the best way to handle this security?
All of our permissions are...
I'm working on porting a large vb6 application to .NET. The current app is a desktop app that communicates with a set of local access databases. There are about 200 forms in the application and about 100 tables. The screens are mostly complex. Most show master-detail relationships, lots of rows in embedded spreadsheet and dynamically gen...
Hi,
How do get the paging functionality (like we have in asp.net gridview) in Listview control?
Thanks!
...
hello,
I am writing an asp.net app that stored an object in cache. When the page loads the first time, it checks the cache for the object, if it is there, it will use the object. if the object does not exist, it will re-build it and store it in cache. since multiple users can use this app at the same time, i was trying to store the obje...
When a user registers, I set the IsApproved value to false until later. After "approval" I set the users .IsApproved=true. However, the change does not get committed to db. It does show change in debugging. Any ideas?
...
We heard a lot about the vulnerabilities of using QueryStrings and the possible attacks.
Aside from that, yesterday, an error irritated me so much that i just decide to stop using QueryStrings, i was passing something like:
Dim url As String = "pageName.aspx?type=3&st=34&am=87&m=9"
I tried to
Response.Write(url)
in the redirecting...
Sorry if my question is asked wrong, I am just starting to learn ASP.NET in VS2008.
I try to follow several tutorials on the web (for example http://msdn.microsoft.com/en-us/library/aa730880(VS.80).aspx#wapp_topic5) to create a web page:
Create new Web Application
Switch to Default.aspx, Design mode
Drop a Label from the Standard Tool...
Is the Northwind Starter Kit from Codeplex a good starting point to learn more about how to best architect an ASP.NET application?
Is there something similar for the AdventureWorks database examples?
...
Are there other example projects like the Northwind Starters kit around that show you 'best practices' (layers, unit tests, mocking data, o/r mapping tools, ...) in architecture of ASP.NET development?
Or links to good and clear resources or documentation? (MSDN is a good reference but no good as tutorial)
are there example projects a...
what in asp.net similar to message box
if (s != "null")
MessageBox.Show("your in ");
else
MessageBox.Show("wrong user ");
i want to replace message box here in c# code
...
Using RegisterClientScriptBlock I reduce server requests.
But with RegisterClientScriptInclude I can separate HTML and javascript.
Which method should I prefer?
EDIT: Additional question - where do you store your js blocks. I get used to place them into resources files.
...
I am making this in a proactive attempt to head off any potential problems which could arise from this. The situation is that we are developing an ASP.NET application for a client which will handle the online ordering from their customers. This application is going to be using the same database that their current WinForms application use...
Hi, I have a countdown timer in javascript that is called by a code behind using asp.net VB. I cannot find a way to keep track of the time ,.
the problem is., I cannot get the time that elapsed after postback so that the timer would continue ticking,. can you help me please,.?? I would really appreciate it.,
here is my code fragment: ...