I have a custom paging control that I am using in my application.
The markup for the control is listed below. The problem I am having is that the slider doesn't always render the skin correctly. When it renders the only thing I see is a link with the word "Drag"; please see the attached image. I tried adding the reference to the top of the page to Get the WebResource for the skin but that didn't work. Any help would be greatly appreciated.
The markup for the control is listed below. The problem I am having is that the slider doesn't always render the skin correctly. When it renders the only thing I see is a link with the word "Drag"; please see the attached image. I tried adding the reference to the top of the page to Get the WebResource for the skin but that didn't work. Any help would be greatly appreciated.
<
asp:Panel
ID
=
"pagerContainer"
CssClass
=
"pagercontainer"
runat
=
"server"
>
<
table
border
=
"0"
width
=
"100%"
cellpadding
=
"2"
cellspacing
=
"2"
>
<
tr
>
<
td
valign
=
"middle"
width
=
"105px"
nowrap
=
"nowrap"
>
<
asp:Panel
ID
=
"LeftContainer"
runat
=
"server"
CssClass
=
"pagerCommand"
>
<
asp:ImageButton
AlternateText
=
"First Page"
CommandName
=
"First"
ID
=
"firstPageButton"
ImageAlign
=
"AbsMiddle"
ImageUrl
=
"~/Images/first.gif"
runat
=
"server"
ToolTip
=
"First Page"
/>
<
asp:ImageButton
AlternateText
=
"Previous Page"
CommandName
=
"Previous"
ID
=
"previousPageButton"
ImageAlign
=
"AbsMiddle"
ImageUrl
=
"~/Images/prev.gif"
runat
=
"server"
ToolTip
=
"Previous Page"
/>
</
asp:Panel
>
</
td
>
<
td
valign
=
"middle"
width
=
"175px"
>
<
asp:Panel
ID
=
"sliderPanel"
CssClass
=
"pagerCommand"
runat
=
"server"
>
<
telerik:RadSlider
ID
=
"slider"
runat
=
"server"
AnimationDuration
=
"0"
Orientation
=
"Horizontal"
EnableViewState
=
"true"
SmallChange
=
"1"
ShowDecreaseHandle
=
"false"
ShowIncreaseHandle
=
"false"
Width
=
"175px"
Skin
=
"Web20"
AutoPostBack
=
"true"
EnableEmbeddedSkins
=
"true"
>
</
telerik:RadSlider
>
</
asp:Panel
>
</
td
>
<
td
valign
=
"middle"
width
=
"105px"
>
<
asp:Panel
ID
=
"rightContainer"
runat
=
"server"
CssClass
=
"pagerCommand"
>
<
asp:ImageButton
AlternateText
=
"Next Page"
CommandName
=
"Next"
ID
=
"nextPageButton"
ImageAlign
=
"AbsMiddle"
ImageUrl
=
"~/Images/next.gif"
runat
=
"server"
ToolTip
=
"Next Page"
/>
<
asp:ImageButton
AlternateText
=
"Last Page"
CommandName
=
"Last"
ID
=
"lastPageButton"
ImageAlign
=
"AbsMiddle"
ImageUrl
=
"~/Images/last.gif"
runat
=
"server"
ToolTip
=
"Last Page"
/>
</
asp:Panel
>
</
td
>
<
td
align
=
"right"
>
<
asp:Label
ID
=
"positionLabel"
runat
=
"server"
CssClass
=
"pagerinfo"
/>
</
td
>
</
tr
>
</
table
>
<
asp:HiddenField
ID
=
"SliderHiddenField"
runat
=
"server"
/>
</
asp:Panel
>