0
votes
0answers
13 views

C# validationgroup set dynamically on user controls misfiring

Have a single user control that is used twice on a aspx page which I set the validationgroup by <address:Address id="HomeAddress" runat="server" ValidationGroup="address" IsPhoneRequired="true" ...
0
votes
0answers
72 views

Javascript on usercontrol used twice in same aspx page

I have one user control that contains two list boxes and buttons to transfer listbox elements from one listbox to another used twice in same aspx page. Javascript code is used to transfer items from ...
0
votes
4answers
467 views

Jquery stops working in Asp.net control when loaded by a partial postback

in an ASP.net/C# application. I am using the an update panel and a Placeholder inside it to dynamically load controls <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"> ...
0
votes
0answers
23 views

What is the best pattern to have different control modes in asp.net WebForms? [on hold]

What is the best pattern to have different control modes in asp.net WebForms? For example, I have a lot of user controls (Text, Form, UserInformation, ...). Each control can be in preview, live or ...
2
votes
0answers
28 views

Checkboxlist inside a usercontrol going as null when control passed from an aspx page

Have landed into a scenario again. The summary is as follows: I have a user-control which is basically a mix up of a textbox,imagebuttons,checkboxlist incorporated together to look like a ...
0
votes
2answers
420 views

asp.net perform action after child controls databound complete

I have a usercontrol that acts as a container to hold more usercontrols within it. I need to perform certain access checks once all of the child controls have databound. I was hoping I could attach ...
0
votes
1answer
80 views

what is the best way of using class dynamically

UPDATE: I completely reformulated the question I am trying to implement an algorithm that would change the class name dynamically. For Example: Data.cs public class Data { public string text1 ...
2
votes
1answer
42 views

Publishing of User control in asp.net website

I am publishing my website as precompiled deployment folder. In my website, we have usercontrols.(ascx and ascx.cs) While publishing using "rightclick on website and publish", we want to add ascx ...
0
votes
0answers
14 views

Generic TreeView Control SelectedValue

I have created a generic Treeview control, to be used in my project. Now I wish to set the SelectedValue of the control as follows :- public string TreeViewSelectedValue { get { return ...
1
vote
1answer
33 views

Call UserControl function from Page's Page_Load event

I have a UserControl that functions as a template for a FormView, But depending on whether it is in edit or insert mode, one of the TextBox controls needs to be disabled. I added a function to the ...
1
vote
3answers
31 views

Umbraco usercontrol: Get usercontrol.property.Id within the usercontrol itself?

i'm having some trouble with the umbraco usercontrol.. I'm trying to develop a Photo Gallery.. I have a usercontrol with a mediapicker on it, and on save i would like to generate thumbnails of all ...
0
votes
1answer
27 views

Buttons stop working when UserControl is added to page

I have a content page with a UserControl. When the UserControl is added to the page, all of the buttons, including buttons in the master page, stop working. If I remove the UserControl the buttons ...
0
votes
0answers
21 views

Retrieve usercontrol values (not persisting on postback)

I have a main page with a usercontrol on it. The usercontrol contains different filters for filtering a gridview on the main page. Im having problems persisting text box values in the usercontrol on ...
2
votes
4answers
2k views

Why don't events of dynamically added user control fire on postback?

There are plenty of similar questions on SO (1, 2, 3, 4 etc) and on the web (1, 2 etc) but none of the corresponding answers clarifies my situation. I have a simple custom user control consisting of ...
0
votes
0answers
23 views

ASPxGridView in User Control causing caching issue?

I've already posted this to DevExpress support, but since I honestly have zero confidence in their ability to resolve the problem, I'm posting it here. I have a User Control containing a ASPxGridView ...

1 2 3 4 5 137
15 30 50 per page