Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PopupControlExtender
Message
De
15/10/2008 12:10:45
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
AJAX
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01354831
Message ID:
01355164
Vues:
16
>>Hi all,
>>
>> When I navigate to the page, I get the calendar showing when it shouldn't be until clicking in one of the textboxes and the textboxes are not linked to it. Anyone got any ideas why it wouldn't work in this situation?
>
>I'm not sure what you're saying here. So when you come into the page the calendar is already visible (instead of collapsed)? It sounds like you want it to appear when one of the textboxes on this page get focus? Are you sure this isn't being done automatically by one of the MM controls?
>
>Is the browser displaying any Javascript errors which might be keeping this from getting hooked up correctly (you may have to enable i - in IE, Tools, Options, Advanced, Uncheck "Disable script debugging")?

I first created a test project (web) with two textboxes on the page. I hooked up the popup panel and added extenders to both textboxes just like in the posted code. When I run the web and get the default page I see just two textboxes. If I click in either one of them I get the popup calendar control. If I pick a date on the calendar the calendar goes away and the date is properly updated/ added to the textbox. This works in both textboxes.

Now I recreated this into my web application as I posted it. The popup panel with the calendar was a cut and paste and the controls are the same as well with the added extenders. When I navigate to this page I see both textboxes and the calendar already showing. I click on a date in the calendar but nothing happens. Nothing happens if I click on the text box as well. There are no errors or script errors.

The only difference between my test web page and the application page is the application has a master page involved and there are tables around the textboxes and such. I think I will add a master page to the test app to verify that doesn't cause a problem and then try adding tables to see if I can break the test page.
Thanks Paul
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform