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:392924
More Search Options
RSS Available
Matching Posts
Page.ClientScript.RegisterStartupScript() not working with AJAX
Hi, In an ASP .NET 2.0 (VB) web page with one AJAX UpdatePanel that encloses all the body's contents, there's code-behind that sets a call to a Javascript alert() by using Page.ClientScript.RegisterStartupScript(). But this alert() is never called, looking at the code generated for the page, I realize it doesn't have the alert() anywhere. Why isn't Page.ClientScript.RegisterStartupScript() working? How can I make my JS alert() function pop up when AJAX is done updating the page? Thanks
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
e_man_online
on 2/16/2009
Re: Form loses focus after Ajax update
Thank you. I read the article--very interesting, but this issue is something that .NET/AJAX should take care of at the low level. (the following "subliminal" message is for MicroSoft) should be If the application programmer's code doesn't explicitly change the form's focus, the form's focus should be maintained by the framework just like the controls' state are. The problem with implementing the fix in that article is that if .NET/AJAX changes API, function names, etc
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
e_man_online
on 10/24/2008
Form loses focus after Ajax update
Hello, This problem is about a webpage in ASP .NET 2.0 (VB.NET) and AJAX. There's a conditional update panel around a dropdown, which populates the dropdown. When this update panel finishes the update, the focus goes to the 1st control on the page instead of staying on the control it was before the update. There's no explicit code in this page to change focus anywhere, so the focus should stay where it was before the AJAX update. Is this a bug in AJAX? Is there a solution for this? Your help
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
e_man_online
on 10/6/2008
Filed under: ajax focus
Re: ASP .NET 2.0 - VB.NET - AJAX - Controls lose focus
Hi Vince, Thank you for your help. Sorry, I forgot to explain that on this page, each control has its own UpdatePanel, and they all have UpdateMode="Conditional" Let's say we have: DropDown1 and DropDown2 inside UpdatePanel2... If the focus is on DropDown1, and the user selects a value from DropDown1, DropDown2 refreshes, but the focus goes to the first control on the page, so if the user presses Tab, they expect the focus to go to DropDown2, but it doesn't. Your kind help with
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
e_man_online
on 9/4/2008
ASP .NET 2.0 - VB.NET - AJAX - Controls lose focus
Hello, I have a webpage in ASP .NET 2.0 (VB.NET) and AJAX. There's an update panel. When the update panel finishes the update, the focus goes to the 1st control on the page. There's no explicit code in this page to change focus anywhere, so the focus should stay where it was before the update. The focus...it's so simple, so basic, why do I have to be dealing with this problem? Ajax was supposed to speed forms up, not to create new problems. The issue with the focus should be handled
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
e_man_online
on 7/30/2008
Filed under: AJAX focus
ASP.NET AJAX Required Validator doesn't work
I have a webpage in asp.net, which has 2 required field validators, and everything worked before. I added ajax support in the web.config, and updatepanel tags to some pages in he same application, and ajax partial page update works. But on pages like the one with the validators, they don't work anymore. This page has 2 dropdown controls: Country, and Subregion. Each one has a required field validator. The page also has a Submit button, and a gridview The page works like this: User selects a Country
Posted to
ASP.NET AJAX UI
(Forum)
by
e_man_online
on 5/17/2008
Event handler in vb code or in html page?
Hi. Where should the event handling subroutines go in the vb form code like this: Sub MyEventHandler(...) handles MyControl.Event ... End Sub or in the HTML script on the page like this: <asp:ControlName ... onClick="MyEventHandler"... /> Thanks in advance, Rick
Posted to
Web Forms
(Forum)
by
e_man_online
on 3/1/2004
Page 1 of 1 (7 items)
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Channel 9:
BugCamSmash in Action!
Channel 9:
Virtual Earth Videomap Movies
TechNet Edge:
AD RMS Certificates and Licensing on the Client and the Server
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13 [C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13]
Channel 10:
Bing Launches 2nd Homepage Photo Contest
Channel 10:
Bing4Free Lets You Use Bing.com Images for Desktop Wallpaper
Channel 10:
Bing Updates: Streetside Views, Photosynth, and "Mapplications"
Channel 10:
Bing for Windows Mobile Updated
WindowsClient:
New WPF Showcase: Bling Tweets
WindowsClient:
Tale of two tweets - VS beta - is it busy 70% of the time or is it brilliantly fast?
TechNet Edge:
Forefront TMG URL Filtering and MRS
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online