Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > IE Multipage and TabStrip Help...

Reply
Thread Tools

IE Multipage and TabStrip Help...

 
 
Kiran B.
Guest
Posts: n/a
 
      12-15-2004
Hi, I have managed to popluate a datagrid in multipage pageview control. My
problem is I need to use ItemDatabound Event and it's not working or should
i say, i don't know how it works with the datagrid that is associated with
pageview.

My code looks like...


Private Sub BindGrid(ByVal custMode As String, _

ByVal ds As DataSet)

Dim dview As DataView

Dim dg As DataGrid = New DataGrid()

Dim lbl As Label

dview = CreateDataSet(custMode, ds)

If Not dview Is Nothing Then

If custMode = "N" Then

'With dgdNewCustomers

' .DataSource = dview

' .DataBind()

'End With

lbl = myReturnMultiPage.FindControl("lblNew")

dg = myReturnMultiPage.FindControl("dgdMyNewOrders")

dg.DataSource = dview

dg.DataBind()

lbl.Text = "Return Orders " & dview.Count

'lblTotalNewOrders.Text = "New Orders " & dview.Count

Else

'With dgdReturnCustomers

''.DataSource = dview

'.DataBind()

'End With

lbl = myReturnMultiPage.FindControl("lblReturn")

dg = myReturnMultiPage.FindControl("dgdMyReturnOrders")

dg.DataSource = dview

dg.DataBind()

lbl.Text = "Return Orders " & dview.Count

'lblTotalReturnOrders.Text = "Return Orders " & dview.Count

End If

dview.Dispose()

End If

End Sub



Thanks


 
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
Print Preview PROBLEM for TabStrip and MultiPage controls. =?Utf-8?B?Sm9obg==?= ASP .Net 0 04-12-2005 07:27 PM
Tabstrip and position and formatting multipage pageview gce ASP .Net 0 03-30-2005 08:52 AM
RE: IE Web Controls: TabStrip and MultiPage and borders... =?Utf-8?B?UGF0cmljay5PLklnZQ==?= ASP .Net 0 11-11-2004 01:21 AM
MultiPage Expert Please (Dynamic MultiPage controls) Russ ASP .Net Web Controls 8 07-01-2004 08:57 PM
Using MS's IE MultiPage and TabStrip on public websites Stephen Miller ASP .Net 2 02-29-2004 09:13 AM



Advertisments