Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting focus to the control on the page (AJAX site)
Message
 
 
À
26/02/2008 09:54:53
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01294462
Message ID:
01296486
Vues:
24
>>Yes, looks like it if I want to loop through all controls. I thought Clear was a common method, but apparently each control has its own way of clearing content.
>>
>>BTW, I updated my original reply with great link I found (found few more as well):
>>
>>http://www.codersource.net/asp_net_simple_tips.html
>>
>>http://forums.asp.net/t/1088137.aspx
>>
>>http://www.odetocode.com/Code/71.aspx
>>
>>I'll try tomorrow both ways (Response.Redirect (or Server.Transfer) vs. iterating through form controls.
>>
>>BTW, we're using C# here.
>Oh, good then we speak the same. :-)
>Tim

BTW, this was my final solution for the problem - disable ViewState and then re-enable it. See http://forums.asp.net/p/1221584/2196913.aspx#2196913

Other solutions seem to be more complex...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform