Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score How to put an image in a GridView
Parrot - 8 Jul 2006 10:44 PM - 3 messages
I cannot get an image to display in a column of my GridView control.  I build the fields at run time and create a table containing my data and then bind it to the Gridview.  My cod e is shown below: ...
Score textfield not recognized in gridview
Dave - 8 Jul 2006 8:33 PM - 4 messages
Hi, The gridview contains 7 fields (i can see them with data on screen). The last is a checkbox and the first six are textfields. I did this: (just a sample code: without the line"a=e.Row.Cells(0).Controls(0)", it works , but with that line, i get the ...
Score Datagrids and User Controls
Nicolaj - 8 Jul 2006 8:07 AM - 2 messages
I have a datagrid in a user control with specific properties of the datagrid exposed which I have used in many different aspx pages. I also have the itemdatabound event handled in the user control. I now need to change the OnItemDataBound event of the grid  for a ...
Score How do I use multiple siteMaps?
Tom - 8 Jul 2006 5:26 AM - 2 messages
Please forgive me if I have posted to the wrong group.  I have been reading for two days now and everything points to the direction that I can do it but I can't get any code to work.  I an new to .NET so please forgive my ...
Score Max Number of Web Controls Per Page???
ChrisFrohlich - 7 Jul 2006 3:26 PM - 5 messages
I am in the early stages of an ASP.NET project and my Architect is proposing a form that would have as many as 1200 (twelve-hundred!) textboxes on a single page.  Aside from the usability concerns, I'm trying to identify other ...
Score Dropdown List doesn't know what's in it's list
Bryan Stauffer - 6 Jul 2006 8:40 PM - 7 messages
I've got a web form with two dropdown list controls.  The first one is configured to "AutoPostBack" so that the second one can be loaded according to whatever has been selected in the first.  This would be nice to with an ...
Score Datagrid Control in VS2005
rgelfand2 - 6 Jul 2006 7:21 PM - 2 messages
My goal is to apply data entered in multiple text boxes as parameters for sqldatasource filter bound to a datagrid control I have created an asp .net web page.   To the page I added datagrid control.   The datagrid control getting it's data from sqldatasource. ...
Score GridView columns don't respect width or wrap properties!
Dan English - 6 Jul 2006 4:52 PM - 2 messages
I have a GridView control with manually added bound columns.  I have specified ItemStyle.Width=125px and ItemStyle.Wrap=false for several columns.  It doesn't seem to respect either of these properties, there is no effect at all.  What can I do to make them work? ...
Score Custom Templated CompositeControl/CompositeControlDesigner
Andrew Clancy - 5 Jul 2006 9:12 PM - 2 messages
Hi, Myself and a colleague are attempting to mimic the custom template functionality of the ASP.Net 2 Login control. Essentially, we would like to have the ability within our CompositeControl/CompositeControlDesigner to have and Action or Verb in the control's smart tag titled 'Convert to ...
Score ObjectDataSource ControlParameters
jeremy.brewster - 5 Jul 2006 2:39 PM - 4 messages
Hello I have an ObjectDataSource object on a webform, and the ObjectDataSource object includes a series of asp:ControlParameter object as SelectParameters.  Some of these ControlParameter object refer to drop-down lists and some refer to asp:TextBoxes. My problem is that to be able to use an existing business layer object, ...
Score dropdown list post back not working
rak - 5 Jul 2006 1:27 PM - 5 messages
I have a drop downlist, with AutoPostBack set to true. <asp:DropDownList ID="ddlSettlementMethod" runat="server" DataSource="<% #SettlementMethods%>" DataTextField="Code" DataValueField="Code" AutoPostBack="true" style="width : 100%;" OnSelectedIndexChanged="ddlSettlementMethod_SelectedIndexChanged" /> I also assign an onChange javascript handler as follows. ...
Score Problem with ASP.NET wizard hiding / removing steps
tienleok - 5 Jul 2006 2:59 AM - 2 messages
Hi, When using the ASP.NET 2.0 Wizard control, I would like to hide Step 2 when the TextBox in Step 1 has a value of 1. The code below allows me to do that, but after removing Step 2, TextBox values in later steps no longer persist. (EnableViewState has no effect.) ...
Score WebControl and JavaScript
Mike - 5 Jul 2006 2:39 AM - 2 messages
Hi, I created a webControl that overrides the "Render" method that contains a pretty long javascript, which is finally rendered as follows:   this.Page.RegisterStartupScript("Load" + this.ClientID, script.ToString()); I would like to re-use this control in various other projects, but also ...
Score problem with hidden field from a custom control in a form
ThunderMusic - 4 Jul 2006 7:39 PM - 4 messages
Hi, I have a custom control that draws many thing on the screen including a hidden field. This hidden field's value is modified through client code. What I want to do is the following : When there is a postback of the page, I ...
Score Getting value from Pervious Page.
TARUN - 4 Jul 2006 2:34 PM - 2 messages
Hello All I am getting stuck in one Problem. I am Using C# I have a one page called "Search.aspx" which include some TextBox, DropDownList, ListBox. On the Submission of the page, it navigate to "Searchresult.aspx" Now I want to get the Value of the TextBox, DropDownList, ListBox in ...
Score WebControl to consume and display Web Service
George Leithead - 4 Jul 2006 10:10 AM - 2 messages
Hi, Can I ask all you for a bit of advice? I need to create a Web Control component that consumes a WebService and displays the results as the control.  I can get the Web service results, but dont know how to get the control to display the results of ...
Score Treeview SelectedNodeStyle Problem
Sunny - 3 Jul 2006 6:22 PM - 4 messages
Hi, In my application, I use treeview inside a frame so when a tree node is clicked, it will direct to the main content only. I have set the selectednodeStyle with BackColor="Yellow", but when I selected the first node and then sleect another the back color is still yellow for ...
Score Problem with spaces in values of the DataTextField property of datagrid control
chorus_charms - 3 Jul 2006 4:28 PM - 2 messages
Hi, I am using a datagrid control to display the values from a database table. I have used a Button Column with the DataTextField Column set to the field in the db table, from where I need to populate values. It is ...
Score Can't access webpage's controls from the code-behind file after putting it in a <asp:LoginView/>
Jack - 3 Jul 2006 12:11 PM - 2 messages
Hello, After I moved my Checkbox control 'inside' a <asp:LoginView />, my code-behind file isn't compiling saying that: "The name 'MyCheckbox' does not not exist in the current context." Basically, when the 'administrator', and only the administrator, logs into ...
Score Passing values to user controls - naughty problem
Dave E - 2 Jul 2006 2:09 PM - 4 messages
Hi all, right now I feel pretty dumb - even dumber than I look.  I have read endless web articles on this, including the excellent site by Steve Orr ([link]) on this very issue, ...
Next » 2 3 4 5 6 7 8 9 10