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:861841
More Search Options
RSS Available
Matching Posts
Re: How Do I Get A Page WithOUT A Default Button
Thanks. Adding a "hidden" button that does nothing when clicked and making it the default button worked for me. I would also like to thank the responders. Setting the form's default focus only worked until I changed the focus, then the original default button was called again. The code that eats the Enter key looked like it would work too but I went with the "hidden" button approach because it was easier to implement.
Posted to
Web Forms
(Forum)
by
ksome
on 10/28/2009
How Do I Get A Page WithOUT A Default Button
I have a page with several buttons on it. None of them are explicitly marked as the default button. So, the browser makes the first, enabled button into the default button. That button is pressed whenever the user hits the Enter key. I do NOT want this to happen. I don't want any default button. I don't want anything to happen when the user presses Enter. I want to force the user to explicitly click on a button when he wants the associated action to be taken. How can I do this? Thanks.
Posted to
Web Forms
(Forum)
by
ksome
on 10/27/2009
Re: Exception in Dynamic JScript When AutoComplete MinLength = 0
Thanks for your reply Zhi-Qiang and I am sorry it has taken me so long to get back to you. I really am hoping that you can help me resolve this issue. The problem is that my client doesn't want me posting their code on a public forum. Is it possible for me to email you directly with the code you will need to work on this issue? My email address is keithsomerset@gmail.com . Can you contact me there and let me know your decision? Thanks.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
ksome
on 10/20/2009
Exception in Dynamic JScript When AutoComplete MinLength = 0
My app contains a lot of AutoComplete (AC) controls. I have 2, AC enabled textboxes that are right next to each other. If I select a value from the first AC dropdown WITH THE KEYBOARD and then the focus moves to the next AC enabled, empty textbox, an exception is generated in a dynamically generated JScript files. It says: Microsoft JScript runtime error: 'value' is null or not an object This happens in the function Sys.Net.XMLHttpExecutor() on the line "_this._webRequest.completed(Sys
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
ksome
on 10/8/2009
AutoComplete Opening Immediately
Is it possible to get AutoComplete's dropdown list to appear as soon as its textbox gets the focus and not wait until the user types something in that textbox? How would I do that? When this happens, I would prefer that the prefix text sent by AutoComplete to its web service be an empty string. Is that possible too? Thanks.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
ksome
on 10/7/2009
Re: AutoComplete Opening Immediately
Thanks for your response. You know, I tried setting MinimumPrefixLength = 0 before I made my post and it appeared to not work. I tried it again after getting your reply and found several interesting things: 1. The AC dropdown only appears immediately when the associated textbox is empty. If the textbox contains a value, I have to type something to get the dropdown. This is why I didn't think it was working before. 2. When MinimumPrefixLength = 0, my web service method is called multiple times
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
ksome
on 10/7/2009
Re: AutoComplete Scrollbar Triggers Textbox PostBack
Thanks Vince. I wrote code similar to what is described in the posts you referenced. I turned off autopostback for the textbox and added a js function to AutoComplete that is called by OnClientItemSelected. My js function calls __DoPostBack(). This causes my server side code to be called whenever AutoComplete loads something into the textbox. I do still have a problem though. Occassionally, my users will just type something directly into the textbox instead of using AutoComplete. My server side code
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
ksome
on 8/19/2009
AutoComplete Scrollbar Triggers Textbox PostBack
I have a textbox with an AutoComplete extender in an UpdadePanel. Everything worked fine until I added a scrollbar to the AC dropdown list. The problem is I have a server side handler for the textbox's TextChanged event. When I click on the AC scrollbar, the textbox loses focus so the TextChanged event is fired even though nothing has been selected from the AC list. How do I fix this? What I want is to make sure that the server side TextChanged event handler is only called after a selection has
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
ksome
on 8/15/2009
Re: AutoComplete Scrollbar Triggers Textbox PostBack
Thanks for your input but I'm not sure how moving the textbox into a different updatepanel will help. The box will still lose focus when the AC scrollbar is clicked. Etc.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
ksome
on 8/15/2009
Re: How Do I Run a JavaScript Function Before The Main Server Side Event Handler
The browser is giving me a compilation error on the asp line with onclick in it. The error is Compiler Error Message: CS1026: ) expected Why is this happening? Note: I did not change any of the rest of the line when I changed the onclick part of it. The complete statement is: <asp:Button ID="btnSave" runat="server" onclick="javascript:return confirmSaveBeforeAction();" Text="Save" Width ="120px" /> I have one other question. My js function needs
Posted to
Client Side Web Development
(Forum)
by
ksome
on 8/3/2009
Page 1 of 6 (56 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online