Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score Gridview delete
L-E Eriksson - 30 Dec 2006 11:28 PM - 2 messages
Hello! I have a simple gridview. I am using stored procedures and a my own Data Access Layer. Now I want to delete a row. Gridview code: <asp:GridView ID="GridView1" runat="server"  AutoGenerateColumns=false AllowPaging="true" PageSize="5" DataKeyNames="KonsultID"> ...
Score Typing Markup Tags Ending in />
Nathan Sokalski - 30 Dec 2006 6:09 AM - 11 messages
I often use self-closing tags (such as <br/>) when creating an ASP.NET application. However, when I enter them in Visual Studio .NET 2005, it automatically inserts a space before the />. In most cases this does not ...
Score What is syntax for Eval(User.IsInRole) to return True/False To Vis
Morris Neuman - 29 Dec 2006 12:48 AM - 19 messages
I am trying to set the Visible property attribute of a asp:HyperLink control based on the user's membership role.  If the user role is administrator then I want to display the hyperlink, if not then I want the hyperlink to be ...
Score Create image web control adapter
hardieca - 28 Dec 2006 5:12 PM - 2 messages
Hi, I would like to create an adapter for the image web control to cure a pet peeve of mine. Currently, if I write out: <asp:Image ImageUrl="myPic.jpg" AlternateText="Some text" runat="server" /> the html that is emitted is: ...
Score how to use Click event with programmatically defined button?
Bob - 28 Dec 2006 3:26 PM - 5 messages
Hi, I'm working with VWD and i defined programmatically a button (in code-behind) with an ID. So I expect to see beside "Page Events" and "Form1" my button "b1" in order to use the Click event. But it doesnt' appear. After ...
Score Newbie Question: How Does One Access an Individual Field in a Record?
Rick - 27 Dec 2006 7:10 PM - 2 messages
I can connect to a sql server database, I can query the database, and I can display the results in a datalist, but how can I refer to an individual field from a query?  My query is from a sql command in a datasource. ...
Score Regular Expression Validator question
curious - 24 Dec 2006 2:37 PM - 2 messages
I am using a RegularExpressionValidator to validate a TextBox. I use "^[\+|-]?[0-9]+(\.[0-9]*)?$" to check for a real number. The control works fine as long as the user enters something in the TextBox; it does not work if ...
Score How to change the font style and size on the entire Aspx page programatically
technoGirl - 24 Dec 2006 5:35 AM - 9 messages
hey guys, I know it's crazy how I'm working over xmas...but oh well here I go: In my ASP.Net app (1.1), I want the user to be able to select font (such as Bold, Italic, underline) and stuff like that from a dropdown ...
Next »