I selection page that has a gridview that presents the user with a list of data items that they can click on to "drill into" - redirecting them to the data maintenance page.
Because the list can get long, we have a series of check boxes and drop-down lists at the top that act as filters.
We just implemented an UpdatePanel with an Updat...
I am using ASP.NET with C# and subsonic.
I am trying to setup a search on a text field by first and last name.
First or Last Name: <asp:TextBox ID="txtSearchName" runat="server"></asp:TextBox>
<asp:linkButton runat="server" Text="Send" onclick="btnSubmit_Click" />
<asp:GridView
border="0"
cellpadding="3"
cellspaci...
Ok, first hear me out by looking at this url:
http://api.flickr.com/services/feeds/photos_public.gne?format=json
Notice how the Description string has non-encoded html in it such as <, >, etc.
Here is how I returned my JSON using ASP.NET 3.5 and C#:
context.Response.ContentType = "text/plain";
context.Response.Charset = Encoding.UTF8...
I've got some controls on a web page that surface configuration elements of my web application.
I've wired up to their "OnChange" events, to capture value changes and so on. For each on change, I would like to say Configuration.Save(), but apart from getting "access denied" exceptions on web.config, I suspect this could be some weirdnes...
Update
Putting this at the top because it is crazy :)
So some users have it work, some don't. When I use my own account via IE7 it doesn't work (my code catches the exception and falls back to simply using the identity name instead of the AD fullname). When I try via Chrome it prompts me for the username and password, which I supply,...
Hello,
is there a default timeout set when i call a PageMethod from a javascript without specifying explicitly the timeout, if yes what is it?
Thanks
...
I've created a class library which exposes my back-end object model. I don't wish to databind straight to SQL or XML, as a surprising number of tutorials/demos out there seem to assume.
In my Page_Load(), within the if (!IsPostbak), I currently set all the values of my controls from the object model, and call Databind() on each control....
Currently I'm using the helper methods outlined here to return some JSON from my .ashx: http://weblogs.asp.net/scottgu/archive/2007/10/01/tip-trick-building-a-tojson-extension-method-using-net-3-5.aspx
Problem is, I get [ and ] wrapped around my JSON which is malformed...jQuery cannot pick it up in the callback:
[{"ImageTag":"<img s...
I want to hide the Next button on my ASP.NET Wizard control using JavaScript. Can anybody tell me if this is possible and post a javascript snippet on how to do this? Thanks!
...
Hi,
I'm using a CreateUserWizard on my register page. The Sign Up button is part of a CustomNavigationTemplate.
I need to set the Sign Up button as the default button of a ASP:Panel, but can't do so since it's inside the template. I tried to do so, but I can't locate the Sign Up button using CreateUserWizard.FindControl, CreateUserWiz...
Hey everyone,
I'm using the ajax toolkit's ValidatorCalloutExtender to display error messages on a textbox. The ValidatorCalloutExtender is extending on a RegularExpressionValidator that is validating the textbox. The problem I am having is that I need to dynamically change the ValidationExpression and ErrorMessage depending on what ...
Looking for some advice on the best way to implement localization along with client specific jargon on a asp.net site that will be used by multiple clients.
For example the labels on a form must vary depending on what client is logged into the site as well as what there language preference is.
So there will be a default set of verbiage...
Some assorted pseudotips about "invoice oriented" master/detail web sites,
Examples (but with small detail) and highlights:
The demo at SimplyInvoices: the 5 blank items editable without a modal popup detail
http://freelanceswitch.com/money/7-online-invoicing-apps-for-freelancers/ has some interesting web sites
Questions:
Large pr...
I have a site that receives 5 million request per day. On heavy days, the pages take about 10 seconds to return. I also get out of memory exceptions. I've been reading the Improving .NET Application Performance and Scalability from Microsoft and see there are a lot of metrics I could watch. My question is:
What are the most basic counte...
I see you can specify Insert, Update and Delete stored procs, but no straightforward way for SELECT stored procs.
...
I have somebody elses code (C# ASP.Net) which contains the following query:
string query = "SELECT distinct(destinations.name) as Destinations
FROM destinations, flights
WHERE destinations.d_ID = flights.d_ID
AND flights.Date = #" + date.ToShortDateString() + "#";
I could not find w...
Are there any 100% Microsoft developers out there who have ventured out into learning Ruby on Rails?
If yes, what was the learning curve like for you?
How about the time frame to be competent?
What were the hardest aspects of making the change?
...
I'm trying to allow my php pages to run inside a content page of the master page. I'd like to run php somehow inside a master page. Besides frames is there another way? I've read you can use a frame, but would prefer not to. If I have to go with frames to get it done, should I be using an asp.net frame class of some sort or the raw html...
I try to use the domainpeople.com API and to do I need to use XML.
Currently I have an error saying "apiProtocol is not found" I guess then that my Xml document is malformed.
The Current xml sent is :
<apiProtocol version="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNameSpaceSchemaLocation="checkrequest.xsd">
<ch...
Everything was working just fine and on the last publish my wordpress directory is now gone.
I don't have a folder with the same name in the project/solution. I've been using visual studio for over 2 years but not doing webpages with it.
...