473,480 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Can't load user control with FormView in Atlas update panel

I have a simple aspx page containing a FormView which I have converted
to a ascx page but when I load this user control it's empty. If I load
demo user controls from msdn they show up so the problem is with the
user control.

I have the following code behind:

Imports System
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports NameOfWebService

Public Class MyCodeBehind
Inherits UserControl

Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs)
If (Not IsPostBack) Then
'Perform search
Dim s As New DataImport
Dim result As DataImportDsResult =
s.DataImportCompanyDs("xxx")

'Bind form view to dataset
fv1.DataSource = result.Fields
fv1.DataBind()
End If
End Sub

Is there anything wrong with it?

Regards,

S

Jul 28 '06 #1
0 875

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2010
by: Dabbler | last post by:
I have a FormView with lots of field that have validators attached but none of them are working. Most are RequiredFieldValidtors, some are Regex etc. here's some of my code: <asp:FormView...
2
2654
by: Alexander van Doormalen | last post by:
I have a MultiView control with 2 Views in it. In the first View I have a form which contains sereral input controls and a custom UserControl. In this custom UserControl I have a button which...
2
1781
by: A.Wussow | last post by:
Hi Everybody, i want to load dynamically content from some user controls (with forms, or some data-controls) using atlas. So i use an UpdatePanel for loading the user control into a placeholder....
0
1319
by: Remy | last post by:
Hello I've built my own ASP.NET 2.0 Web User Control that uses the Atlas Ajax UpdatePanel. This works fine so far. The problem is if I embed this control with other control on a page and now I...
1
2234
by: bill | last post by:
I have an update panel that contains a gridview. There are 2 triggers: one for a search button that is outside the panel and one for the gridview EditCommand Event. The search works fine, the...
0
284
by: Chris | last post by:
I have a formview within a user control bound to an objectdatasource. When my formview is in edit mode and I press update I get an error saying that the form must be in edit mode to do an update. I...
1
1344
by: Oriane | last post by:
Hi, I've written a Ajax enabled application with the Atlas .NET 1.0 extension and ASP.Net 2.0. I've put 2 UpdatePanels on a unique page with 1 timer on the second panel. This timer refresh a...
4
8377
hemantbasva
by: hemantbasva | last post by:
We have designed an aspx page having five ajax tab in it. the data of first four are designed on page whereas for the fifth tab it renders a user control named MYDOMAIN. in the tab container's even...
2
6921
by: pankajsingh5k | last post by:
Dear All, Please help me... I had read an article to lazy load a tab in a tabcontainer using an update panel on http://mattberseth.com/blog/2007/07/how_to_lazyload_tabpanels_with.html ...
0
7039
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
5326
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4770
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4476
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2992
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2977
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1296
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
176
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.