No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
28 Posted Topics
Hi, I want to create a music editing program that will allow you to play songs using a MIDI device. I know there are significant differences in the capabilities of VB.NET and C++ but I'm not sure which would be more suited for such a project. Any suggestions? -James | |
Re: I think you can do this in the same way that you would any table-related collection. If you simply want to add a control, you user [inlinecode]GridView1.Rows(y).Cells(x).Controls.Add(ControlToAdd)[/inlinecode] If you want to add a complete row of controls, you can create a table row object at runtime: [inlinecode]Dim x as new … | |
Re: What code are you using to set the culture programaticaly? | |
Hi, I have several themes that can be applied to pages on a website based on a users preferences. The problem is that the only way I know how to apply a theme to a website is to set the Page.Theme object in the page's PreInit event. This requires that … | |
One of the pages in my web application works fine when I start the application from that page, but has some problems if I start from another page, including the Default.aspx page. When I went to investigate the problem, I realized that, if I start the application on the Default … | |
Re: I'm having the same problem with image buttons. The above solution works when done in something like the page_load, but in my case, the assignment of the even handler occurs in the button_click event of a pre-existing button, causing the same problem. | |
Hi, I am creating a page in which thumnails, in the form of Image Buttons (System.Web.UI.WebControls.ImageButton), are dynamically created based on which LinkButton is clicked out of a group of several links. I need each thumbnail to generate a full-size image on the page when clicked. I would use the … | |
Is there any easy (as in programmatic) way to make sure that every theme in the ASP.NET App_Themes folder for an application has skin definitions for all of the same controls. For example, if an application has 3 themes and a new user control was added to a page, is … | |
Hi, I have a small website that I'm using to test some things involving accessing an XML file for data. It works just fine in Visual Studio's debugging environment, but when I put it on a prototype server (which has a certificate that is past it's expiration date). I get … | |
Hi, I have a drop-down list that is used to select a theme (which can only be set in the Page_PreInit event) and so I set a session object called theme that I use to set the theme in the PreInit event. The problem is that on the postback, the … | |
hi, I feel retarded working with XML right now because I have no clue whatsoever how to do anything with. I really just need a simple, straigtforward description of how to read, edit, and write XML files that hold data, everything I've found on the internet and such hasn't given … | |
Hi, I created to data tables to hold information provided through peer reviews in the company that I work for. One table has 5 different levels of quality (unsatisfactory, meets some requirements, meets requirements, exceeds expectations greatly exceeds expectations), and another table that holds the data for each peer review … | |
Hi, Is it possible to use the System.Drawing.Graphics methods without having to put code in the control's Paint event? If so, how? -James | |
Hi, I have a controls in the footer row of a gridview that allow the user to insert a record into the data table bound to the gridview. The controls were each added into the columns by converting the columns to Template Columns and simply dragging and dropping the controls … | |
Re: Image data is stored on a SQL database as binary data, and must be read as such. In order to create this DataGrid, you will need the page that it is on, say [I]Default.aspx[/I] and another page to gather and display the image, say [I]IMG.aspx.[/I] First look at [I]IMG.aspx:[/I] We … | |
Hi, What is the best way to control data displayed by a GridView when using a listbox that allows you to make multiple selections. I'm currently using a Select Parameter to control the data displayed (using the WHERE clause of the SQL Select Query), though the FilterParameter would make more … | |
Hi, [B]Is it possible/how can I dynamically add fields to a DetailsView using code?[/B] I have a detailsview set for inserting data, but some of the fields that need to be inputed are based on records in the database, selected by a dropdown list in another field. -James | |
Hi, I'm using a GridView Control in which I wish to show thumbnail versions of images saved as binary data on a SQL DB. I have a page that accepts an ID parameter to use in finding the image on the database. The page uses the [inlinecode]Response.BinaryWrite()[/inlinecode] method to display … | |
I have a GridView and a DetailsView on the same page which work together allowing you to Insert or Edit data records read by the GridView from the DetailsView. My ASP.NET book explains how to do this...assuming you aren't using any template rows. I happen to be using several template … | |
Re: Not sure if it will work but try changing onClick in the input button's tag to onServerClick. If that doesn't work, give the button an ID and then add a [inlinecode]handles ButtonID.ServerClick [/inlinecode] to the function declaration. | |
Ummm...I'm know it seems like it should be obvious, but what does this mean: [I]Type 'System.Web.UI.WebControls.DataKey' in Assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable.[/I] | |
Hi, I'm creating a page that has an ASP button that should delete a row of data from an SQL database. I want a javascript confirm window to appear to make sure the user [I]really [/I]wants to delete the information. I can set the button's OnClientClick property to "javascript:confirm('Are you … | |
Hi, I have a GridView that displays data from a MS SQL database (duh!). I know the GridView allows you to have a command column with such functions as Edit, Update, Delete, etc., which I wish to use. The problem is that I only want these functions to be available … | |
If you haven't guessed by the number of questions I'm asking, I'm in the process of [I]learning[/I] ASP.NET as well as using it to update a website. This problem deals with Validation. Basically, I have two buttons within a table that have the functions of Editing corresponding data in the … | |
Hi, I've been trying to get this to work for hours to no avail (at least they're paying me :cheesy: ). I have a DropDownList that obtains its values from a database. The DropDownList will not retain it's values when a Postback is done (caused by a submit button being … | |
Re: I believe you can also do the following: cboName.Items.Add(new listitem("Other","0")) 'item_name' would be the name of the item you want to add And, another option for hard-coding the first entry, or the first several entries is to add the entries on the actual .aspx page in the <asp:listitem> tags, and … | |
Hi, My name is James and I'm from Southern Maryland. I'm a junior in highschool and this summer I am working as a paid intern at Zekiah Technologies, working with ASP.NET. I have experience with VB6, some C++, some HTML/CSS/Javascript, and a little ASP.NET. I just bought Microsoft Visual Studio … | |
Hi, I've been wondering for a long time how one program can affect another program during run time by adding featues, retrieving information, submitting information and those sorts of things. One example of this might be a program like DeadAIM, which affects AOL Instant Messenger, or (doubtedly) if your in … |