Last post Feb 26, 2009 11:28 PM by email@example.com
Feb 22, 2007 08:29 PM|ruinedmind|LINK
I have created multiple albums and the paging doesn't seem to work...I would like to only have 6 albums and the rest on the next page.
Mar 11, 2007 06:06 AM|iaingwilson|LINK
I have had success doing this.
What you have to do is copy the <ItemTemplate>
content from the existing datalist then delete the datalist and create a gridview and then paste the code into that. In fact, i'm working on a realtor web site not only adding paging, but dynamic sorting based on a variety of dropdowns. For
your goal, try this---
<ItemTemplate> original photoalbum code listview here</ItemTemplate>
I can't remember if this was the page i had to jack with the sproc or not, it's late, that's all i got.
Mar 11, 2007 06:10 AM|iaingwilson|LINK
2. Delete the
3. Create a new
sorry, really tired...
Feb 26, 2009 11:28 PMfirstname.lastname@example.org|LINK
I get errors with this can you help with it..
I copied the content from my DataList and then deleted it.
I then added a GridView and posted this in the code
the first time i did it i did not have the <columns> tag and when i changed to the design view it gave me the following error
Error Creating Control-content 1
Type 'System.Web.UI.WebControls.'GridView'does not have a public property named 'Item Template'\
I then added the columns tag and it would not let me go to the design view and left the following error
never mind that error there was just an error i did something else I remove your code and configured my datasource
I ran my website to a browser and i was able to enter my site but when i went into the photo album of choice i got the following error
Line 16: Protected Sub FormView2_PageIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)
Line 17: DataList2.SelectedIndex = FormView2.PageIndex
Line 18: FormView1.ChangeMode(FormViewMode.ReadOnly)
Line 19: End Sub
now what do i do. keep in mind while configuring my data source it was showing me my photo when i hit test query in the configure data source section of the gridview section