Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot find control-name in control-parameter
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01407076
Message ID:
01407159
Vues:
44
>Hi everyone. I've been away from here for a long time. Still struggling, in between other traumas, with the ASP.NET stuff! Boy this is so different from VFP in some ways. I feel as dumb as dirt lately.
>
>OK, so I have a page with some containers...ASPXRoundPanel from DevExpress' ASPXperience suit (nice controls and a bunch for free). Inside it I have some textboxes and labels. I have a SQLDataSource and have set up code for View and Update. And I have the ControlParameters defined. When the page first loads it should do a query to fill the controls with current values. When I hit the page, I get an error instead that says Cannot find "control-name" in control parameter "parameter-name". I just can't figure this out. Is the RoundPanel container hiding these controls? I really like the look of these and would hate to have to eliminate them and start over with a look for my pages. I can't seem to figure how to reference these. I tried ASPXRoundPanel1. but nothing would come up for a suggestion list in intellisense, like usual. So I can't drill down. Anybody have any ideas about this? I'm so frustrated. Out of work, out of money, out of luck and almost out of what's left of my mind! help?
>
>Dana

Hi Dana,

If for some reason you can not set the ControlParameter to work properly (because of complex hierarchy), the simple way is to use Selecting event of SQLDataSource and set the parameter in code with e.Parameters('@myParameterName').value = 'my value'

I wrote this from the top of my head, you may need to adjust, but that's the idea.
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