Browse by Tags

Related Posts

  • 2 radio buttons one field off till 2nd radio is selected?

    I'm an asp.net/c# newbie ok thats out of the way. My requirement is to create a page that has 2 radio buttons, one of those radio buttons will have a text box that will be deactivated/grey'd out UNTIL its button is selected after which it will be active. Obviously this is easily done with javascript...
    Posted to Web Forms (Forum) by aforonda on 08-31-2006, 12:00 AM
    Filed under: ASP.NET, deactivate, javascript, form, radio button, c#
  • Re: Returning an array of classes from web service

    madaboutnoggins: private void Page_Load( object sender, System.EventArgs e) { BetterNewsServiceWS.GetBetterNewsService wsBetterNewsService = new BetterNewsServiceWS.GetBetterNewsService(); NewsItem[] arrNews = wsBetterNewsService.GetNews(); rptNews.DataSource = arrNews; rptNews.DataBind(); } Your referencing...
    Posted to XML Web Services (Forum) by mxmissile on 09-05-2006, 12:00 AM
    Filed under: WEb Service, asp.net, C#, WS
  • abstract base classes and accessing properties?

    I have a few custom controls that contain their respective abstract base classes located in the App_Code folder. Everything works fine, but I'm not clear on how to access the class properties from my custom control. I'm using this abstract class in my code-behind and is why I needed to make an...
    Posted to Web Forms (Forum) by rpeters83 on 09-06-2006, 12:00 AM
    Filed under: ASP.NET, c#
  • Adding Custom Functionality to Classes that are added from using a webservice.

    Hi, I am using a webservice which creates several classes in my project used to package the data and send it back to the webservice. Before I sent this data back to the webservice I would like to get rid of any duplicate records in it. A nice and easy way of doing this is to create a list of the webservice...
    Posted to XML Web Services (Forum) by auschucky on 09-07-2006, 12:00 AM
    Filed under: WEb Service, C#, Custom Class, Custom Functionality
  • Re: Dropdown list with duplicates

    I needed to remove duplicate years from a DropDownList and so I created the following class in C#: public class Ddl { public Ddl() { } public static void RemoveDuplicateItems( DropDownList ddl) { for ( int i = 0; i < ddl.Items.Count; i++) { ddl.SelectedIndex = i; string year = ddl.SelectedItem.ToString...
    Posted to Web Forms (Forum) by KD34XBR960 on 09-14-2006, 12:00 AM
    Filed under: c#, DropDownList
  • Looping through stored procedure inside another stored procedure and displaying the category and then displaying 1 item in each category

    I used to do this with classic asp but I'm not sure how to do it with .net. Basically I would take a table of Categories, Then I would loop through those. Within each loop I would call another stored procedure to get each item in that Category. I'll try to explain, Lets say category 2 has a player...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by Nola3Nut on 09-21-2006, 12:00 AM
    Filed under: c#, ASP.NET 2.0
  • Displaying Data on a Page

    I don't know how to display records on a page. I don't want to use DataGrids or any of those types of tools. I want to have control of how it displays. How do you open a stored procedure and loop through to display it on a .aspx page in C#? With a sqlDataSource? Or do I build a DataReader in...
    Posted to Data Access and ObjectDataSource Control (Forum) by Nola3Nut on 09-22-2006, 12:00 AM
    Filed under: c#, ASP.NET 2.0
  • Cutting half words off of a string - Manipulating the data that a Datarepeater returns

    Hi, I created a userControl that binds to a class which returns a sqlDataReader. I need to know if there is a way to format the Body data field that it returns. I've already cut it down to 100 characters in sql. But the problem is that it will cut off words that way. So the Body field is returned...
    Posted to Data Presentation Controls (Forum) by Nola3Nut on 09-22-2006, 12:00 AM
    Filed under: Repeater, c#, DataBind DataBinding, ASP.NET 2.0
  • File Upload problem

    Does anyone know how to handle the "Invalid file" in the file upload in C#? In the file upload control, I enter an invalid file and try to upload the file, but I always get an "Access Denied" error in the function __doPostBack(eventTarget, eventArgument); this is a javascript error...
    Posted to Web Forms (Forum) by dense on 09-25-2006, 12:00 AM
    Filed under: c#, file upload, ASP.NET 2.0
  • Animations

    I posted up over here a quick comment and Ted asked that I post my question here, so I shall! I was dorkin around with the new animation controls and noticed AnimationExtender, AnimationProperties, AnimationExtenderDesigner and Animation are all items I can play with in code behind -- but I'm not...
    Posted to "Atlas" Control Toolkit (Forum) by Fubarian on 09-25-2006, 12:00 AM
    Filed under: Animation, Atlas Control Toolkit, C#
Page 1 of 116 (1152 items) 1 2 3 4 5 Next > ... Last ยป