Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Imbedded Datalist in DBauer Hierargrid Control.

Status
Not open for further replies.

ISPrincess

Programmer
Feb 22, 2002
318
US
I have successfully implemented Denis Bauer's Hierargrid for imbedding a datagrid within a datagrid it works great.

My new problem is that I must imbed a datalist as the child control inside the Hierargrid now in order to use it's Horizontal Repeater.

I can not seem to cast the datagrid item into a datalist item and have extremely limited experience with datalist's.

Here is the code in the child template that errors:
Dim dli As DataListItem = CType(Me.BindingContainer, DataListItem) (me.bindingcontainer is datagrid)

Can anyone either help me cast a datagrid item to a datalist item type or has anyone had experience imbedding a datalist inside Hierargrid?

Thanks

PH
I was walking home one night and a guy hammering on a roof called me a paranoid little weirdo.
In morse code.
-Emo Phillips
 
Please disregard the question. I have realized that I was WAY overthinking this and that the bindingContainer does not need to be converted at all.

Thanks

PH
I was walking home one night and a guy hammering on a roof called me a paranoid little weirdo.
In morse code.
-Emo Phillips
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top