findcontrol
Trouble with FindControl and dynamicly created controls
Example code: var div = new HtmlGenericControl(\"div\"); div.Controls.Add(new Literal() { ID = \"litSomeLit\" });[详细]
2023-01-12 18:32 分类:问答Unable to find control in asp.net Repeater control
This has got me stumped. I am trying to find a checkbox in a dynamically loaded asp.net Repeater template. The template works fine and the databinding is fine and everything displays fine but I can\'t[详细]
2023-01-12 14:14 分类:问答Need help using C# FindControl
I have a repeater inside a panel. Inside this repeater I have another panel.Upon certain conditions, I want to set this panel.visibility = false.[详细]
2023-01-09 08:45 分类:问答Repeater control. Using a table that spans rows
The following \"FindControl\" method fails to find the imgAd control. Any idea why? Could it be the Table that contains it? The intent of the table is to line things up in columns across rows.[详细]
2023-01-09 05:46 分类:问答Get DateTime Value from TextBox in FormView
I need to find a value in a TextBox, contained within a FormView which holds a short date. DateTime LastPayDate = (DateTime)FormView1.FindControl(\"开发者_StackOverflow中文版user_last_payment_date\")[详细]
2023-01-08 04:01 分类:问答How does FindControl work in GridView?
I am trying to update a database using the GridView edit, update CommandField. I have two editable fields which are displayed as text boxes when in edit mode. When clicking submit, I am trying to put[详细]
2023-01-07 12:47 分类:问答Can't clear credentials textboxes on ASP.NET CreateUserWizard Control
I have a CreateUserWizard control using forms authentication on my login/create user page.I customized the CreateUserWizardStep1 so that I could add some additional validators.[详细]
2023-01-04 23:14 分类:问答Avoid double control search in LINQ query
I have a 开发者_C百科Dictionary<string, bool> where key - control\'s ID and value - it\'s visible status to set:[详细]
2023-01-04 08:09 分类:问答Where is my validator?
I have a validator in my page: <asp:RequiredFieldValidator ID=\"rfv1\" runat=\"server\" ControlToValidate=\"IdentifySEDSED1TxtDate\" ErrorMessage=\"Significant Event Date 1 is missing\" ValidType=[详细]
2023-01-03 11:40 分类:问答FindControl table cell
I want to reference a table cell via it\'s string ID in my code like thisFindControl(\"tdAnswer_a\") because I am manipulating string ID names. The ASPX code looks like this :[详细]
2023-01-02 02:38 分类:问答