|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ASP.NET web controlsmicrosoft.public.dotnet.framework.aspnet.webcontrols
RequiredFieldValidator - only for 1 button
David Thielen -
27 May 2006 11:15 PM - 8 messages
Hi; I have 4 buttons in a form. For 1 button, no validation occurs (works fine). For 2 buttons, every field except 1 text box needs to be validated. For the 4th button, all fields including the text box need to be validated. ...
Convert \n to ? in label
David Thielen -
27 May 2006 9:40 PM - 3 messages
Hi; I have a database field that I will initialize a label with. I want anything in the text in the database such as <>& to be turned in to <, etc. But I do need to have any \n to become a <br> or whatever is appropiate in a label. ...
how to update a primary key in a gridview?
Dan -
27 May 2006 8:42 PM - 4 messages
Hi, I defined a gridview with an UpdateCommand. When i click on 'update' i can update all fields excepted the primary key. Is there any way to make it possible? (I use Access and when runing a update-query in Access, i can also update ...
ObjectDataSource and ViewState
Giorgio Parmeggiani -
27 May 2006 3:55 PM - 4 messages
Hi I have in a ASPX page a ObjectDataSource and a GridView I have also a web control for filter the grid rows. The webcontrol have a public property to define a filter. This property is a custom object not ...
how to center a button in vb.net?
Dan -
26 May 2006 9:37 AM - 3 messages
Hi, In the aspx file, there is a form (form1) created. I created a button in the code-behind file like this: Dim b As Button b = New Button form1.Controls.Add(b) But i want to center the button. ...
CascadingDropDown
Vittorio Pavesi -
26 May 2006 8:39 AM - 3 messages
Hello, I need to implement a page with CascadingDropDown Atlas control bound to a SQL table possibly using vb.net. Have you got any example or links ? Thanks Vittorio Pavesi ------------------------------------ [link] ...
ASP.NET Datagrid columns question.
jjeffers1 -
25 May 2006 8:54 PM - 3 messages
Sorry for crossposting but I'm not sure which group is more active. I am having problems getting a reference to a column in an auto-generated asp.net datagid in VS.Net 2003. I remember reading a while back that if the columns are autogenerated then a datagrid cannot ...
Get full url from relative url
David Thielen -
25 May 2006 8:28 PM - 3 messages
Hi; In the code behind of a control, how can I convert "~/report.aspx" to "[link]"? ...
GridView like Excel
DuneMan -
25 May 2006 5:38 PM - 4 messages
I need help with goading GridView to shape-shift into Excel. First one to provide a usable answer gets 4096 ataboys! .. and if you are at TechEd, I'll buy you a cappuccino (that's funny, I thought they were free!^) ...
Refreshing web-control in designer
hammad.awan_nospam@gmail.com -
25 May 2006 1:52 PM - 2 messages
Hello, I have a web control I have developed that is derived from composite control. On it, I have a property that is called IsBlahBlahVisibile. When this property changes, it is supposed to hide or show a control that is contained by it. I have associated a CompositeControlDesigner ...
Disable item in a RadioButtonList
Ben -
25 May 2006 9:59 AM - 5 messages
Hello there, Is it possible to disable an item in a RadioButtonList? For eg. rblType.Items.Add (new ListItem ("one" )); rblType.Items.Add (new ListItem ("two" )); rblType.Items.Add (new ListItem ("three" )); disable selection on item 1 & 3. Thanks, ...
does .NET 2.0 button support "onmouseover"?
Rob R. Ainscough -
24 May 2006 10:38 PM - 2 messages
And is there any reference doc/material I can use to determine what events the .NET 2.0 controls support? thanks, Rob. ...
response.redirect not working - HELP!
ODAN -
24 May 2006 8:41 PM - 3 messages
We are testing a ASP.NET application in Visual Studion 2003 and written in C#. One of the pages that register new users on this application fails to redirect to another page when the button is clicked. On the page there is a ...
MS Treeview Simulating TreeGrid
Stevendm <> -
24 May 2006 8:09 PM - 2 messages
I have been given a task to take the Microsoft TreeGrid in ASP.Net 2.0 and simulate a TreeGrid. In this effort, each row of the tree display must have text left justified and 3 icons right justified on the row. The three icons ...
aspx file in custom control.
Deepson Thomas -
24 May 2006 1:23 PM - 2 messages
Hi, Hi, Currently I am creating a custom popup control for web applications. In that I am using an ASPX page in the ModalDialog to show the messages and dynamic buttons for the popup. Whatz my doubt is, is it possible to add and use an ASPX or webform in a ...
Lostfocus event in textbox
Annie -
24 May 2006 12:47 PM - 5 messages
hello guys, I am using asp.net 2 and I only can see it has got a textchanged event. How can i implemnet the lostfocus event for a text in asp.net? Any examples will be appreciated thanks ...
standard input controls
Peter Kirk -
24 May 2006 12:23 PM - 3 messages
Hi are there "user controls" available for input fields - for example an integer field, a date field, a string field - which provide properties like a label, max length, and validation functions etc for the data? Thanks, Peter ...
FormView and DropDownList
Maciejka -
24 May 2006 10:09 AM - 2 messages
I have a problem with formviews and DropDownLists in ASP.NET 2.0. I'm using a formview to insert an order into a database. Part of the order is a Driver's name. Currently, I have a dropdownlist bound to a ...
Expert advice needed on some strange event handling
Tony -
24 May 2006 9:10 AM - 4 messages
I have a WebApp with 3 text boxes and 1 button, as described below. Can someone please explain why the bad scenarios are occurring and better still if they can be prevented or worked-around? Please excuse my lengthy message. ...
how EnableSortingAndPagingCallbacks works?
xchen.kevin -
24 May 2006 6:28 AM - 2 messages
I am starting to study ASP.net20.I met a problem today.As we know,Gridview control can perform paging and sorting function without refresh by set EnableSortingAndPagingCallbacks True.I wonder how to get it and what's the mechanism? ...
Progress bar web form file.add BEGINNER
cindy -
23 May 2006 11:13 PM - 3 messages
I cannot see how to use progressbar when I programmatically add file to Windows SharePoint Services document library Code that adds file SPWeb site; FileInfo TheFile = new FileInfo(StrFullFileName); FileStream fStream = File.OpenRead(StrFullFileName); byte[] contents = new byte[fStream.Length]; ...
Getting htc files from ressources in ASP.NET 2
WT -
23 May 2006 4:46 PM - 3 messages
Hello, Is it possible to get an htc file from a resource using ClientScript.GetWebResourceUrl(rsType, htc_fileName); et setting this value in the implementation attibute ? It doesn't seems to work. Thanks for help ...
'return false' in linkbutton javascript stops the script from running
crferguson@gmail.com -
23 May 2006 2:58 PM - 4 messages
Hello all! I'm thinking this one has probably been beaten to death in the past, but I can't find an answer to this specific issue I'm having with a javascript attached to a linkbutton. What I'm doing is I have a page with a dozen or so linkbuttons on it. ...
why a selectbutton in gridview?
Dan -
23 May 2006 2:48 PM - 10 messages
Hi, I made a gridview with ShowSelectButton="True", so the user can see and click on that button, but all it does is to select that row. What's the purpose of it? Thanks Dan ...
need help on user controls
AVL -
23 May 2006 11:22 AM - 2 messages
hi, I've a problem in accessing user controls when I deploy the application in the production server.. I'm receiving the following error... Ambiguous match found. Source Error: Line 1: <%@ Control Language="c#" AutoEventWireup="false" Codebehind="CommViewEvents.ascx.cs" ...
how to get a short-date with gridview?
Dan -
23 May 2006 11:08 AM - 4 messages
Hi, I defined a gridview which must fetch a date field in Access. In the table, the date are e.g. 05/06/2006, but the gridview gives 05/06/2006 0:00:00. I couldn't find the property to get the short date. ...
minimize WebParts
Pamela Li -
23 May 2006 10:45 AM - 5 messages
Hello, How do I program it so that the page starts with the webpart minimized? Thanks. ...
installing another Web Site Project inside my existing VS2005 website project
Rob Dob -
23 May 2006 5:10 AM - 3 messages
Hi, How do I go about installing another Web Site Project inside my existing VS2005 website project. I currently have both a forum WSP and my main WSP application within the same solution. Both compile and run without error. ...
Conditional Custom Control & White Spaces
Dil -
22 May 2006 2:31 PM - 2 messages
Hi all I'm using conditional controls for show/hide the panels inside my web pages. I have created a custom control for doing the same. Its working fine. I have removed the panels. But the HTML page contains white spaces which will decreas the ...
Composite Control Losing events.
Ashish -
22 May 2006 1:53 AM - 4 messages
HI all, I have been battling with this problem with some time now, now iam out of ideas what to do basically iam planning a tab control in which page developers can define tab abd tabelements on the page, and i can render a table with one row ...
Order of events, databinding, and UserControls
Nathan Sokalski -
21 May 2006 7:34 PM - 10 messages
I have a very simple UserControl which contains an Image and a Label, which I use to display an image with a caption. I am using this control inside a DataList, setting the two Public variables using attributes in the *.aspx ...
checkbox list and radio button list
puja -
21 May 2006 6:59 AM - 2 messages
hi all, I have a form which has checkbox list which has items as below 1) Input 1 2) Input 2 3) Input 3 4) Input 4 5) Input 5 Now if user selects Input2 and Input5 and goes to next page and then comes ...
Display order of the Columns of a GridView possible?
Jack -
21 May 2006 5:48 AM - 3 messages
Hello, I've got the Gridview control working displaying two fields from my database, but the fields are displayed horizontally next to each other. How can I display my 'text' underneath my 'image'? I've looked at the propertires of the columns (via the 'Edit Columns' ...
Determining whether the current item is the last one from inside ItemDataBound
Nathan Sokalski -
21 May 2006 2:17 AM - 6 messages
I have a control that I want displayed in all items except the last one. I figured the best way to do this was to determine whether the current item was the last from within the ItemDataBound event using code such as the ...
DataList.DeleteCommand event is not getting fired
Nathan Sokalski -
21 May 2006 1:37 AM - 5 messages
I have a DataList that has an Button as one of the controls in it's ItemTemplate. The Button has a CommandName="delete" attribute, but when I click it the DeleteCommand event doesn't even get fired. I have checked ...
|
|||||||||||||||||||||||