or
Hi ,
I have a image control inside the RadDock and Problem is image size is large , then Scrolling coming for RadDock. Is there any property to Autofit the image inside the RadDock. Please help
Thanks in Advance
Jesmon Joseph
<MasterTableView EditMode="EditForms" CommandItemDisplay="Top" InsertItemPageIndexAction="ShowItemOnCurrentPage">
[ClientScriptResource(
"MyControls.ImageControl"
,
"MyControls.ImageControl.js"
)]
public
class
ImageControl : Panel, IScriptControl
{
private
RadAsyncUpload AsyncUpload;
protected
override
void
OnInit(EventArgs e)
{
base
.OnInit(e);
AsyncUpload =
new
RadAsyncUpload();
AsyncUpload.OnClientAdded =
"Added"
;
}
}
Type.registerNamespace(
"MyControls"
);
MyControls.ImageControl =
function
() {
}
MyControls.ImageControl.prototype = {
Added:
function
(sender, args) {
alert(
'bla'
);
},
}
MyControls.ImageControl.registerClass('MyControls.ImageControl', System.Web.UI.WebControls.Panel)
<
div
id
=
"P5appfield017"
class
=
"appfield01"
>
<telerik:RadDatePicker
ID
=
"P5textfield4"
runat
=
"server"
Width
=
"150px"
Calendar-CssClass
=
"input_date"
DateInput-CssClass
=
"input_date"
CssClass
=
"input_date"
Culture
=
"es-CO"
MinDate
=
"01/01/1900"
MaxDate
=
"12/31/2100"
>
<
DateInput
ID
=
"DateInput1"
runat
=
"server"
Width
=
"150px"
DateFormat
=
"dd/MM/yyyy"
DisplayDateFormat
=
"dd/MM/yyyy"
ToolTip
=
"Seleccionar fecha en calendario"
></
DateInput
>
<
DatePopupButton
ImageUrl
=
"/Formulario/icons/calendar.png"
HoverImageUrl
=
"/Formulario/icons/calendar.png"
/>
</
telerik:RadDatePicker
>
<
asp:Label
ID
=
"P5lblP5textfield4"
class
=
"input01e"
runat
=
"server"
Text
=
"Ingrese Fecha de expedición"
ForeColor
=
"Red"
Visible
=
"false"
></
asp:Label
><
br
/>
<
br
/>
</
div
>