how to populate programmatically a dropdownlist in a template?
(1 messages)
Date: Sat, 28 Jul 2007 17:04:22 +0200
Hi,
i defined a dropdownlist in the EditTemplate of a gridview like this:
<asp:TemplateField HeaderText="min" SortExpression="min">
<EditItemTemplate>
<asp:DropDownList ID="DropDownList1" runat="server" SelectedValue='<%# ...
|
how to get the value of a field in a detailsview?
(1 messages)
Date: Sat, 28 Jul 2007 17:02:12 +0200
I need the value of a field of a detailsview in DataBound event.
i can find the fieldname with this:
Dim a As DataControlField
a = DetailsView1.Fields(0)
But how to get the value of that field?
i tried a lot of things ...
|
Help with Gridview and templatefield column
(2 messages)
Date: Sat, 28 Jul 2007 10:10:08 -0400
Hi
I have a gridview control that is showing 6 column. The first column is a
buttonfield, then there are three boundfield and two template field control.
I am creating all these column in the page load event and initializing ...
|
reorder columns in a gridview
(3 messages)
Date: Sat, 28 Jul 2007 07:34:57 -0600
How can I reorder the columns in a gridview. The gridview is autogenerated,
and in a windows application I can use gv.columns("Client').DisplayIndex=0
but in an asp page I get an errors that says DisplayIndex is not a member ...
|
Missing header text and values for templatecolumn
(4 messages)
Date: Sat, 28 Jul 2007 03:52:02 -0700
Hi,
I use a datagrid with asp:templatecolumn, and handles the datagrid's
ItemDataBound event, whereby I assign a value to this asp:templatecolumn text.
e.Item.Cells[1].Text = e.Item.Cells[2].Text + e.Item.Cells[3].Text;
/* ...
|
Viewstate and preserving data on postbacks
(3 messages)
Date: Sat, 28 Jul 2007 03:45:59 -0700
hi,
I just want simply to preserve some data in my usercontrol on postbacks.
so I added this property in my UserControl
Protected Property MyProperty() As String
Get
If Not ViewState("xxx") Is ...
|
UpdatePanels refresh other UpdatePanels when UpdateMode is 'Condit
(2 messages)
Date: Sat, 28 Jul 2007 01:46:01 -0700
Morning,
I've still got an issue with an AJAX enabled site.
I've a master page with two ContentPlaceholders. I've then got a default
aspx page which contains several user controls I've written. Each user
control ...
|
EventViewer using
(2 messages)
Date: Fri, 27 Jul 2007 23:50:01 -0700
i have 2 questions :
1)i tried to use this code :
Public Sub Write2EventViewer(ByVal errorMessage As String)
Dim strSource As String = "MyWebSite" 'name of the source
Dim strLogType As String = "Application" ...
|
Perfect Address Software with .NET
(1 messages)
Date: Fri, 27 Jul 2007 22:18:53 -0700
I'm hearing we need to integrate PerfectAddress by zipInfo into our
websites.
Looking at the website it makes no mention of support under vb.net, so
I suspect it's a com object DLL.
Anybody ever integrated this with ...
|
checkboxlist - determine checkbox that caused control to fire
(4 messages)
Date: Fri, 27 Jul 2007 20:09:49 -0500
Hi all,
I have a CheckBoxList control which has about 10 items. I have set
autopostback=true and also set an eventhandler for OnSelectedIndexChanged.
The problem is I want to identify which checkbox item caused the event ...
|
|
cookies don't work for pages with UpdatePanel
(3 messages)
Date: Fri, 27 Jul 2007 16:35:38 -0700
Is anyone finding that cookies added to the Response.Cookies collection
within pages which contain an UpdatePanel do not exist in the
Request.Cookies collection when the page is posted back ?
These should be complete ...
|
Programmatically changing text in a BoundColumn in a DataGrid?
(2 messages)
Date: Fri, 27 Jul 2007 19:12:04 -0400
I have a BoundColumn that displays a numeric value. I want to override the
number if it is zero and display a string instead. What's the easiest way
to do that?
Thanks in advance.
...
|
EventLogWebEventProvider
(3 messages)
Date: Fri, 27 Jul 2007 18:41:49 -0400
Hi,
Can I have EventLogWebEventProvider published event log entries as error
with red icon? (it publishes them as warning with yellow icons by default)
I also like EventLogWebEventProvider to publish entries to a separated ...
|
closing web page that initiated a download?
(2 messages)
Date: Fri, 27 Jul 2007 14:42:00 -0700
Two questions:
1. I have several asp.net pages that initiate a file download, via
Response.WriteFile(). This works fine, except that it leaves the original
page up. These pages are generally launched in new windows ...
|
cookies not persisting
(3 messages)
Date: Fri, 27 Jul 2007 14:06:25 -0700
I'm not finding cookies I create to persist. I don't see any corresponding
file in
C:\Documents and Settings\jgrandy\Local Settings\Temporary Internet Files
and the cookie is not present in the Request.Cookies collection ...
|
Custom Control Won't Fire
(1 messages)
Date: Fri, 27 Jul 2007 12:03:38 -0700
Hi,
I've created a simple calendar control for use in my company's site.
The control works fine in the test page I wrote it against, but when I
drop it into the page I want it on, it won't fire any events inside the ...
|
Best practices for validating business rules
(3 messages)
Date: Fri, 27 Jul 2007 11:03:01 -0700
Hi,
I'd like to know if anyone knows of any resources detailing the best
practices of validating rules in the business tier and providing
helpful error messages to users in the UI tier. All the information I
have come ...
|
How to make entire navigation menu item selectable
(2 messages)
Date: Fri, 27 Jul 2007 10:26:24 -0700
Hi,
I used a template for my first Web application. I made a few changes
to the layer thru its css file. The problem that has been vexing me
is the vertical spacing for each navigation menu item. If I do not
set the ...
|
Line spacing for ListItems
(2 messages)
Date: Fri, 27 Jul 2007 13:17:55 -0400
I have a BulletedList in my ASP.NET application, and I want the ListItems to
have 1 blank line between them. However, Visual Studio will not let me nest
tags in the ListItems, and the ListItem does not seem to support the ...
|
VS 2003 IDE hangs when viewing APS.net DataGrid in design mode
(1 messages)
Date: Fri, 27 Jul 2007 17:03:34 -0000
Hi,
I have many pages with datagrid. But, when I am viewing a few pages
in design mode, the IDE starts expanding the datagrid by itself and
hangs subsequently. Can anyone help me with this?
Thanks
snt
...
|