Questions tagged [web-user-controls]
107 questions
0
votes
1 answer
Trigger update of UpdatePanel inside user control?
Is there any way to trigger update of updatepanel inside a web user control through use of a property ? This does not work
public bool RefreshExclusions
{
set
{
upnl1.Update();
}
}

Zo Has
- 12,599
- 22
- 87
- 149
0
votes
0 answers
ASP.Net UserControls not firings Any AutoPost Back or Click Events
I have ASP.Net Project which developed in VS 2017 Enterprise Edition.
What happened I upgraded the SQL Server Data Tools and VS Updates. After that my ObjectDataSource DataAdapter Wizard for my StoredProcedures start giving an error with SQL. (it…

Usman Jalil
- 121
- 4
- 10
0
votes
1 answer
Display ASP.NET VB User Control property in VS IDE
I built a VB ASP.NET 1.1 Web User Control that contains several properties. I want these properties to display in the VS2003 IDE Properties window, for easy manipulation. However, none of the properties appear! How do I make them show in the…

Mike Christian
- 1,526
- 1
- 15
- 27
0
votes
1 answer
How do I clear an asp:textbox control from a different control?
I have a master page that contains two other child pages. It's a web page with a couple tabs contained on it. Each tab has a number of controls inside.
The issue I am having is when a textBox value changes in the first tab, I want it to clear out…

conover2008
- 11
0
votes
0 answers
migrate desktop custom control to web ?ASP.NET
I need a web control that is available in desktop version like this link
Gantt chart custom control
This is a gantt chart its example 2 is of mine use that I am not able to find any where on internet so i decided to migrate it to website now how to…

Nouman Arshad
- 79
- 2
- 11
0
votes
2 answers
Response redirect using IP in dotnetnuke
I am hosting and developer on my DNN portal. I need to redirect users using client IP. I think may be two ideas for this work.
1- DNN Setting
Maybe DNN has settings for it that I can set specific URL for client IP addresses and automatically DNN…

Ali Soltani
- 9,589
- 5
- 30
- 55
0
votes
2 answers
Get Control Value From Web User Control
Lets say I have three DropDownList controls in a web user control and they depend on each other.
Categories
Brands
Products
Explanation:
After I choose a category from Categories dropdown list, related brands are loaded in Brands DropDownList and…

Tarik
- 79,711
- 83
- 236
- 349
0
votes
0 answers
In ASP.NET User Control, actually CONSUME the data from DataSourceID, not just pass DataSourceID to child control?
I've been doing ASP.NET webforms for a while, but I'm new to User Controls. Is it possible for a User Control to consume data in the same way that the stock databound controls do, like, for instance, a DropDownList (whose values come from an…

amonroejj
- 573
- 4
- 16
0
votes
1 answer
how to clear session variable after a user control unload
i am using a session variable in a usercontrol (ascx), how can i remove that from session when user close webpage or redirect to other pages?

R.Akhlaghi
- 729
- 1
- 12
- 23
0
votes
0 answers
Controls not initializing in UserControls Asp.NET
I am new to asp.net and I have user control and i am creating its instance. But for some reason all controls are null.
public static void LoadRulesLogic()
{
WebUserControls control = new WebUserControls();
control.LoadRules();…

Richa
- 3,261
- 2
- 27
- 51
0
votes
0 answers
javascript function of user control doesnt work for multiple instances of the control
I've made a user control for an ASP.NET page - the user control has a gridview and a global variable that keeps the last selected row.
in my main page I declare the user control twice. each user control has a different id.
finally, when I use both…

Viviane Abitbol
- 11
- 3
0
votes
0 answers
ASP.net RaisePostBackEvent not triggered in Chrome works in IE
I have worked 2 days to fix the issue in the following code and read the all of posts I can find on the internet but none of them can solve my issue.
Here is the codes I work with:
On page AdManager.aspx the related code is:
<%@ Register…

Chris
- 1
- 2
0
votes
1 answer
accessing the web user control through jquery on the web form page
I'm building a web user control for ASP.NET. on the main aspx page where I place the user control and I give it an id. the problem is I want to access it by using Jquery(I have the plugins), but the element of the web user control is "undefined",…

Viviane Abitbol
- 11
- 3
0
votes
1 answer
ASP .NET Web User Control Events
I have created a web user control called Activity. I have defined a public-facing event on that web user control called OnActivityDelete. There is a delete button in the Activity control. When the delete button is clicked, the Activity control fires…

Brandon Montgomery
- 6,924
- 3
- 48
- 71
0
votes
1 answer
Invoking a method from the parent page after user control has been loaded?
May I know if there is any way to invoke a method from the child page(.aspx) after the page load of the user control is finished?
Right now I have an issue of being unable to retrieve the value from the child page because the variables from the user…

Alan
- 15
- 7