all groups > asp.net webcontrols > june 2004 > threads for june 8 - 14, 2004
Filter by week: 1 2 3 4 5
ASPX standard validator works in IE 6.0, but not in Mozilla 1.4. Why ?
Posted by peshrad at 6/14/2004 5:35:14 PM
I'm using Windows 2K, Microsoft Internet Explorer 6.0, .NET 1.1, Visual
Studio .NET.
In my ASPX Web app I use standard validators like RequiredFieldValidator.
The validators work just fine for IE 6.0.
For some reason which I do not understand,
these validators do not work in Mozilla 1.4 nor... more >>
Text box data binding
Posted by FredBloggs012 at 6/14/2004 3:55:01 PM
If I code a textbox text property to be data bound eg
Text='<%# DataBinder.Eval(DataSet11, "Tables[COMPANY].DefaultView.[0].Name") %>'
will the data entered into the textbox update the bound dataset? If so, when in the page processing cycle will it be updated?... more >>
Wiring an ASP.Net event handler
Posted by Randall Sexton at 6/14/2004 2:00:34 PM
Hello:
I'm trying to add a series of ASP.Net buttons to a web page - programmatically. That part if working correctly, but the hooking the handler isn't working.
'***************************** EXAMPLE CODE ******************************
Dim newButton As New System.Web.UI.WebControls.But... more >>
Can't get subroutine/helper function to work in Datalist control
Posted by springb2k NO[at]SPAM yahoo.com at 6/14/2004 10:22:08 AM
I'm using a subroutine/helper function display an image (the image
would be displayed inside a datalist control's <itemtemplate> )
<script language="VB" runat="server">
Public Sub checkforimg(ByVal Imagesubprod1 As String)
If Imagesubprod1 <> "" then
response.write(Imagesubprod1)
Else
respo... more >>
IE Web Controls not rendering
Posted by Harley at 6/14/2004 1:13:35 AM
I have problems with the IE web controls, those not supported by MS, that
include TreeView, ToolBar, TabStrip and PageView.
I prepared the build from the distribution package (MS doesnt provide a
ready to run dll, you must compile your own) and everything worked in the
development server. after ... more >>
Cannot get radioButtonList selection
Posted by VR at 6/13/2004 3:09:33 PM
Hi, I'm developing a Web User Control and I put a RadioButtonList control
bound to a data source, set it's .dataSource, .dataTextField and
..dataValueField properties and when looking in IE's view source everything
is Ok (the control's and list's values) but when I submit it to the server
(I set... more >>
Link Buttons on the fly
Posted by Matt MacDonald at 6/12/2004 4:02:53 PM
Hi everyone,
I'm have a table in my aspx page that has 1 row which will contain 0 or
more cells. Each cell will contain a link button. My code is something
like this:
Dim lb As New System.Web.UI.WebControls.LinkButton
lb.Text = row("filename")
lb.CommandName = "GetAttachment"
lb.Com... more >>
Data Bound Controls
Posted by Karen A Hodge at 6/12/2004 4:09:17 AM
I have a RadioButtonList on my form. There are only two items in the
collection, "No" = 0, and "Yes" = 1. I have the SelectedIndex property bound
to a SQL Server table which has a column of datatype, bit. The default value
is zero for that column. I expect that after the databinding occurs, any
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Windows Control in Web Form Posting Back
Posted by localhost at 6/11/2004 6:09:37 PM
I have a Windows Control hosted in an ASP.NET web page. I am using
cookieless sessions, so the session token ID is visible in the URI
address space of the browser.
On a button click in the Windows Control, I want to post information
back to the hosting ASP.NET page. Is that possible? If it... more >>
Loading a ASCX Control on the page and gertting a reference to it
Posted by pandiani69 NO[at]SPAM hotmail.com at 6/11/2004 4:27:02 PM
Hi there,
I am loading at RunTime a MENU.ascx control on the page and since I
need to update the URL paths, depending on the page that is making the
call, I need to get a reference to the MENU and reset the URL.
CODE:
======================================
// Get a refence of the control
... more >>
Align Label Text Right
Posted by Lee Trotter at 6/11/2004 4:04:14 PM
Hi All,
I have a number of labels on my form. I would like the text in the label to
be aligned or justified right? I can't find a property to do this. Can it
be done?
Thanks
Lee
... more >>
Help with UserControl in Code Behind
Posted by GVaught at 6/11/2004 12:32:12 AM
PatrioticsignI have an aspx page that references a user-control called =
connect-strings.ascx. This user control uses connections to various =
databases. Below is the part I am using.
'declared at the top
<%@Control Language=3D"VB" %> ' declare user control
Public ReadOnly Property SQLConne... more >>
DataList row text
Posted by Colin Basterfield at 6/10/2004 6:22:17 PM
Hi,
I have a datalist which has a complete list of possible names and a check
box declared in the ItemTemplate. I get the name using the standard
mechanism:
Convert.ToString(DataBinder.Eval(Container.DataItem,"RevenueName"))
At the time of populating the grid I don't care whether the chc... more >>
Maxlength property NOT working for a multiline textbox in an UserControl
Posted by Sujith at 6/10/2004 5:04:58 PM
Hi...
I have an aspx file which has usercontrols included in it
The structure is something like this .
A UserControl OrderEntrryDetails.ascx has a textbox with multiline property and maxlenghth set to 255
The OrderEntrryDetails.ascx is embedded into another usercontrol named CheckOutControl.as... more >>
Validating Controls
Posted by Karen A Hodge at 6/10/2004 3:46:37 PM
I have form that has many textboxes. I need to insure that some textboxes
contain "dates" and others contain "numbers". I know that with the regular
expression validators I can accomplish this. My issue is that I have to have
a validator for each textbox (too much work). There has got to be an ea... more >>
Problems with TreeView Display.
Posted by Rob Edwards at 6/10/2004 1:56:14 PM
When I run the Default website: http://servername/GMS/page.aspx
The treeview control renders properly.
When I create a new website (with a host header) at
http://gms.domainname.com/page.aspx
The treeview control does not render the + or - necessary to display
correctly.
I've installed t... more >>
Panel Position
Posted by Thom Little at 6/10/2004 1:35:12 PM
Using the Visual Studio .NET 2003 designer there does not seem to be any
method for controlling the placement of a panel on a form.
Are you expected to embed the panel in a table in order to control its
placement on the form or is there something blatantly obvious that I am
overlooking?
The... more >>
Consume php webservice in dotnet environment
Posted by Paul Hermans at 6/10/2004 12:22:07 PM
Hello,
Are there code samples, technical information to consume a php webservice in
a dotnet environment like asp.net?
Thx in advance,
Paul
... more >>
datagrid n' server-side jscript
Posted by mr onion at 6/10/2004 12:19:29 PM
I have a javascript i generate on the server-side. And i
have a datagrid that shows only when i have results.
Within those results i want to insert this javascript.
Currently, the datagrid binds my dataObject in a custom
sub. But I don't think this is going to work.
any ideas gang?
... more >>
Add a multiline tooltip on a web control.
Posted by Thomasa Gregg at 6/10/2004 11:09:56 AM
I need to add two pieces of data to a tooltip and I am not sure on how to go
about it. Any help would be appreciated.
Example
tooltip="Subject: Oceans" + linefeed????? + "Class: Fish"
Thanks
... more >>
sql and excel
Posted by shiney agarwal via .NET 247 at 6/10/2004 4:02:53 AM
(Type your message here)
hello=2E
can we insert data in sql as well as in excel=
simulatenously=2Ebasically i want to use excel to draw charts so i=
want my data from sql to move into excel and display the graph=2Ei=
m using vb=2Enet=2Ekindly help as soon as possible as my project=
present... more >>
RegularExpession Validator
Posted by bellus02 NO[at]SPAM hotmail.com at 6/9/2004 5:09:36 PM
Oh great Regular Expression gurus - I summon thee...
I know this is probably about as trivial as it gets for someone with
regular expression experience, but I don't. I was wondering if
someone would be able to create a regular expression (for validating
user passwords) that matches the follow... more >>
Saving Scroll Bar State ASPX DataGrid
Posted by Alan Robbins via .NET 247 at 6/9/2004 2:07:23 PM
I have a page that automatically posts itself back on a user=
defined interval=2E This page is flow layout with traditional=
tables and percentage width(s)/height(s)=2E
In a td is a div with an asp:datagrid with overflow auto to get a=
scroll bar=2E The problem is when the page refreshes ... more >>
accessing dynamically created controls
Posted by Sandra Castellanos at 6/9/2004 11:42:13 AM
Hi,
I have an <asp:table> inside an aspx page, and in the code I am adding
several rows, cells and controls such as listboxes and radiobuttons to it.
When I load the page, I see all the controls that have been created, but
when I submit it, the table is empty again. What do I have to do to acc... more >>
System.Web.UI.WebControls.HyperLink
Posted by Sal at 6/9/2004 10:28:41 AM
Hello All,
In using a Hyperlink web control, by specifying the target to be '_blank',
NavigateURL property will open the link in a new page. Is there a way to
specify the dimensions on the new browser window in code? I am using VB.NET.
I'd appreciate any help.
Sal
... more >>
Datagrid Paging Event Doesn't Fire
Posted by Ravik.Tupja NO[at]SPAM ocipep.gc.ca at 6/9/2004 8:41:14 AM
Hello,
I have been using a datagrid to page through the results of a query.
Coding standards prevent me from setting the properties of the
datagrid and binding data to the datagrid in the Page_Load method. I
instead create and bind data to the datagrid in other methods (such as
the getData ... more >>
button images in the buttoncolumn of a datagrid
Posted by stuart at 6/9/2004 6:26:02 AM
Hi again
Hope you can help..
Is there a way to assign an image on the buttons of the buttoncolumn in a datagrid
Cheers... more >>
Converting bit false to string No in Datagrid column
Posted by stuart at 6/9/2004 6:26:02 AM
Hi there
I have a dataset bound to a datagrid and the dataset/datagrid has a column bound to a bit field in a sql server database
The problem I'm having is the datagrid is displaying 'True' and 'False', where I want it to display 'Yes' and 'No'. How can I do this?
If this is not possible, how do... more >>
conditional loading of ascx controls.
Posted by sameerpande at 6/8/2004 11:16:02 PM
Hello friends
I have 5 ascx controls on a aspx page, and i have to show one control at a time. These all controls are dyanamic and user can traverse from one control to other by some conditions ,but right now my controls gets loaded whenever i come to this page,i want to restict that and want to ... more >>
How do I know which tab is selected in IE Tabstrip Control
Posted by ravi bommineni via .NET 247 at 6/8/2004 10:21:49 PM
Hi
How do I know which tab is selected in IE Tabstrip Control on the client(JavaScript)?
i did like this.
document.all['tabstripname'].GetTab()
this is returning object. but i need to know which tab is selected. please help me?
--------------------------------
From: ravi bommineni... more >>
How to pass parameters to a user control
Posted by Jill Graham at 6/8/2004 4:22:17 PM
Hi folks,
I'm calling some custom made user controls from within my .aspx web page
using
newControl = Page.LoadControl("myControl.ascx")
Page.Controls.Add(newControl)
My control has two properties: "pageId" and "Title".
How can we pass these parameters to the control from within the main... more >>
Problems with Webform textbox
Posted by Jeffery J. Morgan at 6/8/2004 9:47:55 AM
If anyone has an idea about this, I am open to suggestions....
I have a webform that has a textbox. I set it's text property in the page
load area to data that is in the a dataset, but not bound to the text box. I
use a data row, get the value and then set the text property to the value
of th... more >>
How can you determine the height of a checkboxlist at runtime?
Posted by szako NO[at]SPAM comcast.net at 6/8/2004 9:18:10 AM
I have a scenario where I need to position a submit button below a
dynamically filled checkboxlist with an unknown number of records
(check boxes). In order to pull this off (using absolute positioning),
I need to be able to determine the height of the checkboxlist at
runtime after I bind it to ... more >>
Dynamic Template Column Sorting in DataGrid control
Posted by vishal.makhija NO[at]SPAM citigroup.com at 6/8/2004 2:11:42 AM
Hi,
am facing a problem while using ASP.NET Datagrid Template Columns
generated dynamically.
Scenario:
-------------
1) I have a custom datagrid control class (inheriting from
System.Web.UI.WebControls.DataGrid).
In the constructor of this class i dynamically register the
OnSortCommand... more >>
|