Hi Admin,
I have a problem when i want to click each item of images( Image, Tillte Image) on Image Gallery. It will be show the ortherpage, content infomations of Detail Images.
this is my code!
<telerik:RadImageGallery runat="server" ID="RadImageGallery_Hotnews" Height="350px" Width="600px"
DataImageField="NewsImage" DataTitleField="Title" DataDescriptionField="ShortDesc" DataKeyNames="NewsId" RenderMode="Auto" OnNeedDataSource="RadImageGallery_Hotnews_NeedDataSource" Skin="Metro" LoopItems="True">
<ThumbnailsAreaSettings ScrollOrientation="Horizontal" />
<ToolbarSettings ShowSlideshowButton="true" ShowItemsCounter="true" ItemsCounterFormat="Images {0} of {1}"/>
<ThumbnailsAreaSettings ThumbnailWidth="120px" ThumbnailHeight="80px" Height="80px" />
<ImageAreaSettings Height="300px" />
<ClientSettings>
<AnimationSettings SlideshowSlideDuration="4000">
</AnimationSettings>
</ClientSettings>
</telerik:RadImageGallery>
---------------------
Datasoure
---------
protected void RadImageGallery_Hotnews_NeedDataSource(object sender, ImageGalleryNeedDataSourceEventArgs e)
{
DataView dw = new DataView( GetData_HotNews());
RadImageGallery_Hotnews.DataSource = dw;
}
------------
Can you show me which method to solve this problem?
Thanks!
I have a problem when i want to click each item of images( Image, Tillte Image) on Image Gallery. It will be show the ortherpage, content infomations of Detail Images.
this is my code!
<telerik:RadImageGallery runat="server" ID="RadImageGallery_Hotnews" Height="350px" Width="600px"
DataImageField="NewsImage" DataTitleField="Title" DataDescriptionField="ShortDesc" DataKeyNames="NewsId" RenderMode="Auto" OnNeedDataSource="RadImageGallery_Hotnews_NeedDataSource" Skin="Metro" LoopItems="True">
<ThumbnailsAreaSettings ScrollOrientation="Horizontal" />
<ToolbarSettings ShowSlideshowButton="true" ShowItemsCounter="true" ItemsCounterFormat="Images {0} of {1}"/>
<ThumbnailsAreaSettings ThumbnailWidth="120px" ThumbnailHeight="80px" Height="80px" />
<ImageAreaSettings Height="300px" />
<ClientSettings>
<AnimationSettings SlideshowSlideDuration="4000">
</AnimationSettings>
</ClientSettings>
</telerik:RadImageGallery>
---------------------
Datasoure
---------
protected void RadImageGallery_Hotnews_NeedDataSource(object sender, ImageGalleryNeedDataSourceEventArgs e)
{
DataView dw = new DataView( GetData_HotNews());
RadImageGallery_Hotnews.DataSource = dw;
}
------------
Can you show me which method to solve this problem?
Thanks!