Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score is the value passed via HiddenField to client-side always string?
André - 17 Jun 2006 3:20 PM - 3 messages
Hi, I want to pass a integer value to client-side via a hiddenfield created in the aspx (HiddenField1) dim myvalue as integer myvalue=5 HiddenField1=myvalue When fetching in Javascript, the value is of type string. var myvalue=document.getElementById("HiddenField5").value ...
Score can get forecolor but not background color in Javascript
Bob - 17 Jun 2006 8:59 AM - 5 messages
Hi, When clicked into any cell of the table, i want to get the background color of it. I can get the forecolor but not the bakground color (gives an empty Alert, no error). I think i can't change anything in the code-behind, so the error will be in ...
Score how to get the text in JS of a cell created on server?
Bob - 16 Jun 2006 3:36 PM - 6 messages
Hi, I have already posted a similar problem but it 's still a problem for me, so ... I define a table in aspx file and Javascript code. Purpose: when the user clicks on any cell of the table, the text of it must ...
Score questions about Controls.add
Bob - 16 Jun 2006 2:48 PM - 3 messages
Hi, In aspx file, i have a table: <asp:Table ID="table1" runat="server"> </asp:Table> In the code-behind, i create rows and cells: For i = 0 To 50 r = New TableRow() for j = 0 To 20 ...
Score HyperLink control vs. Firefox
Arthur Dent - 16 Jun 2006 2:20 PM - 2 messages
Hello all.... i am REally confused by something... I have a hyperlink control on my page, and for the NavigateUrl property, i have it set to "~/" in the property window (without the quotes). Now, in IE this works beautifully, and the hyperlink redirects you to the ...
Score ASP.Menu in IE6, cannot select menu item when...
mwr - 16 Jun 2006 1:46 PM - 3 messages
I can't seem to select a menu item, when there are more menus than can fit in the clientarea of the IE6. The menus below this area, where you have to scroll to reach, do not pop-out. but it seems to work fine in firefox. Is ...
Score FormView - set mode in aspx based on url param
David Thielen - 16 Jun 2006 3:08 AM - 3 messages
Hi; I would like my FormView to be in Edit/Insert mode depending on if there is a username=abc (not abc specifically, just that there is a username=) in the url. Or that my ObjectDataSource select finds something. If it's there, it's ...
Score FormView/Repeater/ Eval(FormView data)
David Thielen - 15 Jun 2006 11:21 PM - 3 messages
Hi; I have (lots of tags not shown):     <asp:FormView ID="EditUser" runat="server" DataSourceID="UserData" DataKeyNames="username"> works: <%# Eval("UserName") %> <asp:Repeater ID="mapRows" runat="server" DataSourceID="RoleData"> fails: <%# Eval("UserName") %> ...
Score multiple datagrids on same page paging broken
TJ - 15 Jun 2006 4:59 PM - 2 messages
When I place multiple datagrids on a page, the paging breaks - no matter which grid's page link I click, it always posts back to the last grid on the page. Probably due to all the function __doPostBack(eventTarget, eventArgument) ...
Score Retrieving Asp.treeview checked checkbox information
jeeji - 15 Jun 2006 12:59 PM - 3 messages
Hi I am creating a website that reads some data from a database and presents it in an asp:treeview control. The tree I create dynamically using c#, and for the leaf nodes I enable checkbox (TreeNode::ShowCheckBox = true) Now my problem is to retrieve the checked information from the tree ...
Score Uploading to a folder outside the www ... ?
Wayne Smith - 15 Jun 2006 8:19 AM - 2 messages
Applies to ASP.NET 1.1 I'm in the process of building a small web site for a club I belong to, one feature of the site which I would like to include is the ability to allow users to upload images for others on the site to view. ...
Score why does this not work?
Bob - 14 Jun 2006 5:14 PM - 3 messages
Hi, In the aspx file, i create a table: <asp:Table ID="table1" runat="server"> </asp:Table></p> In the code-behind, i defined a lot of cells with each an unique ID and some ...
Score Textbox and onTextChanged Event
Paul - 14 Jun 2006 12:41 PM - 2 messages
Hello: I create a textbox control programatically something like this: Dim td As New TableCell() Dim txtbox As New TextBox() txtbox.ID = "my_textbox" td.Controls.Add(txtbox) Now I want to programatically associate a "OnTextChanged" event to this textbox. How can I do this? ...
Score TreeView not expanding in some browsers
mfr - 14 Jun 2006 8:20 AM - 25 messages
Hi, I have a treeview control in my default.master linked to a web.sitemap file. On all of the client machines I have access to, the treeview works correctly but a small number of the website's users are complaining that they cannot ...
Score Concatenate field values
TJHerman - 13 Jun 2006 7:41 PM - 3 messages
I'm sure this is ridiculously simple, but I'm new to this. I'm trying to combine the values of three variables dimensioned as labels into a single label variable. My statement reads like this: sName = autoNum & " - " & projnum & " - " & lblPropTitle ...
Score Copy & paste with a command button?
Mr. Murad Jamal - 13 Jun 2006 3:09 PM - 3 messages
hi guys, I have a textbox & a button in an .aspx page, when I hit the button i want a selected text to be copied to the clipboard AND paste it into the last cursor position on the textbox BOTH AT ONCE, that means, copying & pasting the text must happen ...
Score Slider control
TZ - 12 Jun 2006 8:44 PM - 2 messages
Hello All I am looking for some sort of control like slider control to show the Percentage stuff.Please let me know ASAP ...
Score SQLDataSource binding to treeview control when using "FOR XML" on select
Stan Spotts - 12 Jun 2006 3:14 PM - 5 messages
One of our associates wants to pull data in from SQL Server 2000 using a "FOR XML" statement on his select that represents hierarchical data.  He thought it should be easy to bind a TreeView control to this using a ...
Score WebControl with CSS and Javascript
patrick.sannes - 12 Jun 2006 2:17 PM - 5 messages
Hi there, I'm creating a custom control with Javascript and CSS. It will be a nice overlay calendar with a result textbox. My main problem is that the Javascript is realy huge, so you want to include it in a seperate ...
Score sorting in a datagrid
Julia - 12 Jun 2006 6:34 AM - 4 messages
Hi, I am developing a composite control, so I am writing all my code in a *.cs file. One of the component in my composite control is a datagrid. The datagrid is populated from a dataview by using DataBind(). The user should be ...
Score Copying A Control Not As A Reference
Nathan Sokalski - 12 Jun 2006 3:59 AM - 5 messages
I have a Control that I want to copy as a copy of the Control, not a copy of the reference to the original. My reason for doing this is because some of the methods I would calling would prevent proper rendering afterwards. I ...
Score ReportViewer Full Trust Required?
DanL - 11 Jun 2006 10:57 PM - 2 messages
Microsoft recommends to Hosting sites that they configure for MEDIUM Trust. It appears that the ReportViewer control, that is its supporting libraries, require FULL trust. So: 1) DOES ReportViewer require Full Trust as my Hosting site insists. (Refuses to load it in addition because of this Full Trust requirement). ...
Score TimeOfDay control
David Thielen - 11 Jun 2006 10:40 PM - 3 messages
Hi; Anyone know of a good time of day control that will look good next to the Calendar control? I have to get both a date & time from a user (when to perform an action). ...
Score Control in template does not bubble events
Iain - 11 Jun 2006 10:10 AM - 2 messages
THis is more than likely something silly I'm doing. (ASP.NET 2.0 W2003) I've written a templated databound custom control which works.  Except. If I put a control (such as a LinkButton) in one of the templates, then no ...
Score back to calling page
Julia - 11 Jun 2006 9:46 AM - 8 messages
Hi I am developing a composite control, so I am writing all labels, button etc in code. In my composite control I have a button and when it is clicked I would like to go back to the calling page. This should be like using the back ...
Next »