Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score ASP.NET 2.0 - How to databind to nested (hierarchical) business objects?
style - 8 Sep 2006 8:10 PM - 3 messages
Hi everybody Is it somehow possible to databind a control to a nested business object in ASP.NET 2.0? Let's say I have a business object "User" with the properties "Name" (string), "Age" (int) and "Place" whereas Place is a reference to another ...
Score Creating composite web controls
eladla - 7 Sep 2006 1:33 PM - 4 messages
Hi. I can`t seem to find the right project type for creating a composite web control in VB. Could you help me get the ball rollin on this one? How do I create this type of project? ...
Score Custom control with ListBox
kurt sune - 7 Sep 2006 11:33 AM - 4 messages
I am trying to do a custom control wich extends the ordinary listbox with some features. The class is declared thus: ParseChildren(True), _ ToolboxBitmap(GetType(ListBox)), _ DefaultEvent("SelectedIndexChanged")> _ Public Class eListBox Inherits System.Web.UI.WebControls.ListBox ...
Score Selecting a value from a Gridview Control
hal - 6 Sep 2006 2:04 PM - 2 messages
I'm trying to get a value from a gridview control and put that value in a query string.  I have a select button on the gridview and once the user hits the select button i want to capture the the userid.  Here's ...
Score Auto postback in dropdownlist
Nishu - 6 Sep 2006 10:12 AM - 2 messages
Dear All I am using dropdownlist which has item that are called from database.Now on index change i want to change the value of dropdown2.Lets take on changing the state city will change on dropdown2.now i want a smooth function like on autopostback property ...
Score HyoerLink - need 2 params
David Thielen - 6 Sep 2006 12:09 AM - 3 messages
Hi; I need to do the following in a HyperLink: <asp:HyperLink NavigateUrl='<%# Eval("Id", "~/template-file.{0}?ID={1}") %>'>my text</asp:HyperLink> How can I handle 2 parameters? ...
Score Select text in asp:textbox
TJHerman - 5 Sep 2006 9:32 PM - 2 messages
I am using Visual Studio 2005 and writing all code-behind in VB. I'm setting the focus of a textbox after I run some calculations. I want to additionally select all the text in the textbox that I've set the focus to so that the ...
Score Failed to load viewstate.
Slavioglo - 5 Sep 2006 5:59 PM - 2 messages
Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.  For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the ...
Score Save Child GridView only when parent GridView Saved
crpietschmann - 5 Sep 2006 4:57 PM - 6 messages
I am adding Survey functionality to an application I am working on. There are Question and each Question has multiple possible answers. I need to have a GridView display the Questions with a nested GridView that allows you to edit the Answers for each Question. Now, the tricky part is I ...
Score fill ObjectDatasource on request
HIK - 5 Sep 2006 10:48 AM - 5 messages
I have an asp.net 2.0 form with an combo box and an objectdatasource and a gridview bound to the objectdatsource.  I would like to fill the objectdatasource only when the user makes a selection from the combobox. ...
Score apply an ItemTemplate dinamically
Trapulo - 4 Sep 2006 3:02 PM - 4 messages
I  need to show every row of a datalist with a template, based on the dataitem's value. I've tried with this code: Protected Sub dlZones_ItemCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataListItemEventArgs) Handles dlZones.ItemCreated ...
Next »