Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Can't load user control with FormView in Atlas update panel

Reply
Thread Tools

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

 
 
staeri@gmail.com
Guest
Posts: n/a
 
      07-28-2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Atlas update panel simonZ ASP .Net 2 10-24-2006 12:22 PM
Atlas Update Panel stucked omer.mush@gmail.com ASP .Net 4 10-10-2006 08:36 AM
Atlas Update Panel: javascript sequence issue =?Utf-8?B?cm9kY2hhcg==?= ASP .Net 2 10-02-2006 07:30 PM
ATLAS update panel =?Utf-8?B?TmF0ZQ==?= ASP .Net 1 09-23-2006 06:17 PM
[ATLAS] Unknown error ON Update Panel + Repeater with LinkButton Henrique ASP .Net 1 09-12-2006 04:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57