All Questions
16 questions
1
vote
0
answers
174
views
Using composite key in AspNetUsers table in MVC 5 application
I'm purposely not posting any code here as I'm really just looking for some guidance to the following problem:
I have created a three new fields in my AspNetUsers table - FirstName, LastName, and ...
0
votes
1
answer
39
views
composite control renders after i need to use one of the properties (control lifecycle)
I have created a composite control for a file upload input (using an HtmlInputFile control). My problema is that everything works fine until I try to save the file using HtmlInputFile's "SaveAs" in my ...
0
votes
1
answer
1k
views
Asp.net MVC Composite class custom model binding
I've searched all over the web but not finding the solution for the following problem:
Say I have three ViewModel classes
public class ViewModelNewPerson
{
public string PersonName;
public ...
0
votes
1
answer
461
views
Linkbutton inside ASP.NET custom composite control template losing its ViewState
I've made an ASP.NET custom composite control which has an ItemTemplate for its children.
It's based on the RssFeed (http://msdn.microsoft.com/en-us/library/aa479322.aspx) example. The template has a ...
5
votes
2
answers
480
views
Composite Web Client Guidance
Good day,
I was wondering if you could perhaps help me,
I was reading the guidance associated with the following:
Composite Web Guidance
I was reading through the section titled "Define the ...
1
vote
2
answers
464
views
Design Time Error in Composite COntrol in ASP.NET
I have created a composite control. There is no build error in it.
In the composite control i am using a Entity Framework Object
The problem is that in the design window i get the error message as ...
0
votes
1
answer
258
views
Strange behaviour on asp.net composite custom control - anyone have an answer?
The Scenario
I'm working on a large web-forms-heavy intranet site right now, and we're trying to replace the 500+ forms with a generic, database-driven form engine which will dynamically add various ...
1
vote
1
answer
2k
views
Which javascript scriptreference is linked to each ScriptResource.axd?
Google Page Speed is saying we should combine external JavaScript. Fair enough.
I know that the way to do this is to use a CompositeScript tag inside asp:ScriptManager.
<asp:ScriptManager runat="...
0
votes
3
answers
1k
views
Settings properties of a child in a composite control in an .aspx page
I've got a composite control (class) that exposes an asp:Label through a get-property. Is is possible to set the Text property of the Label through aspx-code?
I'd like to do something like this:
<...
0
votes
2
answers
6k
views
ViewState["sample"] Variable not retaining value on postback in a composite control
I have created a composite control with sample details as follows. Basically, the first time on page load the control sets a view state variable and the problem is that on post back (when the button ...
0
votes
1
answer
59
views
Inherit from a custom CompositeControl
Hi I am hoping for some help.
I have created a composite control that has some basic functions. I would like to be able to take that composite control and reuse the code.
How do I do this? I have ...
0
votes
1
answer
765
views
GridView: Control Designer
I have a question regarding the GridView and the Control Designer of it.
I've made a composite control inherited of the GridView. I would like to make some new created BoundField controls available ...
0
votes
1
answer
66
views
divert asp.net child controls
I am trying to create an asp.net custom control that acts as a hosting container for any other controls, similar to the existing ‘Panel’ control. Basically, I need to build a web control that groups a ...
0
votes
2
answers
622
views
ASP.NET Custom Server Control Build -- Validator
I am writing a DateValidator control to function as a validator of all type for dates.
It will function as an Required validator, a Min/Max validator, and a Range Validator for date comparisons on ...
1
vote
4
answers
7k
views
ASP.net dynamically created control event handling
Essentially I have a placeholder added to the page dynamically on page load.
Then I have a composite control that is added to the placeholder and displayed during runtime for specific page events. ...
1
vote
2
answers
703
views
Asp.Net 2 Custom Server Controls Properties
I am having a very hard time finding a standard pattern / best practice that deals with rendering child controls inside a composite based on a property value.
Here is a basic scenario. I have a ...