System.EventArgs Class
Information   Base Types   Related Resources

EventArgs is the base class for classes containing event data.

  • Namespace: System
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (890)Discussions (11139)MembersRotorChanges
    Discussions

    Page: 1234567891011121314151617181920
    2122232425262728293031323334353637383940
    4142434445464748495051525354555657585960
    6162636465666768697071727374757677787980
    81828384858687888990919293949596979899100
    101102103104105106107108109110111112113114115116117118119120
    121122123124125126127128129130131132133134135136137138139140
    141142143144145146147148149150151152153154155156157158159160
    161162163164165166167168169170171172173174175176177178179180
    181182183184185186187188189190191192193194195196197198199200
    201202203204205206207208209210211212213214215216217218219220
    221222223224225226227228229230231232233234235236237238239240
    241242243244245246247248249250251252253254255256257258259260
    261262263264265266267268269270271272273274275276277278279280
    281282283284285286287288289290291292293294295296297298299300
    301302303304305306307308309310311312313314315316317318319320
    321322323324325326327328329330331332333334335336337338339340
    341342343344345346347348349350351352353354355356357358359360
    361362363364365366367368369370371372373374375376377378379380
    381382383384385386387388389390391392393394395396397398399400
    401402403404405406407408409410411412413414415416417418419420
    421422423424425426427428429430431432433434435436437438439440
    441442443444445446
    DropDownList within a DataGrid (VIP replies)
    ASPFriends.com 'aspngcontrolscs' list
    (If there is a better list to post this problem, please let me know.) I'm building a control that contains a DataGrid control which has a Template column which contains a DropDownList. The DropDownList renders fine with it's DataSource, but I would like to add a blank row to the items and select a default item. He is a stripped down code of my control: protected override void OnInit(EventArgs E) {...
    DropDownListBox Bug. (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I think we have some bug in dropdownlistbox server control. Following are the values. asp:DropDownList id "DropDownList1" runat "server" asp:ListItem value "46" INR /asp:ListItem asp:ListItem value "2" USE /asp:ListItem asp:ListItem value "1" USD /asp:ListItem asp:ListItem value "1" URO /asp:ListItem asp:ListItem value "29" SND /asp:ListItem asp:ListItem value "46.09" INP /asp:ListItem asp:ListIte...
    dropdownlists - what am i doing wrong? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Hi everyone...whats wrong here? I created two dropdownlists in an aspx file. I populated both of them with 3 simple listitems basically containing the numbers 1,2,3. So I have dropdownlist1 and dropdownlist2 They both contains 3 list items. The first one's value/text is 1, the second one's is 2 the third list item's is 3. Now, I want one dropdownlist to display the number 2 and the other to displa...
    Drowdownlists value before change (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Hello! I'm building a website in asp.net. The site contains a dropdownlist. Autopostback is set to true, because when the dropdownlist is changed I want a DataGrid to be updated. Everytime the dropdownlist is changed the webpage is reloaded. I have a global variable which shall contain the dropdownlist's last value (the value before the dropdownlist was changed and the page reloaded). The problem ...
    Dual Combo box binding problem (relation involved) (VIP replies)
    microsoft.public.dotnet.framework.adonet
    Here's an example of the code.. I have two combo boxes on screen that when one's selection is change the other's items will be updated to reflect the change (based on a relation) Private ds formData As New DataSet ' ' Fill Line Of Business ' cmd selectCommand.CommandText "BENESP GetLinesOfBusiness" da formData.FillSchema(ds formData, SchemaType.Source, "LinesOfBusiness") da formData.Fill(ds formDa...
    Dual Combo box binding problem (relation involved) (VIP replies)
    microsoft.public.dotnet.languages.vb
    Here's an example of the code.. I have two combo boxes on screen that when one's selection is change the other's items will be updated to reflect the change (based on a relation) Private ds formData As New DataSet ' ' Fill Line Of Business ' cmd selectCommand.CommandText "BENESP GetLinesOfBusiness" da formData.FillSchema(ds formData, SchemaType.Source, "LinesOfBusiness") da formData.Fill(ds formDa...
    dude with web custom controls (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Hi, I have this easy piece of code: public class Box1:System.web.ui.webcontrols.webcontrol { protected Button mybutton; protected override void OnInit() { InitializeComponent(); } private void InitializeComponent() { this.Controls.add(mybutton); } } public class Gereral Control:System.web.ui.webcontrols.webcontrol { protected Box1 mybox1 new Box1(); protected override void OnInit(EventArgs e) { In...
    dumb previous question - repost (VIP replies)
    microsoft.public.dotnet.framework.adonet
    After thinking about it a bit, my previous question was kinda lame (can I fill an Access table with sql adapter of course not). I meant to ask if I could bulk copy data from a sql adapter table to an oledbAdapter table. Where I am not clear however is if one dataset can contain a sql table and also an oledb table since I can drag the tables from the Server tab (in visual studio 2003) If not, is th...
    Duplicate A Form Object - Please Help (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am new to the .Net environment, so please bear with me. I am passing a form object (e.g. formA) to an existing form (e.g. formB) by setting a property value defined in formB to hold the formA object. Please keep in mind that formB is defined in a separate library project. I then display formB. Once formB is displayed, I have code in a double click event procedure in formB to display formA by get...
    Duplicate BORDER attribute in WebControl.Table (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I've noticed that the WebControl.Table class always outputs the attribute "border "0"", and I cannot stop it from doing so, no matter what I try. I end up with generated HTML that looks like: table border "1" border "0" For example, create a new server control that inherits from System.Web.UI.Control, and call it CustomTable. Add an event handler for the Load event: Protected Sub CustomTable Load(...
    Dynamic composite control (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    I want to build a control that can dynamically display different sub controls. For example, there is a dropdownlist and a submit button. When an item is selected from the drop down list and the user press the button, I want to display other controls (i.e. Textbox and buttons) depending on the item selected in the dropdownlist. I think I should create a web custom control, but I am not sure where I...
    Dynamic Control Creation with Reflection? (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    I have a DataTable with String typed columns that looks like this: [Col1] [Col2] [Col3] "TextBox" "txtTest" "Enter Here" Strictly programmtically in my code behind, I want to create a TextBox control on my page called txtTest with text inside already "Enter Here". How would I do that using Reflection (or is there a better way)? Thanks.
    Dynamic controls and handlers (VIP replies)
    microsoft.public.dotnet.framework.compactframework
    I have a form with a number of buttons that are generated in a panel based on the results of a query. They all use the same click event handler. I am having trouble determining which button was pressed. I can only go by the button text or the button position to distinguish them neither of which works well for my situation. Is there a better way? Should I create my own button class inheiriting Butt...
    Dynamic DataGrid with scrolling (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I have a dynamic DataGrid and I need to add scrolling to it (the user wants it to scroll instead of page). I've been searching on Google for solutions to my problem and I keep finding the div solution to the Scrolling DataGrid. This doesn't work for me since I'm creating the DataGrid on the fly. I also found a solution that works with IE only, but I don't want to limit my application to only one b...
    Dynamic Generation of "RangeValidator" Control (VIP replies)
    microsoft.public.dotnet.framework.aspnet.mobile
    Hi, We are dynamically generating the RangeValidator Control in our page using the Mobile Internet Toolkit Beta 2. But the RangeValidator doesn't seem to be working, as it doesn't respond to any of the invalid inputs. This is working fine with ASP.NET. We have referred to the article on MSDN site related to RangeValidator.Type. Code: System.Web.UI.MobileControls.RangeValidator myRange new System.W...
    dynamic loading of images by linkbutton clicks (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    i have a server side script that executes this: linkbutton1.Attributes.Add("onClick", "linkClicked();"); the client side code has an html image control img id "image1" the client side javascript function linkClicked looks like this void linkClicked(object sender, System.EventArgs e){ image1.src "test.jpg"; } what i would want to happen is when the linkbutton is clicked, the linkClicked() function ...
    Dynamic MDI Menus? (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am developing an MDI database access app that will be used by people with varying access rights. Is it possible to make menu items show or be hidden based upon the authority of the user? BTW...the user's access level is stored in the db and stored as a public variable upon successful authentication.
    Dynamic Menu's (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I am looking at purchasing or creating a dynamic navigational menu system that would be binded to SQL server 2000 data. The users id is stored in the SQL server and based on the id is what the navigational menu would show. I would perfer to gain the experieance of building it myself but theres not much documentation out there on that subject. If anyone has any please guide me to it. Also, has anyo...
    Dynamic reference of controls (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I have a 8 Datagrids on a page Category1Grid, Category2Grid .. Category8Grid I want to iterate from 1 to 8 and set their datasource properties and the do a databind. How would I do this?
    Dynamic Template - linking Button events (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I'm using a repeater with a dynamic template. I don't know the fields to display (or how many) until runtime. I have everything working except for linking Button events to the repeaters ItemCommand (see below). I've found plenty of examples for doing it using ItemTemplate in the aspx file, but I'm stumped when it comes to doing it dynamically at run time. /////////////////////////// .apsx file: %@...
    Dynamic Template Column - retaining value on postback (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    I am adding dynamic template columns to a datagrid. The template column contains a textbox which the user can edit. When I am rendering it initially, the text in the textbox is bound to a column in the dataset. Everything works fine till this point. After the user makes changes to the textbox and submits the page, I am creating the dynamic columns in page load. The problem I am facing is that when...
    dynamic thumbnail code is locking images on the server (VIP replies)
    microsoft.public.dotnet.framework.drawing
    I have some ASP.NET code that I use in a ASP 3.0 photo gallery application to create dynamic thumbnails. So that people whos servers don't have a classic asp image component can still have true thumbnails. I call the aspx page from .asp pages with a IMG tag anyway... it works pretty good and makes nice thumbnails Problem is anytime a thumbnail is created the original image and the thumbnail get lo...
    dynamic type load "problem" (VIP replies)
    microsoft.public.dotnet.languages.vb
    I want to dynamicly load a type (typename is defined in the database). This type is located in the exe itself or one of the dll's in the directory with the exe file. When creating an instance directly it works, when using reflection none of the dll's is "scanned". I used following code to work around this problem. Now I just want to know if this is the/a good way to do it, or should I use another ...
    Dynamic Web Button command not firing (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I've got a weird problem going on I've got a table of dynamically created buttons. Each button has the X/Y value of the buttons position in the table assigned to it's CommandArgument property and the name of a common command (btn Command) assigned to it's Command property. The creation of the table is done by a function called drawGeo. drawGeo is called during the initial Page Load (!IsPostBack), ...
    Dynamic webcontrol (VIP replies)
    microsoft.public.dotnet.framework.aspnet.webcontrols
    Please, at my webpage i need to create some webcontrols based on a button click. This way: My page have a specifc area at top where i show some data to user. at the bottom i have something kind a grid (or table) with 4 columns and inside of them webcontrols like DropDownList, TextBox, etc. When the user fill the data at the 1st row, he clicks on Add New Button and a 2nd row must be created whith a...
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com