Click here to Skip to main content
15,435,077 members

Comments by Tipton Tyler (Top 10 by date)

Tipton Tyler 3-Oct-16 17:51pm View     CRLF
I'm not quite sure where I need to add "Item". However, here are some things I tried after adding a NavigateUrl tag to the "BulletedList" 1) NavigateUrl='%# "ViewDetails?SongId=" + Songs.Id.ToString()%' // Songs does not exist in current context. mySong.Id.ToString() //mySong does not exist in current context. Song.Id // An object reeference is required for the non-statid field, method or property 'Song.Id.Get' Song.Id // An object reeference is required for the non-statid field, method or property 'Song.Id.Get' Value% // The name Value does not exist in current context. (I thought this might get the value from the "BulletedList" "DataValueField" but obviously it didn't) I had little luck using a second NavigateUrl='%# "ViewDetails?SongId=" + Eval("Id")%' // System.Web.HttpException: DataBinding: does not contain a property with the name 'Id'. Eval("mySong.Id")%' // System.Web.HttpException: DataBinding: does not contain a property with the name 'mySong'. Eval("Song.Id")%> // System.Web.HttpException: DataBinding: does not contain a property with the name 'Song'. I'm beginning to believe I need a whole new approach but I don't really know where to start. It can't really be that hard to programatically stick a value into a "NavigateUrl". [NB: I had to remove all the tags because the text editor seems to interpret them as end markers.]
Tipton Tyler 3-Oct-16 17:44pm View    
Deleted
I'm not quite sure where I need to add "Item". However, here are some things I tried after adding a NavigateUrl tag to the "BulletedList"
Tipton Tyler 3-Oct-16 17:43pm View    
Deleted
I'm not quite sure where I need to add "Item". However, here are some things I tried after adding a
Tipton Tyler 3-Oct-16 17:42pm View    
Deleted
I'm not quite sure where I need to add "Item". However, here are some things I tried after adding a
Tipton Tyler 3-Oct-16 17:40pm View     CRLF
Deleted
Eval("Song.Id")%> // System.Web.HttpException: DataBinding: does not contain a property with the name 'Song'. I'm not quite sure where I need to add "Item". However, here are some things I tried after adding a