Hi,
I'm using rad rotator ,I put latest top 10 images in rotator by getting their names from database where images are stored in a folder.
here is code for above procedure
Now , when a user click on rotating image then it should redirect to new page where some details of that image are displayed.
Please tell me that "on clicking a rotating item it should redirect to new page along by passing image name as id and by using that id, I Can retrieve the details belonging to id from database".
Tell me how to pass an id on item click from that page to other page.
For this i don't know what to use please guide me.
Help me out of this.
I'm using rad rotator ,I put latest top 10 images in rotator by getting their names from database where images are stored in a folder.
here is code for above procedure
<
telerik:RadRotator
ID
=
"RadRotator1"
runat
=
"server"
Height
=
"120px"
Width
=
"680px"
ScrollDuration
=
"500"
ScrollDirection
=
"Right"
FrameDuration
=
"1500"
ItemWidth
=
"120px"
ItemHeight
=
"100px"
RotatorType
=
"AutomaticAdvance"
DataSourceID
=
"SqlDataSource1"
>
<
ItemTemplate
>
<
asp:Image
ID
=
"image1"
runat
=
"server"
CssClass
=
"image"
ImageAlign
=
"left"
Visible
=
"true"
ImageUrl='<%# String.Format("~/upload data/movies/{0}", DataBinder.Eval(Container.DataItem, "imagename")) %>' />
</
ItemTemplate
>
</
telerik:RadRotator
>
<
asp:SqlDataSource
ID
=
"SqlDataSource1"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:cinema mistakesConnectionString %>"
SelectCommand="SELECT TOP 10 [imagename] FROM [movie] ORDER BY [mid] DESC"></
asp:SqlDataSource
>
Now , when a user click on rotating image then it should redirect to new page where some details of that image are displayed.
Please tell me that "on clicking a rotating item it should redirect to new page along by passing image name as id and by using that id, I Can retrieve the details belonging to id from database".
Tell me how to pass an id on item click from that page to other page.
For this i don't know what to use please guide me.
Help me out of this.