Questions tagged [web-user-controls]
107 questions
0
votes
1 answer
How can I add a Web User Control to a Visual Studio 2013 Project? Option in menu not available
I'm using Visual Studio 2013 V 12.0.3
I've created a folder inside my project and when I right-click on the folder and select "Add", I'm not seeing "Web User Control" in that menu. Does anyone know how I can get it back? It's typically listed…

Dana Victoria
- 71
- 1
- 1
- 10
0
votes
2 answers
Horizontally align rows in multiple tables using web user control
I need to align rows in different tables that are layed out horizontally. I'd prefer to put the html code in a single web user control so I can create as many instances of that control as I want and lay them out horizontally. The problem is, the…

goku_da_master
- 4,257
- 1
- 41
- 43
0
votes
2 answers
Can I nest Templates in a Web User Control?
I want to do something like this:
<%# Container.Title %>
<%# Container.Username %>
Assuming I have a list of Titles that each have a list of…

Greg
- 7,233
- 12
- 42
- 53
0
votes
1 answer
ASP.Net Asyncronic server side marker insert - Google Maps
just like the Question title, i need add markers on my Google Map Canvas using AJAX but calling methods on ASP.net server side.
i tried with update panels , and calling javascript functions on server side using…

Migue
- 91
- 1
- 2
- 11
0
votes
1 answer
How to create and use a Generic Web Form User Control in ASP.NET?
I have created a Web Form User Control using C#.
I have changed in the .cs files (code and designer) of the user control to allow any Type.
public partial class MyGenericControl : System.Web.UI.UserControl
{
}
Now I'm trying to use it in a…

l2mt
- 550
- 2
- 7
- 20
0
votes
4 answers
ASCX control needs to access other Page sections
I have a Page.aspx that is being re-used. Sort of like a Master Page (I'm actually using Sitecore CMS, so it works like a master Page even if it is not and I cannot use this.parent).
On a certain instance, I have a ASCX control loading on that Page…

nathanBA
- 29
- 6
0
votes
1 answer
Web User Controls, Javascript and Script Managers
Is there a way to only add a script manager to your Web User Control if there is not one already on the page (on the main page or if you are using the Web User Control multiple times)?
Same question about adding javascript files to the page, many…

Greg
- 7,233
- 12
- 42
- 53
0
votes
0 answers
get and set property value of one user control from another inside the later usercontrol method
I have two usercontrol U1 and U2. Now in U1 i have one override method(void Commit()) and one public string property(NewCompanyID). From U2 i have to call U1 commit() method and inside the commit method i have to set the NewCompanyID public…

PaOne
- 13
- 1
0
votes
1 answer
How to reuse web user controls from another project in the solution?
I want to use web user controls inside 'Controls' project inside the 'Web' project in the same solution. but when I reference 'Web' to 'Controls' and then drag the control into a web form in 'web' project the Register directive's src is like this: …

ehsan shirzadi
- 4,709
- 16
- 69
- 112
0
votes
1 answer
Adding the backend of a web control to the control itself?
Currently I have a web control and backend code for this control (as well as a designer etc).
To upload it as a macro to Umbraco though I need to condense this all into one file. How would I go about this without breaking something? Currently when I…

Alex
- 673
- 3
- 9
- 22
0
votes
3 answers
apply stylesheet to web user control
I want to apply styles to one webusercontrol
I have tried with
" />
but i'm not able to apply styles to user control.
Thanks in advance

Bhasker Vengala
- 103
- 5
- 19
0
votes
2 answers
Hide web user control from page load
I have created one web user control and I placed that in login page. When I click on submit button the user control has to display and it will redirect to home page.
Coming to my code, I have placed that user control in

Bhasker Vengala
- 103
- 5
- 19
0
votes
1 answer
Web user control as masterpage with two child views
I'm building custom .NET web user control for Umbraco, which looks like single page, with a sidebar (which holds IDs of content items) on the left side of page, and two different content views(which have content by id displayed here) to the right…

Kamilius
- 588
- 14
- 34
0
votes
0 answers
How to fire javascript function on user control blur event
I'm developing a Web user control
.ascx

Ashish Rathore
- 2,546
- 9
- 55
- 91
0
votes
1 answer
Two web user controls are not working on a single web form
I used two web user controls on a single Web form. First web user control includes Grid View for displaying the headings in a vertical manner and second one includes a Data List for displaying headings in a horizontal manner.The two web user…

Sahil
- 117
- 12