Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:42906
More Search Options
RSS Available
Matching Posts
Re: Gridview causes 'webpage has expired' error
The window.history.forward() function might or might not be what you want. It relies on the browser having cached each version of a page for its history (each postback generates a new entry in the browser history cache). The idea is that a page is rendered and cached. The user clicks Back. Before making a Web request to get the previous page, the browser looks in its history cache and says "hey, I have the previous page cached," and it renders that. But then the little code snippet runs
Posted to
Data Presentation Controls
(Forum)
by
mikepope
on 6/9/2009
Re: Gridview causes 'webpage has expired' error
By default, each time that the user performs an action on an ASP.NET Web page -- click a button, click a link in the GridView control, etc. -- the page is posted back to the server. ASP.NET then recreates the page from scratch, applies any state information from the posting, and renders a new page. If you click the Back button in the browser, you're essentially causing a post of a previous version of the page. The message error is actually coming not from your code (or even ASP.NET), but from
Posted to
Data Presentation Controls
(Forum)
by
mikepope
on 6/9/2009
Re: Does the HTMLEditor control raise any client-side events?
Very helpful, once again. How can I detect a change from Design to HTML Text mode? Sorry to keep asking questions. If there are docs somewhere that I can read, I'd be happy to be referred to those rather than relying on your continued patience. :-)
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
mikepope
on 5/22/2009
Re: Does the HTMLEditor control raise any client-side events?
Vince, thanks for this -- let me work with this and see what I can do. I'm curious when you say that it's "a little difficult to count the real caractors in TextArea," because that's what I ultimately want. Do you mean that it's difficult enough so as not to be possible? Thx.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
mikepope
on 5/21/2009
Re: Gridview & Details View - Only selects from 1st Page of Gridview?
If you haven't downloaded the beta release of ASP.NET 4 (that is, of .NET Framework version 4), then you're definitely not using 4 yet, as it's still only in beta. :-) Anyway, sounds like you've got it sorted -- ? Hope so. (PS It does sound odd that a tutorial would lead you astray like that. Do you have a URL or pointer to the docs you were referencing?)
Posted to
Data Presentation Controls
(Forum)
by
mikepope
on 5/20/2009
Re: Multiple values
I'm not entirely sure that I understand what you want to do. In order to select every third record in the Access database, you can create a calculated field that determines whether the ID is divisible by 3, and then select by that field. Here's an example of an Access SQL query that does that for a table named "nixor": SELECT Nixor.[ID], Nixor.[Coupon], Nixor.[EnterDate], IIf(([ID] Mod 3=0),1,0) AS EveryThird FROM Nixor WHERE (((IIf(([ID] Mod 3=0),1,0))=1)); Is this even close to
Posted to
Access Databases and AccessDataSource Control
(Forum)
by
mikepope
on 5/20/2009
Re: Gridview & Details View - Only selects from 1st Page of Gridview?
Selection in the GridView control is based on row index rather than on the actual ID of the row being displayed. If you're working with ASP.NET 4 Beta 1, you can set the GridView control to use ID-based selection instead: GridView.EnablePersistedSelection Property If you're not using ASP.NET 4, you'll need to extract the ID of the row that is selected and base the selection for the DetailsView control on that value.
Posted to
Data Presentation Controls
(Forum)
by
mikepope
on 5/20/2009
Re: Multiple values
You have this in the Access databases forum -- are you trying to do this in Access specifically? (As in, craft an Access query that will do this?) Or is a solution in ASP.NET code ok? (If so, what language do you prefer working in?)
Posted to
Access Databases and AccessDataSource Control
(Forum)
by
mikepope
on 5/20/2009
Re: Adding image folder without getting warnings?
If you added the images by copying them in (e.g.) Windows Explorer, the Visual Studio project (hence the editor) might not know about them, so to speak. In Solution Explorer, select the images folder and then click the Refresh button in the Solution Explorer toolbar. Anyway, that's one possibility.
Posted to
Getting Started
(Forum)
by
mikepope
on 5/20/2009
Filed under: relative path, ~ operator, HTML validation
Re: four drop down lists - need to use only one at a time.
One possibility is to set each of the lists with AutoPostBack = true. When the user makes a selection in one list, in the handler for that list's SelectedIndexChanged event, disable all the rest of the lists. However, I don't know how you'd go about re-enabling the lists. What happens in your page so that users can again select from another list?
Posted to
Web Forms
(Forum)
by
mikepope
on 5/19/2009
Filed under: drop down dropdownlist autopostback
Page 1 of 114 (1135 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online