Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score Use IsPostBack for more than one roundtrip
AndiRudi - 23 Jul 2005 10:19 AM - 2 messages
Hi, i am trying to build a wizard control and return to a problem, that I often get and I wasn't able to solve it so far... If I habe a Custom Control which uses more than one roundtrip, e.g. a wizard ...
Score .DataBind will close a sqlDataReader??
Rob R. Ainscough - 22 Jul 2005 11:21 PM - 2 messages
Any reason why? I bind a DataReader to a  DropDown and as soon as I execute the .DataBind() then IsClose becomes true.  Is this because the DataReader is a one way street and when it has read thru the return results set it has no option ...
Score Problem in populating 3 data from database in ddl.DataTextField.
Joey Liang via DotNetMonster.com - 22 Jul 2005 6:43 PM - 2 messages
Hi all,         I hav figure out how to populate more than one data retrieved from database and bind to dropdownlist.DataTextField for quite a long time but unable to figure it out. I need you guys help and advice..Is it possible to ...
Score dynamic user control textbox is empty when accessing from aspx pag
randman - 22 Jul 2005 6:25 PM - 4 messages
I have created an ASPX page that has a placeholder that dynamically gets assigned various user controls (that I have also created) during runtime.  On one of the user controls contains a textbox.  I need to access the ascx page ...
Score ByVal sender As Object, ByVal e As EventArgs - can I send more?
David Lozzi - 22 Jul 2005 4:08 PM - 3 messages
I have the following drop down list: <asp:DropDownList id="ddDept" runat="server" DataSource='<%# LoadDropDown("DEPT") %>' DataTextField="strName" DataValueField="strName" AutoPostBack="True" OnSelectedIndexChanged="UpdateText('txtDepartment')"></asp:DropDownList> and on change I would like the value of the drop down to populate a text ...
Score How to create HTML controls a runtime
Jaime Stuardo - 22 Jul 2005 3:04 PM - 3 messages
Hi all.. I have an ASPX page that has a form. It has a button that when it is pressed, the submit is sent to the same page. The form is placed inside a DIV control. After the form is posted and the same page is reloaded, I need to place an ...
Score GridView EmptyDataTemplate Question
Lee Moore - 22 Jul 2005 1:24 PM - 3 messages
I am trying to figure out how to handle it when I have an empty dataset bound to a gridview. I can use the footer when there is data bound to it, but I cannot figure out how to access controls that I define within the ...
Score Left Side menu control
sameer - 21 Jul 2005 8:51 PM - 3 messages
Hi, My ASP.NET web application has a menu on the left side of the page which would show a list of all the categories. It is done using a web control(ascx) which uses a datalist control which pulls the list of categories from the ...
Score How to access values of constituent controls in a User Control
dwok - 21 Jul 2005 8:22 PM - 3 messages
Hi All,   I am building what I thought was a very simple user control in ASP.NET. The control is just a standard asp.net calendar control and a text box control. When the user selects a date within the calendar ...
Score DataGrid displaying hidden EditCommandColumn Values on PostBack
freshRecruit - 21 Jul 2005 7:53 PM - 3 messages
Hi I am filling a datagrid with values. One of the columns is a EditCommand Column and an other column is an 'Y/N' Bound column. If the value is 'Y' than the Edit Command link is displayed if the values is 'N' than the EditCommand ...
Score Radiobutton Checked value is gone
Mike - 21 Jul 2005 4:09 PM - 3 messages
Hi ... I an building a web form with a usercotrole on the usercontrole i have several Radiobuttons not in list but in in Group. so they are single radio buttons. connected by a group name. Why single radiobuttons because if you select the option c in the list of ...
Score Parsing nested Tags
Sam - 21 Jul 2005 2:38 PM - 2 messages
Hi, i'm a bit stuck at the following problem and hope any of you can provide me wit a nice solution: I have a company with multiple employees. When creating a company control i can define a property "employee" of ...
Score style width and height
Shaun Wilde - 21 Jul 2005 8:48 AM - 4 messages
is there a feature to remove width and style tags from the .aspx .ascx pages? we are trying to localise an application and the hard coded styles are obviously overridding the CSS files. webcontrols can be modified easily enough but it is the controls that are ...
Score Display items from dropdown list in alphabetical order
Siew Yee - 21 Jul 2005 6:16 AM - 2 messages
Hi, Is there any way where I can display items from dropdown list in alphabetical order? Thanks. ...
Score Base Page Design Question
Tony - 20 Jul 2005 11:22 PM - 5 messages
I am in the process of setting up a base page model for multiple reasons. One of the reasons is so that I can catch all exceptions when derived pages throw/raise them. I don't want to use the standard OnError virtual method to ...
Score Bizarre - DataGrid inside HTML Table
Tony - 20 Jul 2005 10:42 PM - 3 messages
Can someone please tell me why Visual Studio wants to edit my Web form when I open it up via the designer? This only occurs if the form is in FlowLayout mode, it contains a standard HTML Table control and inside the table is a DataGrid Web control (freshly ...
Score Which page load fires first? ASPX or ASCX?
cmay - 20 Jul 2005 9:22 PM - 7 messages
Does the Page Load event for an ASPX page always fire after the Page Load event for an ASCX control? I have a webcontrol (ascx) which populates a listbox in it's onload event, but it seems that the ASPX page it is contained in fires its ...
Score Merge method for multiple datasets
Chumley Walrus - 20 Jul 2005 7:30 PM - 2 messages
If I have as many as 7 different datasets I want to use, is it possible to merge 7 different datasets with the Merge method for just one datagrid? thanx chumley ...
Score Accessing an .aspx page within the DMZ
Terry - 20 Jul 2005 6:45 PM - 2 messages
We are currently hosting our own web site; the web site of course resides outside the DMZ. For security reasons, the network crew will not allow us to do SQL queries and access data from the web site server. Instead they want to ...
Score CompareValidator Only Works On Manual Input
John Walker - 20 Jul 2005 6:42 PM - 6 messages
Hi, There is a textbox in my datagrid where the user can enter a date manually or they can use a popup calendar which will automatically fill in the textbox when they click on a date.  This textbox has a compare validator on it, which ...
Score 2.0 ascx on a 1.1 aspx?
jessetechie - 20 Jul 2005 6:18 PM - 5 messages
Hi folks, Is it possible to use VS 2005 and ASP.NET 2.0 to write an ascx control, then use the control on an ASP.NET 1.1 page? Are there incompatibilities per se, or does it depend on what the ...
Score PropertyDescriptor in GetDataSource
STech - 20 Jul 2005 3:36 PM - 3 messages
I found the following pattern used a lot on webcontrols. Could you please explain what the propDescs collection does? What confuses me is this: new PropertyDescriptor[0] Thanks. <code> ITypedList typedMemberList = memberList as ITypedList;                 if (typedMemberList != null) { ...
Score Repeater question
M.D.M. - 19 Jul 2005 3:18 PM - 3 messages
Hi, I display ads via repeater - name, address, text, anonymous (yes or no) etc.. Repeater values are loaded from database. If ad is not anonymous I want to display everything but if it is anonymous I need display completely other ...
Score Resolving datasource expression
M.D.M. - 19 Jul 2005 3:09 PM - 2 messages
Hi, I have templated databound custom control similar to repeater. <Display:Tree id="DB" runat="server"> <Root><%# DataBinder.Eval(Container.DataItem,"Node") %><br></Root> <Leaves><%# DataBinder.Eval(Container.DataItem,"Subnode") %>, </Leaves> ...
Score Resolving datasource expression
M.D.M. - 19 Jul 2005 3:07 PM - 3 messages
Hi, I have templated databound custom control similar to repeater. <Display:Tree id="DB" runat="server"> <Root><%# DataBinder.Eval(Container.DataItem,"Node") %><br></Root> <Leaves><%# DataBinder.Eval(Container.DataItem,"Subnode") %>, </Leaves> ...
Score WebControl.Style and ViewState
Mesalem - 19 Jul 2005 2:41 PM - 2 messages
i'm creating a text box dynamically in the page load and on the client side i use the following script to hide the control document.getElementById('dynamicText').style.display='none'; document.getElementById('dynamicText').style.visibility='hidden'; after a post back the control is displayed again ...
Score Render TreeViewControls in .net 2003
kk - 19 Jul 2005 2:36 PM - 5 messages
hi, I want to create treeview control in .net 2003 in my webcontol library project. I can use System.Windows.Forms.TreeView , but i cannot able to add my treeview control in aspx page. Is there any other solution to ...
Score Re: CustomValidator control BUG
Mike Randall - 19 Jul 2005 4:22 AM - 2 messages
I have the exact same results as Ken.    I have a large page with about 40 regular validators and 4 custom ones (server side only).   The custom validators will only fire after the regular error conditions have been ...
Score return parameter
Pieter - 18 Jul 2005 1:30 PM - 2 messages
Hi I want to know the following.  I am using ASP.NET and I am (dynamically) generating a list of hyperlinks from a database.  When the user clicks one of these links it should load an aspx page, but all the links should load ...
Score composite control does not fire event
Patrick - 18 Jul 2005 7:35 AM - 4 messages
Hi I have an aspx-page, where I load my custom-control (see below). The problem I have is that the event does not fire. I really cant figure out why. Just to know, I derive from System.Web.UI.Control, becaues later on I want to add ...
Next » 2 3 4 5 6 7 8 9 10