Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score How to Catch exception for GridView control?
kai - 28 Jan 2006 2:13 PM - 5 messages
Hi,   I placed a Gridview control on a ASP.NET 2.0 page and enabled the "Delete", "Edit" . I want to do "Try Catch" on "Delete" and "Edit" button in the GridView but don't find the place to put the code. Please help. ...
Score DropDownList resets selectedIndex on postback
Juan Puebla - 28 Jan 2006 11:24 AM - 3 messages
Hi, I have a dropdownlist (ddL). When I run the app and I try to select an item it alsways get selected the first item. I fill the ddl on pageload with: "if not ispostback" statement. Function that fills the ddl: ...
Score VS 2005 control with sql 2000
krebs44 - 27 Jan 2006 7:23 PM - 2 messages
Hey, I have created a web app that uses the new login controls with vs 2005 but on my web server i have sql2000 installed on it and i know the login control must use sql 2005 or the express edition.  Does anyone ...
Score Strange behavior with gridview and selectedindex
jordo - 27 Jan 2006 5:09 PM - 3 messages
Hello there, I have an asp.net 2.0 web app that uses gridview and formview. When a user selects an item in the gridview the formview appears to show the detail. This works quite well. However, I'd also like the formview to be displayed ...
Score Date masked textbox for user input
Erik - 27 Jan 2006 3:57 PM - 5 messages
Good Morning, I have some users which are having difficulty entering dates in the format MM/DD/YYYY.  I validate the user's entry, but have been asked to research masking the textbox so the users entry will automatically display as ...
Score ASP.NET 2.0 Databind during Client Callback
jslaybaugh - 27 Jan 2006 3:17 PM - 3 messages
I am trying to bind to a GridView or DetailsView after a callback using the ClientCallback Manager in the new .NET 2.0 framework.  See below for the HTML followed by the VB code: <html xmlns="http://www.w3.org/1999/xhtml" > ...
Score CheckboxList problem
Jeppe Jespersen - 27 Jan 2006 12:47 PM - 2 messages
Checkout a little 3-minuter video i made, illustrating my problem. [link] Any ideas? Jeppe ...
Score need help in web user control
yoshitha - 27 Jan 2006 12:39 PM - 3 messages
hi i've developed web user control using C#.net here is the code <%@ Control Language="c#" AutoEventWireup="false" Codebehind="TeachingStaff.ascx.cs" Inherits="SchoolAdmin.TeachingStaff" TargetSchema="[link]"%> <% strFtype= Session["Ftype"].ToString(); ...
Score Absolute Positioning in Web User Controls
stefanjohansson_2005 - 27 Jan 2006 9:14 AM - 3 messages
I used to place a GridLayoutPanel in the User Control to get an absolute position. How do I do this in Visual Studio 2005? Absolute position under Layout - Position - Auto Position Options in the meny does not work since the position should be relative to the User Control ...
Score Master Detail Event Handling?
bernadou - 27 Jan 2006 2:09 AM - 5 messages
I’m trying to use the DataList and GridView to accomplish a Parent (or master), child  type of display (I’ve got that part), but I can’t seem to figure out how to handle events for the child GridView.  The display looks ...
Score Problem with FindControl
Wayne Wengert - 26 Jan 2006 9:16 PM - 3 messages
I am attempting to check the status of a login (Login1) which is containted within a login view (lv1) using the following code but each of the 2 Dim statements get flagged with"End of Statement expected"? What is the correct ...
Score How to turn off padding within a Web Part?
Terry Smith - 26 Jan 2006 5:03 PM - 4 messages
Web parts are automatically generated with 5px of padding within their container. This gets specified in the style attribute of one of the TD tags. There are no properties to turn this off that I have found, and since the ...
Score Hide show asp table
Rod - 26 Jan 2006 3:08 PM - 3 messages
Hi! I have the following <table> in my webform.aspx : <table id="Tbllist" border="0" style="Display: none"></table> In the form there is a button called "btnlist". On the "btn_list_click" event I would to "show" the table above. ...
Score DropDown List
JD - 26 Jan 2006 1:16 PM - 3 messages
I am trying to see up a drop down list so that the key value is set up as follow(s) <option value="id|description">description</option> where id and description are values that are pulled back from the database, I know I have seen this ...
Score DataSourceID '<NewDataSource ...>' not working in composite contro
Christophe Peillet - 26 Jan 2006 10:34 AM - 4 messages
I am trying to add databinding support to some composite controls, and have everything working in the relevant properties (DataTextField, etc.), including that DataSourceID properly lists all valid datasources on the page. However, when I choose '<NewDataSource...>', the wizard doesn't fire, and ...
Score Global Themes Folder Missing
Phred Menyhert - 26 Jan 2006 4:42 AM - 6 messages
During the installation of Visual Studio 2005 and .NET Framework 2.0, apparently a Global Themes folder is supposed to be installed under WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETClientFiles. This folder doesn't appear to have been installed during my installation of ...
Score Gridview not updating database row
Eric - 26 Jan 2006 12:29 AM - 5 messages
I've meticulously set up gridview controls both with the wizard and programmatically, using a sqldatasource and can not get the update command to pass the new column value to the database, it always passes the original value, thus no update occurs.  I've run traces with SQL profiler, and the ...
Score menu webcontrol
Kaplan Dani - 25 Jan 2006 7:54 PM - 3 messages
I'm using this control in asp.net 2.0 (vs2005) after I change the "dir" of my page to : rtl (right to left) the menu moved alright to the other side, but, the subitems, apearse in there original position, in the middle of the screen now, not even close to the new location of their parent node... another question - how do I make the balck arrow go away from the parent node.... Thanks, Dani ...
Score Viewstate and Master page with programmatically created content
timpera2501 - 25 Jan 2006 6:41 PM - 2 messages
I am considering designing a page where all the controls on the page are created programmatically. I read the MSDN Library article at [link] ...
Score Script edit server control
Bill Youngman - 25 Jan 2006 6:09 PM - 3 messages
Does anybody know where I can get my hands on a script editor server control? I have developed a web app that includes an "editor" (textarea control) in it and I have to use that term very loosely because all it does is display ...
Score multiview
anat - 25 Jan 2006 5:19 PM - 3 messages
How do I change the size (width & hight) of the multiview and view controls? I want to use them as tabstrip. In their properties the size elements do not appear. --anat ...
Score TreeView Security error
djoledjole - 25 Jan 2006 1:28 PM - 4 messages
I have got one really simple website in which I use Treeview web control . I can not host that webSite on my Internet provider because of Security error. Server Error in '/' Application. -------------------------------------------------------------------------------- Security Exception Description: The application attempted to perform an ...
Score Catching event in Menu control when bound with sitemap
Shem - 25 Jan 2006 11:51 AM - 3 messages
Hi Folks, I am running 2005 c# and I have dynaically built a site map which is autobound to a menu control, but for whatever reasons, i now cannot catch the menu_click event. I think this is maybe due to the fact that the sitemap ...
Score .NET multi-column listbox for webpages?
Thomas Phaneuf - 25 Jan 2006 4:51 AM - 5 messages
To all: Does anyone know where/how I can get a multi-column listbox object for webpages in .NET. I have seen it implemented using Java -- so I am thinking that somewhere somehow someone clever has found a way to do it using .NET. ...
Score These controls are a real mess
GaryDean - 25 Jan 2006 1:51 AM - 8 messages
After learning about these controls I go to the MSDN site that is supposed to provide download capability.  The link to download is no longer a link so they can't be downloaded.  I spend a few hours looking in all of the forums ...
Score Menu Control building via code
Shem - 24 Jan 2006 6:26 PM - 4 messages
Has anybody built a menu control via a hierarchical structure in a database. If so could you please help me out. I want to get a structure from a db then build the menu up on the fly. Any examples would be great. ...
Score Other browsers
Tina - 24 Jan 2006 5:42 PM - 2 messages
Do these webconrols only work with I.E. browsers? Thanks, T ...
Score javascript within TEMPLATECOLUMNS
Brian Lorraine - 24 Jan 2006 1:58 AM - 2 messages
I've learned how to add javascript to a web control in .NET using the ".Attributes.Add" method. example: MYBUTTON.Attributes.add("onClick", "blablafunction") I'm having a problem adding javascript to a control that is inside a TEMPLATE COLUMN of a datagrid. The name of my button is "button1". Because it ...
Score Persisting ListItemCollection values across postback, using ViewSt
Christophe Peillet - 23 Jan 2006 4:36 PM - 4 messages
I have a series of composite controls to replace most common form controls (adding Ajax support and a built in validator), and have all of the simple controls working (textbox, checkbox, button, etc.), but have an issue with Viewstate and Postback when it comes to ListItem based controls ...
Score edit single record in formview
Phil - 23 Jan 2006 4:03 PM - 4 messages
i want to return a selected record through output parameters in a stored proc and bind them to a formview; is this possible and how should it be done?  currently i'm using a stored proced that essentially returns a set of data ...
Score Format telephone number??
bernadou - 22 Jan 2006 6:01 PM - 3 messages
Ok, this is yet again one of those things that is driving me crazy.  How do I use a formatting expression to format a number?  Here's what I'm trying, but, it isn't working. Text='<%# Eval("fldPhone", "(###)-###-####") %>' ...
Score Force multi line field value to output with line breaks?
bernadou - 22 Jan 2006 4:48 PM - 3 messages
I have a field value that might look like this in the db First Line Second Line Third Line When I query the data and output that data to a label in my gridveiw it looks like this: First Line Second Line Third Line ...
Next »