user-controls
Can I modify the <head/> section of a Page in .NET from a User Control without runat="server"?
I have a page that does n开发者_运维百科ot have runat=\"server\" set in the <head/> section.I do not have access to modify any of the code in the page.[详细]
2023-04-10 09:13 分类:问答OnTextChange Partial Postback not occurring
I have the following code for an OnTextChanged event: protected void CustomTextBox_OnTextChanged(object sender, EventArgs e)[详细]
2023-04-10 08:11 分类:问答Dynamically load specific User Control from postback
I have a menu on a .aspx page, which will load a specific user control depending on which menu option is clicked.This part is working fine.[详细]
2023-04-10 07:13 分类:问答How do I bind a custom UserControl to the current item inside a ItemTemplate?
I have a ListBox that is data bound to an ObservableCollection. Inside the DataTemplate, I have this custom user control that I want to bind to the current item.[详细]
2023-04-10 00:21 分类:问答get List<CustomClass> from Page to User Control
i have a custom class List on my page code behind: public List<Category> Categories = new List<Category>();[详细]
2023-04-09 14:36 分类:问答How to close the current form in a SplitContainer?
I have a us开发者_如何转开发er control in my SplitContainer\'s right panel. A form opens below the user control. Now if i click a button in the user control, that current form should close and a new f[详细]
2023-04-09 11:18 分类:问答wp7: how to create image button and bind template to ImageSource dependency property
I am trying to create a silverlight imagebutton control.the xaml and code-behind will follow, but my problem is that I get an \'unspecified error\' when i try a TemplateBinding to the image\'s source[详细]
2023-04-09 09:46 分类:问答How to expose properties of a user control in .NET for the MVP pattern
I am implementing a simple UserControl that is actually a fancy TextBox. One of its features is that you can set a formatting specification and this formatting get\'s applied to its contents automatic[详细]
2023-04-09 07:47 分类:问答What is the correct ASP.NET Control event/method in which to add nested controls?
What is the correct event开发者_运维技巧/method in the ASP.NET life cycle to dynamically add Child Controls ?[详细]
2023-04-09 07:42 分类:问答ASP.NET Repeater User Control DataSource
I have a user control that contains a repeater. It seems that data cannot be assigned to it\'s DataSource property, I have tried a few different data sources but the following error is displayed: (I h[详细]
2023-04-09 02:15 分类:问答