Questions tagged [placeholder-control]

In ASP.NET, placeholder controls enable the user to place an empty container in the page, and dynamically add child elements at runtime.

7 questions
4
votes
6 answers

Catching events from dynamically added ASP.NET User Controls

I have an ASP.NET web form which I am adding a variable number User Controls to. I have two problems: The User Controls are added to a PlaceHolder on the form in the first PageLoad event (I only add them when "(!this.IsPostback)", but then when…
skb
  • 30,624
  • 33
  • 94
  • 146
2
votes
3 answers

ASP.Net Placeholder vs if directive

When working with markup if I want to include some content conditionally, I use a placeholder in a normal way: Prolong your subscription Also I can use if-directive: <%…
myroman
  • 561
  • 1
  • 5
  • 11
0
votes
1 answer

Unable to update database table from placeholder textboxes

I would like to update database table using placeholder textboxes but say it is 2 textboxes and the user edits one of the textboxes, I'm sure how to update the table to know which one the user edited. as well as i need to keep track of the number…
user9356917
0
votes
0 answers

c# Retrieve event from HTML code set in control placeholder

I'm doing a C# 3-tier project about pets On load of the first webform I make a query to the database and get the data of all pets (id, name, photo) as a List to be shown as cards with images in HTML, I'm using Materialize by the way, I leave this…
Alterix
  • 1
  • 1
0
votes
2 answers

Django Cms : Am I doing it wrong with placeholders?

Let me explain a little bit what I'm working on : I am an intern and I have to create a friendly website back-office for people who are not really used to computer. Thus, the back office management has to be as simple as possible ! I already put a…
Jay Cee
  • 1,855
  • 5
  • 28
  • 48
0
votes
1 answer

Listview and SQLDataSource render nothing

I've never used either of these 2 controls before and I'm stuck with no visible rendering of the page (compiles and runs but produces nothing); I have no code behind file with this simple asp.net page and I am using Visual Studio 2008: <%@ Page…
-2
votes
1 answer

Convert a Table to HTML in ASP.NET (c#)?

I have a Table object that I have created and populated in my code behind. It had to be done this way for various reasons. I call a WebMethod via AJAX from the client side to send a variable from a dropdown list and then the table gets populated in…
arcaderob
  • 481
  • 1
  • 7
  • 21