473,804 Members | 3,396 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Autopostback and Smartnavigation works fine, but not for me

Hello NG,
I need autopostback to verify the user's input. They have to fill in
the number of pices to order and I have to check each time if the
allowed number is reached and something more.

This function works fine. The Problem is, that the autopostback will
take affect, when the user left the control for an other. Here he
starts the new input. Meanwhile the postback takes effect and publish
the new calculated site. The smartnavigation take the position to the
control which caused the postback.

How can I keep the focus on the new control?

Switch off the smartnavigation wouldn't help, I think.

Thanks for helping.

Jan 26 '06 #1
0 987

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
392
by: LRD | last post by:
Form not refreshing after autopostback unless keyboard or mouse move Hi, We created several new ASP.NET C# forms for our intranet. In each form we use panels for different sections of the form that are visible or not depending on what the user is doing. Each particular form.aspx page has a user control on it. This user control contains the form HTML and the C# code.
4
3303
by: Jesse | last post by:
I have a relatively long page with a number of webcontrols with "autopostback" set to true. The contents/items/datasources of the subsequent webcontrols are dynamically populated depending on the selection of previous webcontrols' selected item. My question is : everytime the user selects an option from a webcontrol, due to the autopostback being turned on, the page refreshes itself to populate the subsequent controls. The problem I have...
2
1434
by: Snig | last post by:
Hi All I wanted to enable "SmartNavigation" in my site. For this I put <pages smartNavigation="true" /> in web.config file. So far so good. But it causes the link from the aspx pages to the css files be broken. When an aspx page opens up for the first time, it displayed everything fine as per the linked css file. But after postback the page is displayed without any formatting, i.e. as if it could not find the css file.
2
1787
by: SLE | last post by:
A web user control exposes a RadioButtonList (with AutoPostBack = true) called "Question". This control also has an embedded RequiredFieldValidator control. 1. Main ASPX page is populated with several "Questions". 2. Within the code of the main page, there is a SelectedIndexChanged handler for the RadioButtonList exposed by Question. The function loops through a number of questions on the pages and hides/shows questions (control.visible...
2
1262
by: WJ | last post by:
I have a web site with 2 pages under W2k3 box (IIS-6). 1. From WebForm1.Aspx.Button1Click, I issued Response.Redirect("WebForm2.Aspx",true) - This works fine. 2. From WebForm2.Aspx.Button1Click, I issued Response.Redirect("WebForm1.Aspx",true) - This gave me a 404 page not found. The above error only occurs if my website is hosted by a proxy (my site is running SSL cert and the SSL cert is also on the proxy box). However, all the...
1
1970
by: robin9876 | last post by:
In Asp.Net v1.1 web form I have a number of controls which have the autopostback enabled. Is it possible after the autopostback has run that the control that caused the autopostback to get the focus?
0
944
by: manika02 | last post by:
I know this is a bug with SmartNavigation that if your controls have AutoPostBack = true, the cursor won't come back to the same control. I went through this article http://support.microsoft.com/kb/314206 But is there another solution to this problem. If yes, Please let me know. Thanks
1
2110
by: danyeungw | last post by:
I get the following from the link http://support.microsoft.com/kb/314206. I need to have both work - the page stays where it is and set focus to next control. Does anyone have solution? I have been working on this for days. I am using ASP.NET 2003. Thanks. DanYeung PRB: Controls Lose Focus When You Enable SmartNavigation and AutoPostBack View products that this article applies to. Article ID : 314206 Last Review : February 23,...
1
846
by: begoddendave | last post by:
Hi I have a small piece of code that uses the AutoPostBack feature along side an OnSelectedIndexChanged. When a person clicks a radio button, the page sends the response and then 'does something (depending on what was selected)' - This works fine However, every time one of these buttons is clicked, the view goes to the top of the page and the user then has to scroll back down to where they were. Is there a way around this? I have tried to...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10577
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9150
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7620
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6853
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5521
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3820
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2991
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.