|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ASP.NET web controlsmicrosoft.public.dotnet.framework.aspnet.webcontrols
Trouble with validator control ? Script not found
Infante - GIGA -
24 Mar 2006 6:22 PM - 4 messages
Hi, I have this problem: if I use the application (web application with html forms) on the development machine or locally on the production server everything works fine If I call the pages from a browser (e.g. IE6) from another pc, internal on ...
Trouble with validator control ? script not found
Infante - GIGA -
24 Mar 2006 6:21 PM - 2 messages
Hi, I have this problem: if I use the application (web application with html forms) on the development machine or locally on the production server everything works fine If I call the pages from a browser (e.g. IE6) from another pc, internal on ...
Is there a free .GIF software?
Doru Roman -
24 Mar 2006 5:03 PM - 5 messages
Hi, Is there a free software to generate .GIF files? If not, what is recommended? Thanks, Doru ...
Adding AutoPostBack to a webcontrol
Thomas Jespersen -
24 Mar 2006 3:14 PM - 3 messages
Hi I have a webcontrol, which has a DropDownList and some other controls. I want to enable AutoPostBack on the DropDownList, but can't figure out how to do it. I tried setting myDropDownlist.AutoPostBack = true, but it doesn't make any ...
Changing RadioButton's NAme and ID properties using vb.net
Savas Ates -
24 Mar 2006 9:03 AM - 2 messages
I want to change my radiobutton's name ,id and value properties programmatically. RadioButton1.Attributes.Add("value", "Pele") RadioButton1.Attributes.Add("name", "R1") RadioButton1.Attributes.Add("id", "SAVAS") It returns <span name="R1" id="SAVAS" style="Z-INDEX: 101; LEFT: 8px; POSITION: ...
Gridview and listbox
AKJTR -
24 Mar 2006 1:58 AM - 2 messages
I have a one to many sql query and would like to show the many in a listbox in a gridview with the row showing the one record. I know how to get the data intoa gridview but can't figure out how to get the data into a listbox ...
ASP.NET 2.0 DataView DetailsView ImageField displaying images from
whyman -
23 Mar 2006 6:45 PM - 5 messages
I have read several documents that use Imagefield and DataField in the examples in Visual Studio 2005. I am new to Visual Studio, so I am going through tutorials, and code I find from the internet. Code from Microsofts ...
Filtering the Asp:FileUpload control
JeffDotNet -
23 Mar 2006 4:22 PM - 2 messages
My users need to upload a specific type of file and I would like to assist them in finding the appropriate file. I don’t believe there is an out of the box way to filter the files that will be listed in the browsers file browser ...
Asp.Net 2.0 Bug
Amelyan -
23 Mar 2006 4:04 PM - 2 messages
Testers getting this exception 1% of the time they click button on the page. This happens in both IE6.0 and FireFox1.5. Any ideas? System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Invalid ...
ObjectDataSource, GridView and ItemTemplate
Mogens Nielsen - Elbek & Vejrup A/S -
23 Mar 2006 2:16 PM - 5 messages
Hi all, I'm currently experimenting with the all new GridView. I have made an objectDataSource bound to one of my business entities. In the presentation layer I now wish to use the GridView and make an ItemTemplate. However I can't seem to find out how to access the properties ...
NullReferenceException With Different Register Directive
Marvin Massih -
23 Mar 2006 10:21 AM - 3 messages
Hello, I have written a user control using .NET 1.1 and have had some trouble. But to make sure it's not a problem with my code I have had the designer (VS.NET 2003) create a new user control for me and include that in a new ...
pop-up browser persist data back to parent page code-behind
David Thielen -
23 Mar 2006 3:59 AM - 8 messages
Hi; Here is what I want to do. On my main page there will be a button that says "Get File" pressing that pops up a second browser window with a FileUpload control in it. The user selects a file and then presses submit in this popup ...
Access property and control of master page from a customized parent page class
RedHair -
22 Mar 2006 9:34 PM - 5 messages
I have a ASP.NET 2.0 web page which inherits a customized base page class and have a master page, their relation is as below Customized base page class --> web page --> master page How to access the property and control of master page from the customized ...
MasterPage - ContentPlaceHolder - How to navigate to the ContentPlaceHolder "Child Page"
Greg -
22 Mar 2006 8:32 PM - 2 messages
How do I programmatically load an .aspx page into the contentplaceholder? Similar to what would happen in the "navigateURL" property when clicking on a hyperlink on the master page. . . ASP .NET 2.0 Thanks, Greg ...
Navigation Menu Site Map Difficulties
Allen Racho -
22 Mar 2006 8:14 PM - 3 messages
Hello, all! Great to find this resource. I have an asp:Menu control on a page that gets its data from a SiteMapDataSource (which in turn draws data from a SQL Server). Everything works well, as expected, WRT normal navigation menu operation. ...
Web Part Titles
Philip -
22 Mar 2006 7:27 PM - 2 messages
I am using Web Zones and Web Parts. Is it mandatory that there be a Web Part title property ?.... if I set the Web Part title to spaces then the Web Parts Manager adds a numeric suffix to each Web Part title. ...
AccessibleHeaderText property
mt -
22 Mar 2006 3:16 PM - 2 messages
Hi I set some text to the AccessibleHeaderText property of the bound field (GridView and Detailsview). But this text does not seem to be read by the screen reader. Am I missing something here? I'm using the JAWS screen reader. It reads the header label but not the text ...
WebPart and WebPartZones Usage
karthick -
22 Mar 2006 1:40 PM - 3 messages
I am using the following layout for my pages. <asp:content> <asp:Wizard> </asp:Wizard> <HeaderTemplate> <asp:WebPartZone> <ZoneTemplate> <asp:gridview /> </ZoneTemplate> </asp:WebPartZone> ...
CustomControl and body.onload
Ernest Morariu -
22 Mar 2006 1:22 PM - 2 messages
Hi All ! I subclassed a Label control(ASP2.0) . How to modify(form inside my control) the attribute onload of the <body> of the page where my control resides? I need the browser to execute a javascript function(when the page loads) ...
How do change layout od SideBar in Wizard control? (ASP.NET 2.0)
placek -
22 Mar 2006 7:27 AM - 5 messages
Hi all. On my page I have some Wizard control with four steps. Unfortunately by default these steps are displayed in sidebar as links. I do not want give users possibility to skip some steps by clicking on some of these ...
FileUpload - keep the filename
David Thielen -
22 Mar 2006 4:23 AM - 6 messages
Hi; When there is a post to my code behind, if I read the FileUpload file, the filename disappears from the control. How can I keep the filename in the control so the user doesn't think it's gone? ...
Alignment of webcontrols...
Coleen -
21 Mar 2006 11:56 PM - 5 messages
Using Vb.Net v1.1, I have several aspx controls (textboxes, listboxes, dropdown lists) that I need to align the text within the control... I've tried: lst.Attributes.Add("style", "text-align: center;") in the code-behind, and it does not work. I have also tried setting the ...
How to add client script to a pushbutton in datagrid
VancouverMike -
21 Mar 2006 10:49 PM - 6 messages
Hi there, I hope I post this question to a right place. If not, please let me know. I am using a datagrid in my asp.net web app to show a user list. I put a pushbutton (could be linkbutton as well) for each row in the grid. I would ...
How do I get custom ITemplate to be recognized.
Todd Burry -
21 Mar 2006 9:48 PM - 2 messages
I created a custom Repeater control that works basically just like the standard Repeater control and it works fine. However, when editing the aspx page I cannot get intellisense in any of the items and get the following error on the control: ...
Intellisense question
Terry On Windigo -
21 Mar 2006 8:15 PM - 3 messages
When I don't know all of the available properties of a control, 1) Is there anything I can do to make intellisense popup? and 2) Failing I don't have any luck with Intellisense, is there somewhere I can go to see all the ...
GridView disapears after entering edit mode.
Michael -
21 Mar 2006 7:00 PM - 5 messages
Hi Everyone, I'm having a problem with the gridview control. When I click on the edit link, the grid disapears and don't come back, until I restart the page. I have setup the grid as such: <asp:GridView ID="grdPOs" runat="server" AllowPaging="True" ...
ObjectDataSource method as another ObjectDataSource
David Thielen -
21 Mar 2006 6:43 PM - 4 messages
Hi; I have an ObjectDataSource and one of it's methods returns a collection that I want to use as a second ObjectDataSource. Is there a way to do this? ...
put control in a repeater cell from code behind
David Thielen -
21 Mar 2006 6:43 PM - 2 messages
Hi; I have a repeater block where the number of rows and the value of the first column come from the data bound to the repeater control. But I need a second column in the table where I place a control from my code behind. ...
Problem with DropDownList
APatel -
21 Mar 2006 6:41 PM - 2 messages
DropDownList is automatically trimming the string but i wanted to append the space with the string value in the dropdownlist (C# ASP.NET). Is there any way to add space since the dropdownlist automatically trims the stringvariable ? Following are the things which i already tried : ...
Master Page - File References
Philip -
21 Mar 2006 1:40 PM - 2 messages
I have my master page located in my base application virtual directory. I am also using the same master page from aspx files within lower level subfolders. To references images from within the master page I am attempting ...
Horizontal Menu Navigation Web Control - Spaces Between Menu Items
Philip -
21 Mar 2006 1:27 PM - 2 messages
I am using the Menu navigation web control to display a horizontal menu from the web.sitemap. I am trying to figure out how to embed several spaces between the top level menu options. I am using the StaticItemFormatString (such as "{0} " to attempt to attach ...
Master/Details cloning a record?
woodfoot -
21 Mar 2006 1:18 PM - 6 messages
I would like to add a button to my Gridview so that when I click it, it prepopulates a Formview template with that record's data so that the user can make changes where necessary. They then would be able to press a button on ...
Refreshing TreeView
Ira -
21 Mar 2006 1:42 AM - 3 messages
Hello . I have a question about Microsoft TreeView Web Control . How can I refresh the TreeView ? I am getting TreeView Nodes from Microsoft Sqlserver database I want to say that , I can`t refresh TreeView after adding a new row to ...
Bind data to control inside a Repeater
David Thielen -
20 Mar 2006 11:20 PM - 7 messages
Hi; This is one of those things that I thought would be easy - but can't get it to work and can't find anything through google. Inside a Repeater tag I have a CheckBox, DropDownList, and a TextBox. I have ...
I need to get row data from GridView on .NET 2.0
Cristian -
20 Mar 2006 10:51 PM - 2 messages
I´m using a GridView to show some data from a database. I would like to show in another control the data from a row I selected on the grid view. I´m using the event SelectedIndexChanged but I can´t get the data directly. Please, ...
CrossPage Posting and the How Do I Webcast
Marcial -
20 Mar 2006 9:27 PM - 3 messages
The following code is supposed to allow me to capture some label.text values from a preceeding page. I have placed a link button control on "source page" and configured the PostbackUrl property to point to the "destination page". ...
FileUpload name goes away
David Thielen -
20 Mar 2006 7:41 PM - 2 messages
Hi; When my codebehind is called, the filename in the FileUpload control goes away. Is there a way to keep it there? ...
Major problem with FileUpload if bad filename
David Thielen -
20 Mar 2006 7:29 PM - 21 messages
Hi; If the FileUpload has a bad filename, the code behind does not get called on a submit but there is no error message. How can I get an error message? ...
FormView - FindControl only works for default view
David Thielen -
20 Mar 2006 6:27 PM - 6 messages
Hi; I have the following two lines in my code-behind: object o = DataSourceItemView.FindControl("DataTitle"); // in <ItemTemplate> o = DataSourceItemView.FindControl("NewButton"); // in <InsertItemTemplate> When I run the first returns the control and the second returns null. ...
repeater control - change the background color depending on a value
bill -
20 Mar 2006 5:02 PM - 3 messages
How can I change the background color of a repeater item based on the value of a control? I saw the helpful post from Philip Williams, and I can change the appearance of a single control, but I need the entire item to have a different ...
DataList question
sameer -
20 Mar 2006 4:59 PM - 3 messages
Hi All, Environment: ASP.Net , framework 1.1, VS2003. Database: Sql server 2000 I have an MS DATALIST which has Item Templates, show the image and the price right next to the "PRICE" text. the image name and the Price is being ...
Dynamic control creation.
sameer -
20 Mar 2006 4:47 PM - 9 messages
Hi All, Environment: ASP.Net , framework 1.1, VS2003. Database: Sql server 2000 I created a webcontrol( ascx) with all server side controls and the controsl are Submit button, Dropdown and a placeHolder in which dynamic CheckBoxes are created depending on the option the user has selected in the Dropdown. the ...
Any advantage to FormView?
David Thielen -
20 Mar 2006 4:01 PM - 6 messages
Hi; Is there any advantage to using FormView instead of just having 3 aspx files, one each for view, update, and insert? You basically end up with 3 seperate forms (templates) inside FormView so it seems to me it doesn't make ...
GridView, sorting, DataTable, and typing.
David Thielen -
19 Mar 2006 10:26 PM - 5 messages
Hi; If I want my GridView to support sorting it says I must return a DataTable instead of a collection. Doesn’t this mean that when I select a row it will then give that FormView a DataRow? This will make everything un-typed which I ...
Launch a new browser window
David Thielen -
19 Mar 2006 10:16 PM - 10 messages
Hi; From my code behind how do I launch a new browser window (ie keeping my existing page also so where before there was 1 copy of IE running, now there are two). Two scenarios. First scenario it's fire and forget. Once the second browser ...
enable/disable text box based on dropdownlist via javascript
David Thielen -
19 Mar 2006 10:08 PM - 4 messages
Hi; I think this is easy - but I haven't been able to figure out exactly what to do (my attempts have failed). When the value of a DropDownList changes, I want a javascript function to enable/disable a TextBox based on the new ...
post-back when the filename to upload changes
David Thielen -
19 Mar 2006 10:05 PM - 3 messages
Hi; Is there a way to do this? I want to get a post-back if the file to be uploaded changes. I am thinking if I have a javascript variable with the string in the filename text box. And then a javascript function is called ...
Creating N rows of controls
David Thielen -
19 Mar 2006 9:41 PM - 6 messages
Hi; When creating a new report, I need to have a table with 0 – N rows, one for each variable in a report. I don’t know how many of these there are until the user uploads the report template file so I can't prebuild N rows in the aspx ...
PostBack and dynamically created controls
Dan Kimhi -
19 Mar 2006 4:20 PM - 2 messages
How do I get a dynamically created control to survive a postback, as in the following code: Dim t1 As New TextBox If Not IsPostBack Then Panel2.Controls.Add(t1) End If Thanks for your help! Dan Kimhi ...
ObjectDataSource ... could not find a non-generic method ... that has parameters: ...
uri.goldstein -
19 Mar 2006 12:50 PM - 3 messages
Hello, My problem is in ASP.Net 2.0. I have a GridView that is bound to an ObjectDataSource. The ObjectDataSource works against a "business" class (referenced in a separate assembly) containing static methods for selecting, updating and deleting business objects. ...
|
|||||||||||||||||||||||