|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ASP.NET web controlsmicrosoft.public.dotnet.framework.aspnet.webcontrols
cannot access container data in templated control
Achim Domma (SyynX Solutions GmbH) -
12 Nov 2005 10:19 PM - 2 messages
Hi, I have implemented a templated control like described in the MSDN and the Quick Start tutorial. In my aspx page, the control is used like this: <syynx:SelectTableControl id="test" runat="server"> <Item>blabla <%# Container.Pos %><br></Item> ...
Webcontrol custom designer
KK -
12 Nov 2005 8:18 AM - 2 messages
Hi I am creating a ASP.NET web server control. I am extending a panel. I also want to create a designer for the panel. The normal panel, when put into a webform is visible as a box and other controls can be put into it. ...
WebCLient
Thom Little -
12 Nov 2005 1:30 AM - 8 messages
Is it possible to use WebClient.DownloadFile and WebClient.UploadFile to a FTP server that requires a user name and password? If yes, how is the authentication information passed to the server? What was the source of your information? ...
Newbie Listbox
CGW -
11 Nov 2005 8:09 PM - 5 messages
I've set up two listboxes with script to move items back and forth, along with a button to submit. However, when I do sumit, the code behind sees zero items in my second (starts empty) listbox. I figure I'm missing something ...
conditional RequiredFieldValidator
Vi -
11 Nov 2005 7:33 PM - 2 messages
Hi, I have a TextBox control that needs to have a value only if a drop down box on the same page has a certain value selected. Is it possible to achieve this using RequiredFieldValidator for the TextBox and having EnableClientScript = ...
Hiding a TreeView's root node
Keith Patrick -
11 Nov 2005 5:39 PM - 3 messages
What is the best (if there is such) way to hide a tree view's root node? The RootNodeStyle property lacks a "visibility" property, so I can either assign a CssClass="Hidden", which translates to display:none or override the ...
Web Server Control and property tree in design time like Font has.
Mirek Endys -
11 Nov 2005 3:23 PM - 6 messages
I have Web Server Control and I have there a property that is myClass type. I want to display this property in design time property toolbox as property type Font: each public property of myClass type to show in tree (like Font ...
DropDownList Box
Randy -
10 Nov 2005 9:25 PM - 3 messages
Hello, Is there a way to make a DropDownList Box editable...that is...be able to type into it? Thanks ...
Retrieve Datagrid Element Index by Name
John Walker -
10 Nov 2005 7:54 PM - 4 messages
Hi, I have two datagrids within one form and I need to do some client-side validation on the second grid when the user changes the value in drop down list which is a control in the second grid. For performance reasons I want ...
Retrieve GridView column header text on sort
Necqui Teja -
10 Nov 2005 7:51 PM - 3 messages
How do I programmatically retrieve GridView column header text on a BoundField when the user click on the header sort button? I know about the GridView columns collection, but how do I get the column id that corresponds with the sort button that the user clicked on? ...
how to override DropDownList.SelectedValue property
Abraham Andres Luna -
10 Nov 2005 5:52 PM - 3 messages
hey everyone, i have a control that inherits from dropdownlist: using System; using System.Web.UI.WebControls; namespace RDK.WebControls { public class SelectedValueDropDown : DropDownList { protected override void OnInit(EventArgs E) { this.Items.Add(new ListItem("NONE", "NONE")); ...
LoadControl and Multiple IDs in UserControls Error
Nestor -
10 Nov 2005 8:49 AM - 2 messages
Hello, I have a usercontrol to load dynamically into a webform. In the usercontrol there is a textbox. I need to load 2 instants of the same usercontrol into the form. When a command button, which resides on the form container, is clicked. The ...
How to access the web user control's child control?
ABC -
10 Nov 2005 8:14 AM - 2 messages
How should I do to access the web user control's child control from web page? Web Page --> User Web Control --> Text Controls, Combo Controls, etc..... ...
DropDownList
Jim -
10 Nov 2005 12:40 AM - 3 messages
Let's say we have a drop down list (lstStates) of the 50 states. Is there another way to pre select a state, when the page loads, besides lstStates.SelectedValue = "NY" for example? The reason I'm asking is because when a value not in the 50 state master ...
onclient click and validators
dagnar -
10 Nov 2005 12:33 AM - 3 messages
It seems that the onclientclick event occurs before clientside validation, how can i make validation occur before the onclientclick? ...
Combining 2 Fields Using ListBox.DataTextField
Nathan Sokalski -
9 Nov 2005 11:08 PM - 4 messages
I have a ListBox control which I am using with databinding. However, the text that I want to be displayed is a combination of two fields (in this case, first and last names). What do I enter as the DataTextField property ...
client-side .NET control
Tartha De Tear -
8 Nov 2005 10:02 PM - 6 messages
Is there such a thing as a purely client-side .NET control akin to ActiveX controls or Applets? My boss wants to know, so I'm asking...please don't shoot me. Thanks. ...
Postback in Web Controls
Wizzy -
8 Nov 2005 9:06 PM - 4 messages
I have a encapsulated a Datagrid control and text boxes etc to make a customized datagrid control. I have a "search" button on the page. If the user clicks on Search or even if the "Search " button is the currently selected button and the user presses ...
Coloring Calendar !!!
Lorenzo -
8 Nov 2005 4:37 PM - 2 messages
Hello there, I am struggling with somenthing that might be a little too advanced (for me). Thanks for any help in advance. I have a database table that contains reservations for apartments, the table structure is as follow: IDReservation, IDApartment, dteArrival, dteDeparture etc. ...
Finding a way to bind ASP.NET controls(two way) to a typed-dataset
novus -
8 Nov 2005 2:18 PM - 10 messages
In VS.NET 2005 there's no way to bind (two-way) ASP.NET controls to a typed-dataset. All binding is done against the new DataSource controls. I’ve got a tree tier architecture where data is transported through the tiers by ...
Status text
Tumurbaatar S. -
8 Nov 2005 10:30 AM - 3 messages
Anybody can recommend me a simple/short way to customize a status text of LinkButton. I heavely use LinkButtons and a default Javascipt code appearing at a browser's status bar looks not good. ...
Datagrid paging I lose my sort
cindy -
7 Nov 2005 10:40 PM - 5 messages
I have a ds from sql, datagrid has sorting true, 3 databound and 1 template column sort expression are the data values Does a sort and then I page to second pageand I lose the sort. How can I sort the data and then page the ...
FormView DataBinding in Insert mode
Anders Skoglund -
7 Nov 2005 3:16 PM - 2 messages
Hi, I'm using the FormView control in combination with an ObjectDataSource control to handle insert and update operations. The ObjectDataSource control has a DataObjectTypeName defined that stores the information for each field. When entering Insert Mode I would like to Bind the FormView control to get ...
Enter Key posts the Page
Prakash -
7 Nov 2005 12:37 PM - 3 messages
i am using a textbox and i need to popup a dialog on Enter Key, i have used javaScript for it.The pop-up is coming but the page gets posted.I am using asp:button to save the information in page.i have set tabindex and focus but ...
Hyperlink Control
chandra -
7 Nov 2005 11:09 AM - 2 messages
Hi, I am a newcomer in the asp .NET c# area. I really need some help here. I have two web page DEFAULT.ASPX and JOBCATEGORY.ASPX. Inside the DEFAULT.ASPX there are some webparts. There is a hyperlink control in one of the webparts that I generate using ...
Sorting only certain columns in datagrid
Cathryn Johns -
7 Nov 2005 10:26 AM - 3 messages
Hi I'm binding a dataset to my datagrid at runtime, and I want to allow sorting only on certain columns. How do I do this? If I set AllowSorting to true, all the column headers are underlined and ...
Error in DataList test query - aspnet 2.0
dennist685 -
7 Nov 2005 8:31 AM - 11 messages
Error in DataList test query - aspnet 2.0 I found some vs 2005 asp.net walkthroughs. The first I tried required Northwind. But sqlserver 2005 came with AdventureWorks, so I used that instead. I followed the walkthrough instructions, dragging a DataList to Design, and ...
Gridview Updates not writing to database after clicking update
Rickey Whitworth -
7 Nov 2005 1:08 AM - 7 messages
I have a gridview tied to a single table in a sql server database. I have created an update query on the datasource UPDATE dbo.PredefinedTasks SET PredefinedTask = @PredefinedTask, TaskFilterID = @TaskFilterID WHERE (PredefinedTaskID = @original_PredefinedTaskID) I have enabled the gridview for editing. When I click edit, i change the ...
Dynamically Adding DataLists
Nathan Sokalski -
6 Nov 2005 10:30 PM - 3 messages
I have a page on which I want to display several sections each of which contain a list of names. I have two database tables, one of which contains the section headings, and the other contains the names and which section ...
|
|||||||||||||||||||||||