Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score Datalist and LoadTemplate
Albert - 23 Apr 2005 11:59 PM - 5 messages
I have a main web page that allows a user to perform searches on our products. On this main web page I have a datalist that I would like to use for all types of searches and it's declares as follows: ...
Score Weird "defined in multiple places" error
Staffan Eketorp - 23 Apr 2005 8:24 PM - 3 messages
Ok...I get the "classical" error: CS1595: '_ASP.A_ascx' is defined in multiple places; using definition from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\2b5cf18c\86b61b77\isblapsv.dll' Ok...but what renders this error? ...
Score How do I set the value of a checkbox on my repeater control?
aaa - 22 Apr 2005 6:42 PM - 4 messages
Hi, I have a  repeater that is assign an object and cranks out a bunch of checkboxes. That part works fine. In the object I am also passing over the values to switch the checkboxes on and off. How do I do that after the fact? I have tried looping thu after the ...
Score Losing selectedIndex on Control inherted from ListBox during postback
chambersdon - 22 Apr 2005 1:24 PM - 2 messages
I have created a Web Custom Control that inherits from WebControls.ListBox but can't get it to retain the selectedIndex after a postback.  As a test I created a very simple version of the control with no additional code.  I just inherited from the exisiting ListBox ...
Score customizing and fixing web form window size ?
Saket Mundra - 22 Apr 2005 2:00 AM - 3 messages
I want to resize my web form. I want that whenever the form loads on client's machine it opens with a defualt size specified by me. Also it should not be possible for the user to change the dimensions of the form after it is loaded ...
Score Enabled / Disabled my control
David - 21 Apr 2005 7:04 PM - 2 messages
Hi, My Control (inherits from System.Web.UI.Control) has the Enabled property that enabled a button inside of my control. The problem is that in the page that has the control has a button ("Edit") to set the Enabled property to ...
Score textbox onfocus event
David Perez - 21 Apr 2005 4:40 PM - 2 messages
Hi all, We are working in an application that must have this textbox property: When a user click on a textbox, the textbox must throw a new aspx window with a Calendar control on it. When the user select the date this new window ...
Score Style tag access webcontrol
Shark Bait - 21 Apr 2005 4:40 PM - 2 messages
I created a new WebControl that can be dropped on a web form from the toolbox. I drop the control on the form and it looks great. When I drag it around, like say to the bottom of the page it goes to the bottom and adds a ...
Score DropDownList with default values
Oleg Ogurok - 21 Apr 2005 2:28 PM - 4 messages
Hi all, I'm trying to extend DropDownList ASP.NET control to list US states. What's the best place to override and fill the Items collection? I understand Items is of type ListItemCollection, which implements IStateManager; therefore I only need to populate the collection once. What's ...
Score Gridview OnPageIndexChanging not firing in beta 2
Ohio Mike - 21 Apr 2005 2:08 PM - 3 messages
I recently installed the Visual Studio Beta 2 environment and now my OnPageIndexChanging methods don't get called when a change page button is clicked on the GridView control.  It worked fine in Beta 1, but now it doesn't fire.   The change page buttons cause a postback, all of the controls ...
Score dynamic textbox empty string
thomas via DotNetMonster.com - 21 Apr 2005 7:39 AM - 2 messages
I create throug LinkButton several dynamic textboxes. I've got two methods two register the control, that the don't get lost on the postback! private void registerDynConrol(System.Web.UI.Control control) {   ArrayList dynCtlArray = (ArrayList) this.ViewState["dynCtlArray"]; ...
Score Protected Shadows With Events.
Tony Doyle - 21 Apr 2005 3:11 AM - 6 messages
Has anybody come across this before... Basically my issue is this. In ASP.NET I have a Class module, functions.vb This inherits from System.Web.UI.Page In order to use the controls function inside this class, I have used the ...
Score e.Item.Cells.Count in UpdateCommand event of Datagrid
VBTECH - 21 Apr 2005 12:54 AM - 2 messages
I have a datagrid in an ASp.net application. Only one column is created at design time, rest of the columns are created and added to grid on the fly. When I try to update values in datagrid through UpdateCommand event code ...
Score Can a User Control display a pdf or static html file?
mcrpds via DotNetMonster.com - 20 Apr 2005 10:55 PM - 2 messages
gurus, i want to have a static panel (no iframes please) display pure html such as an exported crystal report or a pdf file. is this possible? any suggestions or info would be appreciated. and thank you in advance! mcrpds ...
Score ASP.NET Book Recommendation
Amelyan - 20 Apr 2005 9:22 PM - 3 messages
Can anyone recommend a good intermediate to advanced ASP.NET book? ...
Score Binding Data to IE Treeview control
karthick - 20 Apr 2005 3:11 PM - 3 messages
Hi, When Binding Data to Treeview control, I don't get the Treeview displayed ?!. Instead, I get all the Data displayed on the page itself, rather than in the Treeview control. What am I doing wrong ?. Please help. Thanks. Karthick ...
Score How to filter two combos on grid clientside
aaa - 20 Apr 2005 12:42 PM - 4 messages
If I want to filter one combo existing on a my datagrid based on the selection of another client side how would I go about this? ...
Score How do I create an "event" to deal with textarea and DataGrid?
aaa - 20 Apr 2005 12:35 PM - 2 messages
I have a (bound) DataGrid that basically takes comment text from one of its columns and puts it in an HTML text box.  So when a user selects each row it fills the text area with that comment text. Seems simple enough I have that ...
Score Page.RegisterClientScriptBlock() is not working ..... :-(
Vipul Pathak - 20 Apr 2005 6:50 AM - 5 messages
Hi, I am writing a WebControl. With that I need to emit JavaScript code on the page. For that I am using "Page.RegisterClientScriptBlock" method inside the PreRender event. It is shocking to see that the the method takes the script ...
Score How do I access HTML controls from the code behind?
aaa - 19 Apr 2005 8:31 PM - 6 messages
I need to get a value out of a text area field. How do i reference this field in my code behind? ...
Score how to calculate time
yoshitha - 19 Apr 2005 2:02 PM - 2 messages
hi , am developing quiz application. the questions will be displayed one at a time after clicking next button only the next question will be displayed. for evry test the time to finish this test will be maintained in back end. ...
Score How Do I assign an ID to ListItem?
Amelyan - 19 Apr 2005 1:25 PM - 4 messages
How can I assign an ID to dynamically generation ListItem that I add to dynamically generated CheckBoxList or RadioButtonList?  I need to identify the specific ListItem later through Request.Form when user sends back data. ...
Score Color Picker Control
Ishaan - 19 Apr 2005 11:23 AM - 2 messages
Hi, Can anybody help me to create a usercontrol to pick Color for web form? --- Software engineer Petroleum Development Oman ...
Score Sorting problem in DataGrid
Sundararajan - 19 Apr 2005 5:18 AM - 2 messages
Dear Folks,         In a datagrid i am binding a dataset with autogenerate columns set to true in the datagrid. i am also adding a checkbox template column programmatically to the datagrid. in this scenario i could not sort the data ...
Score DataList ERROR URGENT
Chuck Yeager via DotNetMonster.com - 19 Apr 2005 4:44 AM - 3 messages
I am having a dickens of a time here. I have the following code in my code Behind: NameSpace.MyListDB aCounty = new NameSpace.MyListDB(); myDropDownList.DataSource = aCounty.MyList(somestring); myDropDownList.DataBind(); It calls this class and method which is a seperate class ...
Score Developing .NET Custom Web Control for use in ASP & ASP.NET pages
Srikar - 18 Apr 2005 10:03 PM - 2 messages
I am writing some .NET Custom Web Controls like menu bar. I want those controls to be used both in ASP & ASP.NET pages. Is it possible to write an Interop wrapper so that ASP applications can aswell use the .NET custom web ...
Score DataGrid Question - asp:Hyperlink
mgonzales3 - 18 Apr 2005 9:45 PM - 2 messages
I need to do the following in my DataGrid Have a hyperlink column - no problem Create two parameters - no problem Have the column execute a jscript with each of those params - problem. I thought i needed to use the ItemCreated event to bind the values there? ...
Score How do you populate the Dropdown in IE Web Controls?
Paul D. Fox - 18 Apr 2005 4:01 PM - 3 messages
How can I populate the Dropdown list box in the IE Web Controls (server side) ? ...
Score Creating a 3 State Rollover Button
thechaosengine - 18 Apr 2005 2:37 PM - 2 messages
Hi all, Can anyone tell me what I need to do to create a 3 stage rolloever button out of an asp.net image control. I don't know too much about javascript or creating user controls. I'm really ...
Score Open New Window Server Side
Jack - 18 Apr 2005 5:59 AM - 2 messages
Hi, How do I open a new window in a button click event (server-side)? I need to open it from this event because once the user has click the button, the event handler does some processing and creates a query ...
Next » 2 3 4 5