|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ASP.NET web controlsmicrosoft.public.dotnet.framework.aspnet.webcontrols
ASP.NET 2.0 sort DataList without query again
hohans -
7 Jan 2006 12:57 AM - 5 messages
Hi All, In 2.0, how do you sort DataList without executing the query again? So far what I found in the Web all show examples where you need to re-execute the query against DB with passed in field name and sort ...
multiple itemtemplates datalist
krallabandi -
6 Jan 2006 9:27 PM - 2 messages
Hi, Can a datalist supports multiple itemtemplates? I want to have 2 itemtemplates in a single datalist. In 1st template I will display the data from one dataset and in another I will display data from 2nd dataset. Is it possible? any knowledge base article for this? ...
Making a CheckBox Read-Only
Andrew Chalk -
6 Jan 2006 8:52 PM - 3 messages
In ASP.NET v1.1, the checkbox does not have a "ReadOnly" property. How do I prevent a click on it changing the visual clicked state? Set enabled to false? Many thanks. ...
TypeConverter Question
Jamie Nordmeyer -
6 Jan 2006 7:00 PM - 3 messages
Hi all. I have a WebControl that has a collection class of objects who have a property whose type is Control. I've written a custom TypeConverter for it that is supposed to present the ID's of all the sited controls on the ...
Dynamically changing LinkButton properties
treilly via DotNetMonster.com -
6 Jan 2006 4:02 PM - 3 messages
I currently have several LinkButton controls contained inside a placeholder in my asp.net form. When a user clicks on any one of these, I need to change the clicked LinkButton's CssClass. I am trying to do this inside of the ...
ButtonColumn and EditCommandColumn don't work together as expected in DataGrid
Piotr -
6 Jan 2006 2:38 PM - 3 messages
Hi, I have a DataGrid with standard EditCommandColumn with PageIndex enabled. Everything works fine. When I add ButtonColumn <asp:ButtonColumn Text="Delete" HeaderText="" CommandName="Delete"/> ...
Panel Syntax
TC -
6 Jan 2006 3:01 AM - 5 messages
In the below example of code, What is the syntax to access the contents of TextBox1? Also, what is the syntax to iterate all occurrences of the TextBoxes? Thanks, TC <%@ Page Language="C#" AutoEventWireup="True" %> <html> ...
Dynamically show different web controls
Seok Bee -
6 Jan 2006 2:20 AM - 4 messages
Hi Experts, I am trying to create a web form insert a record into Microsoft Access database. In my web form I'll have a dropdown list. Let say my dropdown list will have 4 available options (New User, Others, Network). When I chose "New ...
Disable Button after click it
Guzman -
5 Jan 2006 10:32 PM - 7 messages
Hi, i want to disable a button after i click it, so the button it is not submited twice. The thing is that i'm working with the onclik event in the server side, and in the server side i disable the button, but sometimes the users click the ...
Hyperlink within a label
duncans -
5 Jan 2006 7:31 PM - 2 messages
I have seen a couple of posts that sort of aswer my question but I am feeling particularly dense in 2006. I want to have a 'label' that contains within it a link to another page. I could use a link button, I suppose, but I don't ...
WebControl Click Event Not Firing
Demetri -
5 Jan 2006 6:20 PM - 2 messages
I have created a web control that can be rendered as either a linkbutton or a button. It is a ConfirmButton control that allows a developer to force a user to confirm if they intended to click it such as when they do a delete. ...
Clearing textbox controls after postback
martinharvey via DotNetMonster.com -
5 Jan 2006 12:05 PM - 3 messages
This is probably a simple question but i would appreciate some help. I have a registration page that uploads customer information to the database. The information is uploading ok but the customer information stays in the textboxes after the information is uploaded. ...
Dynamically load webcontrol
Allan Ebdrup -
5 Jan 2006 7:49 AM - 9 messages
Hi I have a scenario where I have a webcontrol on an ASP.Net 2.0 page, in some cases I want to dynamically load another webcontrol instead of the control I have. I want to load one of several possible webcontrols instead, and I ...
control refresh
AVL -
5 Jan 2006 5:57 AM - 2 messages
Hi, I have a requirement in which I need to refresh a single control instead of teh whole web page. How can I do this asp.net 1.0? ...
DynamicMenuItemStyle override style (cursor:text)
bradjoss -
4 Jan 2006 9:44 PM - 2 messages
I am using the DynamicMenuItemStyle element and all seems to be going well, except that I have a custom CSSClass associated with the item that has styles being overwritten by the default style of the item. In the case below, this is the code that is ultimately generated. My ...
dropdownlists, their items and viewstate
Dave Weeden -
4 Jan 2006 7:32 PM - 3 messages
Hi all, I have a strange issue with dropdown items that I'm trying to understand. We use dropdowns in three contexts: 1) directly specified in an aspx file 2) dynamically added to the controls collection of a server side table cell ...
RowCommand - item index?
SteveR -
4 Jan 2006 4:47 PM - 2 messages
I've just started experimenting with VS2005. I have a GridView with a command button in it. When I click the button the RowCommand event fires but how do I find out which row it was that caused it? In VS2003 I used e.Item.ItemIndex ...
I really need to get this working......
Pipo -
4 Jan 2006 4:26 PM - 5 messages
The problem: I create a very simple custom control: public class cLabel : System.Web.UI.WebControls.Label { } I place the cLabel in a user control. When I place the user control on a page I get this exception: Error Rendering Control - cLabel ...
WEB controls do not show on the web page
Doru Roman -
4 Jan 2006 4:23 PM - 3 messages
Hi, I place a number of WEB Controls on the form but they do not show. It's only the HTML controls that will show on the web page. Does anybody know what is wrong? Thanks, Doru ...
control's default values?
Daves -
4 Jan 2006 11:13 AM - 2 messages
where can I find a control's default value? For example "CausesValidation" and "Visible" attribute? ...
HTML editor for Safari browser
Dennieku -
3 Jan 2006 10:59 PM - 4 messages
Hi, I want to make a little WYSIWYG editor for a CMS I'm developing. This editor must also be supported by the Safari (Mac) browser. Does anybody have a little script to show how this is done? Thx, Dennieku ...
Where in the viewstate is a GridView's rows?
Keith Patrick -
3 Jan 2006 10:38 PM - 5 messages
I'm trying to track down a problem where a dynamic gridview I have is not restoring its rows correctly. Stepping into a derived GridView, I've found that the GV *is* getting a viewstate passed to LoadViewState with the ...
How to deselect item on single select listbox?
rpress -
3 Jan 2006 9:27 PM - 6 messages
In a multi-select listbox one may deselect items, but this does not work in a single select listbox. Has anyone come across a way to do this? (deselect so that no items are selected) Thanks ...
control exposing collection.
Ashish -
3 Jan 2006 9:19 PM - 6 messages
Hi all, Iam trying to design a web server control using asp.net 2.0, that has a collection exposed. so that user can specify list elements in the markup. like <uc1:MyControl id="Mycontrol1" runat="server" property1="value"> ...
Customizing a TreeNode's viewstate
Keith Patrick -
3 Jan 2006 3:38 PM - 3 messages
I have a custom subclass of TreeNode that has to store it's own additional viewstate to itself. However, the problem I run into is that even though the owning TreeView is itself a subclass that overrides CreateNode(), then ...
ImageButton in a datagrid. How do I determine on which row I am?
ThunderMusic -
3 Jan 2006 3:08 PM - 2 messages
Hi, I have an ImageButton in a DataGrid (each row has it's ImageButton). When I click on this ImageButton, I must delete a row in my database. As a result, I must know on which ImageButton the user clicked (well, on which row). How ...
link on an entire row in a datagrid
ThunderMusic -
3 Jan 2006 2:37 PM - 6 messages
Hi, In my page, I have a datagrid. I want a link to be "bound" to the entire row. How can I do that? I have my datagrid, my colums and all, but how do I add the link so when I click on anything in the row, it does something ...
Expose childcontrols
ake_krakbar -
3 Jan 2006 1:52 PM - 2 messages
Hello folks! Is there any way of exposing all child controls in a composite control
in the Visual Studio Designer? If my composite control consists of a
label and a textbox, I would provide the ability for the page user to
select either one of these child controls and set its properties. I
have looked through the net 2 Designer classes but found nothing
useful.... ...
Remove Dynamic User Controls from a collection
Stephan B -
3 Jan 2006 9:19 AM - 4 messages
Hi, for some reason I cannot find my yesterdays post, so here is an other try. I have got some Dynamic User Controls (UC's) on my page. The user can add as many as he likes by clicking a button. This all ...
Gridview - Accessing a field value in current row
Joe Reiss -
3 Jan 2006 12:51 AM - 4 messages
Hi all, I can currently access a row value using the following: GridViewRow g = g.Rows[1]; string s = g.Cells[1].Text; However, I need this particular field to be invisible. I only put it in the grid because I need to do stuff with its value, but, the user doesn't need ...
Retrieving the value of the identity field of a newly inserted record?
Craig -
2 Jan 2006 9:12 PM - 2 messages
In ASP.NET 2.0 and the formview control how do you get the value of the identity field of a newly inserted record? In ASP.NET 1.1 after the new record was saved you just said intNewIdentityID = Dataset.tblMtTable.IndentityID ...
Any hints on how to do frames in ASP.Net 2.0?
Jim -
1 Jan 2006 3:08 AM - 12 messages
What would be cool as hell, would be a designer interface like Dreamweaver - with drag and drop elements like frames and such. Why isn't ASP.Net as easy to use as Dreamweaver. Certainly Microsoft has looked at them (if nothing more than as competition for FrontPage). What ...
|
|||||||||||||||||||||||