473,569 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Known issues using 2 of the same Web User Controls on the same page

Are there any known issues about using two of the same Web User
Controls on the same page? I lose state and values in one control when
the other control is activated.

May 4 '06 #1
2 1206
No known issues and I do it all the time. How are you storing your state? If
it is in Session that might be an issue since that is shared across the
application.

--

Andrew Robinson
www.binaryocean.com
<mr*****@gmail. com> wrote in message
news:11******** **************@ i40g2000cwc.goo glegroups.com.. .
Are there any known issues about using two of the same Web User
Controls on the same page? I lose state and values in one control when
the other control is activated.

May 4 '06 #2
If the user controls are correctly written, there shouldn't be any problems.

If you use ViewState, make sure to use the ViewState of the user
control, not the ViewState of the page.

mr*****@gmail.c om wrote:
Are there any known issues about using two of the same Web User
Controls on the same page? I lose state and values in one control when
the other control is activated.

May 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1099
by: Nicolas LeBlanc | last post by:
Hi, First of all, sorry for cross-posting, but some groups look more active than others, and I sure need to find an answer to this. I recently rebuilt my website using ASP.NET and I did my forum system using a datagrid and template columns. I was asked by many users to remove the LinkButton in order to be able to "open in a new window",...
7
1840
by: David Laub | last post by:
I have stumbled across various Netscape issues, none of which appear to be solvable by tweaking the clientTarget or targetSchema properties. At this point, I'm not even interested in "solving" these problems - I'm more interested in isolating them, .i.e. finding a "complete" list of issues. Here's my list of serious issues found so far. By...
10
3068
by: Robert | last post by:
I have an app that was originally 1.1, now migrated to 2.0 and have run into some sporadic viewstate errors...usually saying the viewstate is invalid, eventvalidation failed or mac error. My web config does specify a machinekey setting: <machineKey...
3
1617
by: MattB | last post by:
I have an asp.net 1.1 eCommerce application that has a product page where the user can select from many different options that affect the price of the main product. I've implemented this with either a RadioButtonList or a CheckBoxList that does a postback so I can display the current price as the user changes options. It works pretty well, but...
1
1830
by: Bob Rock | last post by:
Hello, I'm new to ASP.NET and I've been looking into the topic of dynamically loading (typically accomplished with a LoadControl followed by a MyControl.Controls.Add()) both user controls and asp.net web controls. I searched for articles on the internet and in the end I must say that I'm confused. I read about issues related to: a.....
7
1502
by: igotyourdotnet | last post by:
Ok, I have my first full blown .NET 05 web application 99.9% complete except for these 2 issues. can anyone help me out? 1) If a page gets and error and the user clicks on the menu it takes them back to the login screen. How can I prevent that from happening? If they see the 'user friendly" error page I want them to be able to click another...
62
5002
by: Tony Ciconte | last post by:
I have a rather complex commercial Acc2003 application (tab controls, 50K+ lines of VBA code, etc.) that will not run well at all on Windows Vista Ultimate. I have seen posts indicating that Acc2003 MDBs should work on Vista. However, our particular file has too many problems to be viable on a Vista platform. Even converting it to an Acc2007...
3
1248
by: DanWeaver | last post by:
I have a panel on an asp page that has about 20 controls on it, an ajax update panel within it- text boxes, listboxes, imgbuttons etc. I would like to be able to copy this panel- ie put similar but independent functionality elsewhere on the page - it seems like a class but information on the web is confusing. How can I reuse code and...
2
6320
by: noneya22 | last post by:
I'm using asp.net 2.0. I have a page that has a save button and a cancel button along with a text field. All controls are asp.net server controls. I have JavaScript that prompts the user if he has maninpulated data in the text field and then tries to leave the page. The purpose is to prevent the user from accidentally losing his changes. ...
0
7700
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8125
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.