Browse by Tags

Related Posts

  • Can't dynamically add custom control to web form in code behind

    Hi all, I have a user control that I have created ~/controls/add_sundry.ascx and add_sundry.ascx.cs. I am trying to add this to a web form list_sundry.aspx and list_sundry.aspx.cs. I can't get a reference to the user control from the web form code-behind file (list_sundry.aspx.cs). I've been...
    Posted to Web Forms (Forum) by kitster on 06-11-2009, 12:00 AM
    Filed under: user control, User Controls, code behind, code-behind, dynamicically load user control, Dynanic control generation
  • Simple Calculation in Code-Behind with Text Boxes, Labels and e^

    Hello, I have a simple coding problem but I am a novice and have been working very long on this code. I basically want to do a function where I include a text box value and a factor label to calculate the demand. The code looks like this: Dim a As Integer = Val(FactorLbl.Text) Dim t As Integer = Val...
    Posted to Getting Started (Forum) by Magosk on 04-18-2009, 12:00 AM
    Filed under: text box label, VB, visual basic, Visual Web Developer, asp.net 2.0, calculate, code-behind, exponential factor, function
  • Re: Base Class for Pages

    Hi rtpHarry Thanks for the quick reply. I am already using a site masterpage and could possible create another template that had the functionality in it but it seemed that a custom base class should be a better fit as a solution to this problem. It was Scott's blog and post on this subject which...
    Posted to Web Forms (Forum) by CINGTECH on 04-07-2009, 12:00 AM
    Filed under: "Master page", basepage, Classes, code-behind
  • Listview created in code-behind does not raise ItemCommand event.

    I am creating a databound listview in code-behind. It renders fine. Here is the relevant code: ListView lvComments = new ListView (); lvComments.ID = "lvComments" ; phCommentList.Controls.Add(lvComments); lvComments.ItemPlaceholderID = "MyLayout$itemPlaceholder" ; lvComments.ItemCommand...
    Posted to Data Presentation Controls (Forum) by bharris55 on 03-13-2009, 12:00 AM
    Filed under: code-behind, event handler, itemcommand, ListView
  • Quiz Engine Trouble

    Hello All, I've been playing with asp.net for a while now and although I'll be the first to admit that I got plenty more to learn, many Thanks In Advance for receiving help and support from this forum. Anyway I ran Visual Web Developer with SQL 2005 express and everything ran lovely Personal...
    Posted to Getting Started (Forum) by johnjam on 02-27-2009, 12:00 AM
    Filed under: SQL Server 2008, code behind, Event Handler, "ASP.NET Web Forms", code-behind, asp.net3.5
  • All Code Behind in dll's

    I have been developing for many years, and today I ran into something that I have never before seen. A client I have needs to bring back to life an ASP.NET 2.0 web application that never quite took off in 2005/2006. So, today I got the laptop(acting as the test server) which contain the IIS website directory...
    Posted to Configuration and Deployment (Forum) by bfancett on 01-27-2009, 12:00 AM
    Filed under: .net 2.0, .net 3.5, .NET Framework 3.0, 2.0, 3.5, administer website, administration, administrationtration, app_code, Application Configuration, application deployment, ASP.NET 2.0, asp.net 3.5, Assembly, c#, c#.net, Class Library Dll Object, code behind, code generation, code-behind, compliation, config, development, different compilation, dll, dll application bin, dll namespace web service, dll reference -, dll reference bin folder temp asp.net folder, DLLImport, ASp .net2.0, Application settings, applications, applicationSettings, "asp.net" "web application" "asp.net deployment" "visual studio 2008" TFS MSBUILD, asp .net ... c# ... SQL, answers, ASPNET, Application Programming Interphase, dll application bin library, asp.net configuration
  • Changing properties of single CheckBox in a CheckBox List

    According to Microsoft this cannot be done, but I am looking for some type of a hack or something. I have a CheckBoxList control on an aspx page and I need to be able to highlight the CheckBox and text for a particular checkbox within the list. The CheckBox is bound to a Dataset that populates the List...
    Posted to Web Forms (Forum) by bfancett on 12-30-2008, 12:00 AM
    Filed under: "Asp.net 2.0", .net, .net 2.0 c#, .net3.5, add controls, adding controls, AS.NET 2.0, AS.NET 2.0 C#, as.NET.net 2.0 C#, As.NET2.0, asp .net 2.0., ASP .net 3.0, ASP .net 3.5, asp .net 3.5 Control, asp .net with c#.net, ASP.Net C#, ASP.NET 2.0 bug, asp.NET 2.0 C#, c#, 'C#', c# in Asp, c# .NET, C# asp.net 2.0, c# programing, C#. NET 2005, c#.net, checkbox, checkbox checked event at client side, checkbox list validation, checkbox onclick, chekbox, cloning controls, code behind, code-behind, CodeDOM, content, Context, control, control state, control switching, controls, controls used, Controls.Add, CSS class of a cell, CSS selectors, check, .ascx .aspx C#, .aspx page, .cs, checkbox validation, Checkbox value attribute, checkboxlist, Checkboxlist c# ie6, checkboxList vb.net, checked event at client side, checkedchanged event, checking, .Net 2.0, adding dynamic controls, as.NETp.net 2.0 C#, c#.net2.0, Checkbox CheckedChanged ControlState, checkbox checking detecting page webform .net c# webform, code, content page, CSS, checkboxes, checkedlistbox
  • How to edit code-behind pages ASP.NET 1.1?

    Hello everyone, I'm fairly new to vb/asp.net, and I'm running into a problem. There are web pages which I need to edit, and it requires me changing some code in the code-behind pages. When I change the code-behind code, nothing changes on the web page. I've read that it has something to do...
    Posted to Configuration and Deployment (Forum) by kylesarge on 11-06-2008, 12:00 AM
    Filed under: code-behind, dll, Debloyment & Configuration
  • Re: Typed ViewPage Using Generics Without Code Behind

    Looks like removing code-behind file and decalring inheriting class on .aspx/.ascx page itself doesn't bring any value. Because intellisense doesn't work in this scenario. Let's vote for this bug: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=104071 Maybe...
    Posted to ASP.NET MVC (Forum) by koistya on 10-21-2008, 12:00 AM
    Filed under: code-behind, generics, intellisense, inherits
  • working time in web page

    Hello every body , this is my post , and i hope any body help me. i have ajax web page , and there is a time in this page , with two button ( Start ) , ( End ) , and there is a time for example if the user press on Start button at 08:04:00 AM and then press on End Button at 10 :04:00 AM , the total work...
    Posted to ASP.NET AJAX Discussion and Suggestions (Forum) by omar_sabha on 05-12-2008, 12:00 AM
    Filed under: code-behind
Page 1 of 2 (17 items) 1 2 Next >