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:
01413214
Vues:
40
To update everyone, I've discarded the idea of having this inside the RoundPanel control. It was just too much trouble. Instead, I have moved to using a FormView control, with a HiddenField's value driving the data. After a little trial and error, I finally got this both reading and writing data. Of course, the FormView presents its own eccentricities and also the same problem of finding controls when trying to use other controls in combination. For example, I have a field for the two character country code standard. Most people don't know this outside of the US. So I added a dropdown list control, with a data source that selects the country name/country code pairs. Then I tried to use the OnSelectedIndexChanged event to change the value in the textbox. It doesn't seem to work on first impression, but if I just click on Update, the value in the textbox does change to the proper code. It is just not refreshing the display during edit.

I am thinking of just using the dropdown list in the EditItem template...however, I'm not sure how to both bind it to the query datasource and to the FormView's field value. Any clue?

Truthfully, this kind of thing was much easier in VFP! But I'm trying to move on, and with my recent success I am trying to be more positive and hopefull. :)

Dana

>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
Where's the damned Any Key?...too late
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform