473,657 Members | 2,686 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Issues with Typed Dataset and dropdown lists causing duplicate cal

I have a page using a ObjDataSource and a XSD Dataset. I use this to fill a
datalist. I have drop downs that can change the values loaded and they are
listed as the parameters for the ObjDatasource.
On initial page load the Datasource_Sele cted event will fire twice - thus
doing what looks like two loads of the data and two times whatever events I
have happening inside of the Datasource_Sele cted.
However since I don't reload values into the drop downs on post back -
although on post back I obviously reload the data in the datalist I only see
this event fire once.
Is there some order of control placement issue or something I need to do to
force this to only fire once on the initial page load.
--
Jason E Miller
MC***@community .nospam
Feb 15 '07 #1
0 1008

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

Similar topics

2
2294
by: malcolm | last post by:
Hello, We have a robust (.NET 1.1 c# winforms) client-server application that utilizes many typed DataSets, typed DataTables and typed DataRows. Our application is a series of windows and popup windows where you can edit information and data, nothing out of the ordinary. I estimate we have something like 50 to 100 tables and/or views in our database each of which map to one strongly typed DataTable. Now we have some odd 20 to 30 typed...
0
2422
by: Jeremy Summers | last post by:
Has anyone run into problems creating typed datasets from complex schemas? I am attempting to create a Typed Dataset in Visual Studio .Net from a .xsd schema file for a industry standard web service. I have run the schema through XML Spy and validated it with no errors, but when attempting to generate a dataset, I keeping getting a 'undefined data type' error. The schema is quite large so I don't know if that is causing the problem or...
2
3680
by: Usha Vas | last post by:
Hi, I had posted this question in donet.framework.adonet but thought it might make more sense here, so I apologize for the duplicate post. I have an XML schema with one of the elements (Sig) having an attribute defined as such: <xs:element name="Sig" nillable="true" minOccurs="0" maxOccurs="unbounded"> <xs:complexType>
1
5605
by: Oleg Ogurok | last post by:
Hi all, I've added a new DataSet (xsd file) to my project in VS.NET 2003. There I create a simple type as an enumeration of values. <xs:simpleType name="MyCustomType"> <xs:restriction base="xs:string"> <xs:enumeration value="Apple" /> <xs:enumeration value="Orange" /> </xs:restriction>
1
1051
by: Rafael Veronezi | last post by:
Hello guys, I'm currently developing a Web Custom Control project with VS.Net2003. It's Ok, I've made my WebControl inherited class. Also I created a typed-DataSet that's intended to be a property of the control, and I must expose this public to class... But, when I reference the dll of the control, the toolbox lists both the controls and the DataSet i've created... Is there a way to "hide" the DataSet from the toolbox? Maybe some kind of...
2
1663
by: Ron | last post by:
Hello, I am trying to create a page that pulls class rosters from an SQLServer database. The roster table definition is: emp_id(pk, fk), sec_id(pk, fk), reg_date and reg_status. Status can be Pending, Cancelled or NoShow. I want the page to display section information (working fine) as well as a datagrid of all the employees and their status'. Status should be displayed in a dropdownlist control and is the only control you can edit. ...
1
1564
by: Vaughn Haybittle | last post by:
Hi, I am writing an ASP.Net application that uses a handful of dropdown lists. These lists appear on many of the .apx pages in the application. I would like to persist the data that is used to populatre these dropdown lists in a dataset, and store the datasset in an application variable. I will then databind the drowpdownlist controls to the relevant table in the dataset. My problem is that if I create and store the dataset in an...
3
1241
by: Fendi Baba | last post by:
I faced 2 isseues. First, I created three (3) dropdown list on my page. They are populated by an event triggered in the page load command. What's strange is that the frist drop downlist gets populated as expected but the second and third do not get populated at all. I dont think I made any mistake but can anyone verfiy if I made an error somewhere? here is my onload code:
0
887
by: tomstessa | last post by:
i created a typed dataset with multiple tables. i created a stored procedure to retrieve all data from database(used select * from tablename query).I can fill data into dataset but duplicate tables will come with names(like Table,Table1 like that...) how to solve this problem any help? Thanks in advance biptoms.
0
8407
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8837
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8612
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7347
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6175
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5638
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4171
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2739
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

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.